fix: rootfs now with verity and A/B prep
This commit is contained in:
parent
3f443a9e9b
commit
e907d0d3d3
3 changed files with 100 additions and 17 deletions
pkgs/rootfs
|
@ -52,11 +52,38 @@ cat <<EOF > $out/etc/repart.d/10-esp.conf
|
|||
[Partition]
|
||||
Type=esp
|
||||
Format=vfat
|
||||
SizeMaxBytes=96M
|
||||
SizeMinBytes=96M
|
||||
EOF
|
||||
|
||||
cat <<EOF > $out/etc/repart.d/22-root.conf
|
||||
cat <<EOF > $out/etc/repart.d/20-root-a.conf
|
||||
[Partition]
|
||||
Type=root
|
||||
SizeMaxBytes=256M
|
||||
SizeMinBytes=256M
|
||||
EOF
|
||||
cat <<EOF > $out/etc/repart.d/22-root-verify-a.conf
|
||||
[Partition]
|
||||
Type=root-verity
|
||||
SizeMaxBytes=10M
|
||||
SizeMinBytes=10M
|
||||
EOF
|
||||
|
||||
cat <<EOF > $out/etc/repart.d/30-root-b.conf
|
||||
[Partition]
|
||||
Type=root
|
||||
Label=_empty
|
||||
SizeMaxBytes=256M
|
||||
SizeMinBytes=256M
|
||||
ReadOnly=1
|
||||
EOF
|
||||
cat <<EOF > $out/etc/repart.d/32-root-verity-b.conf
|
||||
[Partition]
|
||||
Type=root-verity
|
||||
Label=_empty
|
||||
SizeMaxBytes=10M
|
||||
SizeMinBytes=10M
|
||||
ReadOnly=1
|
||||
EOF
|
||||
|
||||
cat <<EOF > $out/etc/repart.d/40-var.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue