.nh .TH "singularity" "1" "Feb 2022" "Auto generated by spf13/cobra" "" .SH NAME .PP singularity-sif-add - Add data object .SH SYNOPSIS .PP \fBsingularity sif add [flags]\fP .SH DESCRIPTION .PP Add a data object to a SIF image. .SH OPTIONS .PP \fB--alignment\fP=0 set alignment constraint [default: aligned on page size] .PP \fB--datatype\fP=0 the type of data to add [NEEDED, no default]: 1-Deffile, 2-EnvVar, 3-Labels, 4-Partition, 5-Signature, 6-GenericJSON, 7-Generic, 8-CryptoMessage .PP \fB--filename\fP="" set logical filename/handle [default: input filename] .PP \fB--groupid\fP=0 set groupid [default: 0] .PP \fB-h\fP, \fB--help\fP[=false] help for add .PP \fB--link\fP=0 set link pointer [default: 0] .PP \fB--partarch\fP=0 the main architecture used (with -datatype 4-Partition) [NEEDED, no default]: 1-386, 2-amd64, 3-arm, 4-arm64, 5-ppc64, 6-ppc64le, 7-mips, 8-mipsle, 9-mips64, 10-mips64le, 11-s390x .PP \fB--partfs\fP=0 the filesystem used (with -datatype 4-Partition) [NEEDED, no default]: 1-Squash, 2-Ext3, 3-ImmuObj, 4-Raw .PP \fB--parttype\fP=0 the type of partition (with -datatype 4-Partition) [NEEDED, no default]: 1-System, 2-PrimSys, 3-Data, 4-Overlay .PP \fB--signentity\fP="" the entity that signs (with -datatype 5-Signature) [NEEDED, no default]: example: 433FE984155206BD962725E20E8713472A879943 .PP \fB--signhash\fP=0 the signature hash used (with -datatype 5-Signature) [NEEDED, no default]: 1-SHA256, 2-SHA384, 3-SHA512, 4-BLAKE2s_256, 5-BLAKE2b_256 .SH EXAMPLE .PP .RS .nf sif add image.sif recipe.def -datatype 1 sif add image.sif rootfs.squashfs --datatype 4 --parttype 1 --partfs 1 ----partarch 2 sif add image.sif signature.bin -datatype 5 --signentity 433FE984155206BD962725E20E8713472A879943 --signhash 1 .fi .RE .SH SEE ALSO .PP \fBsingularity-sif(1)\fP .SH HISTORY .PP 20-Feb-2022 Auto generated by spf13/cobra