1singularity(1) singularity(1)
2
3
4
6 singularity-sif-add - Add data object
7
8
9
11 singularity sif add [flags]
12
13
14
16 Add a data object to a SIF image.
17
18
19
21 --alignment=0 set alignment [default: 4096 with --datatype 4-Par‐
22 tition, 0 otherwise]
23
24
25 --datatype=0 the type of data to add [NEEDED, no default]:
26 1-Deffile, 2-EnvVar, 3-Labels,
27 4-Partition, 5-Signature, 6-GenericJSON,
28 7-Generic, 8-CryptoMessage, 9-SBOM,
29 10-OCI.RootIndex, 11-OCI.Blob
30
31
32 --filename="" set logical filename/handle [default: input file‐
33 name]
34
35
36 --groupid=0 set groupid [default: 0]
37
38
39 -h, --help[=false] help for add
40
41
42 --link=0 set link pointer [default: 0]
43
44
45 --partarch=0 the main architecture used (with --datatype 4-Parti‐
46 tion) [NEEDED, no default]:
47 1-386, 2-amd64, 3-arm,
48 4-arm64, 5-ppc64, 6-ppc64le,
49 7-mips, 8-mipsle, 9-mips64,
50 10-mips64le, 11-s390x, 12-riscv64
51
52
53 --partfs=0 the filesystem used (with --datatype 4-Partition)
54 [NEEDED, no default]:
55 1-Squash, 2-Ext3, 3-ImmuObj,
56 4-Raw
57
58
59 --parttype=0 the type of partition (with --datatype 4-Partition)
60 [NEEDED, no default]:
61 1-System, 2-PrimSys, 3-Data,
62 4-Overlay
63
64
65 --sbomformat="" the SBOM format (with --datatype 9-sbom):
66 cyclonedx-json, cyclonedx-xml, github-json,
67 spdx-json, spdx-rdf, spdx-tag-value,
68 spdx-yaml, syft-json
69
70
71 --signentity="" the entity that signs (with --datatype 5-Signa‐
72 ture) [NEEDED, no default]:
73 example: 433FE984155206BD962725E20E8713472A879943
74
75
76 --signhash=0 the signature hash used (with --datatype 5-Signature)
77 [NEEDED, no default]:
78 1-SHA256, 2-SHA384, 3-SHA512,
79 4-BLAKE2s_256, 5-BLAKE2b_256
80
81
82
84 sif add image.sif recipe.def --datatype 1
85 sif add image.sif rootfs.squashfs --datatype 4 --parttype 1 --partfs 1 --partarch 2
86 sif add image.sif signature.bin --datatype 5 --signentity 433FE984155206BD962725E20E8713472A879943 --signhash 1
87
88
89
90
92 singularity-sif(1)
93
94
95
97 18-Sep-2023 Auto generated by spf13/cobra
98
99
100
101Auto generated by spf13/cobra Sep 2023 singularity(1)