aboutsummaryrefslogtreecommitdiffstats
path: root/stage2
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-07-18 19:23:27 +0200
committerSven Gothel <[email protected]>2021-07-18 19:23:27 +0200
commit08a1379b7d0ebe9076b390c8c47c5e8e818823d3 (patch)
tree837d5635fe0f592c54d997a793d8d3417382bd3f /stage2
parent1d121c9d2d8a48814b519730cfcb947e8daca310 (diff)
Fix stage3b (split to stage3b_lxde and stage3b_kde alternatives); Misc changes:
- GRUB image rename to declare architecture: data/grub-image01.bin -> data/grub-i386-image01.bin - scripts/make_dualboot_image.sh: Let user chose denomination, i.e. G for GiB or M for MiB
Diffstat (limited to 'stage2')
-rwxr-xr-xstage2/01-sys-tweaks/01-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh
index ecfd633..56c7053 100755
--- a/stage2/01-sys-tweaks/01-run.sh
+++ b/stage2/01-sys-tweaks/01-run.sh
@@ -159,7 +159,7 @@ if [ "${ROOTFS_RO}" = "1" ] ; then
install -m 644 files/boot/sys_arm64_000/cmdline-rootfs_ro.txt "${ROOTFS_DIR}/boot/sys_arm64_000/cmdline.txt"
else
install -m 644 files/grub/custom.cfg "${ROOTFS_DIR}/boot/grub/custom.cfg"
- sed -i 's/sys_arm64_000/sys_${TARGET_ARCH}_000/g' "${ROOTFS_DIR}/boot/grub/custom.cfg"
+ sed -i "s/sys_amd64_000/sys_${TARGET_ARCH}_000/g" "${ROOTFS_DIR}/boot/grub/custom.cfg"
cp "${ROOTFS_DIR}/boot/grub/custom.cfg" "${ROOTFS_DIR}/boot/sys_${TARGET_ARCH}_000/"
sed -i 's/GRUB_DEFAULT=.*$/GRUB_DEFAULT=loop_rootfs/g;s/GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=0/g;s/#GRUB_TERMINAL=.*$/GRUB_TERMINAL=console/g;s/#GRUB_DISABLE_LINUX_UUID=.*$/GRUB_DISABLE_LINUX_UUID=true/g' "${ROOTFS_DIR}/etc/default/grub"
echo "GRUB_DISABLE_LINUX_PARTUUID=true" >> "${ROOTFS_DIR}/etc/default/grub"