Temp commit, nothing works yet
This commit is contained in:
@@ -64,7 +64,7 @@ DISK_SIZE="${DISK_SIZE:-8G}"
|
||||
|
||||
ROOTFS_IMG="${ROOTFS_IMG:-rootfs.ext4}"
|
||||
ROOTFS_IMG_ZST="${ROOTFS_IMG_ZST:-rootfs.ext4.zst}"
|
||||
ROOTFS_PART_SIZE_MIB="${ROOTFS_PART_SIZE_MIB:-2048}"
|
||||
ROOTFS_PART_SIZE_MIB="${ROOTFS_PART_SIZE_MIB:-2560}"
|
||||
|
||||
FAKE_DEV="/tmp/dev"
|
||||
MNT_ROOTFS_IMG="/mnt/rootfs-img"
|
||||
@@ -183,8 +183,8 @@ truncate -s "$DISK_SIZE" "$IMG"
|
||||
|
||||
sgdisk -o "$IMG" \
|
||||
-n 1:2048:+64M -t 1:0700 -c 1:config \
|
||||
-n 2:0:+2G -t 2:8300 -c 2:rootfsA \
|
||||
-n 3:0:+2G -t 3:8300 -c 3:rootfsB \
|
||||
-n 2:0:+2560M -t 2:8300 -c 2:rootfsA \
|
||||
-n 3:0:+2560M -t 3:8300 -c 3:rootfsB \
|
||||
-n 4:0:0 -t 4:8300 -c 4:data
|
||||
|
||||
losetup -D
|
||||
|
||||
Reference in New Issue
Block a user