diff options
author | Sven Gothel <[email protected]> | 2021-07-04 04:49:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-04 04:49:29 +0200 |
commit | af4bd71cbe639a19e0a3ffd86ebc8bd3c394e16f (patch) | |
tree | eab9ef88bda9d82324437b57632e238b47028c9e /scripts | |
parent | 5c638e9280d9f469ec97a92111e563722ba2734b (diff) |
Fix qcow2_handling make_boot*: cmdline.txt is below sys_arm64_000
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qcow2_handling | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling index 125ca92..7f2316d 100644 --- a/scripts/qcow2_handling +++ b/scripts/qcow2_handling @@ -362,7 +362,7 @@ function make_bootable_image() { echo "Set UUIDs to make it bootable" sed -i "s/BOOTDEV/PARTUUID=${BOOT_PARTUUID}/" "${MOUNTROOT}/etc/fstab" sed -i "s/ROOTDEV/PARTUUID=${ROOT_PARTUUID}/" "${MOUNTROOT}/etc/fstab" - sed -i "s/ROOTDEV/PARTUUID=${ROOT_PARTUUID}/" "${MOUNTROOT}/boot/cmdline.txt" + sed -i "s/ROOTDEV/PARTUUID=${ROOT_PARTUUID}/" "${MOUNTROOT}/boot/sys_arm64_000/cmdline.txt" fi else echo "Setup hard devicenames" @@ -374,7 +374,7 @@ function make_bootable_image() { echo "Set hard device names to make it bootable" sed -i "s/BOOTDEV/${BOOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" - sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/boot/cmdline.txt" + sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/boot/sys_arm64_000/cmdline.txt" fi echo "Umount image" |