Fix partition table mismatch

gen_disks expects swap to be present, yet we disabled it in
alpine_install.
master
LEdoian 3 years ago
parent 53ae47b2c7
commit 0a5c5e9d54

@ -15,7 +15,7 @@ for dir in output/*/; do
pushd $dir pushd $dir
cp --preserve=mode,ownership "$origdir/dummydisk.img" "./disk.img" cp --preserve=mode,ownership "$origdir/dummydisk.img" "./disk.img"
loop="$(losetup --partscan --show --find ./disk.img)" loop="$(losetup --partscan --show --find ./disk.img)"
mount -t ext4 "${loop}p3" "$mount" mount -t ext4 "${loop}p2" "$mount"
while read what where; do while read what where; do
cp "$what" "$mount$where" cp "$what" "$mount$where"
done << END done << END

Loading…
Cancel
Save