aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-07-22 19:29:00 +0200
committerSven Gothel <[email protected]>2021-07-22 19:29:00 +0200
commit7994a6ebee8c3dba909b36da64ce4c8100f36238 (patch)
treedd4242f2130849ec97b4053dbafb8f1cd631e986
parent1da3d26c5b6033c60a5292bc7753126c991cacc1 (diff)
mutable images: Boot in verbose mode for generic stage targets to observe ...
-rwxr-xr-xstage2/01-sys-tweaks/01-run.sh5
-rwxr-xr-xstage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt2
2 files changed, 5 insertions, 2 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh
index 5749f8e..c163bbb 100755
--- a/stage2/01-sys-tweaks/01-run.sh
+++ b/stage2/01-sys-tweaks/01-run.sh
@@ -15,7 +15,7 @@ install -m 755 files/rotatelog_init_rootfs "${ROOTFS_DIR}/etc/init.d/"
install -m 644 files/resize2fs_once.service "${ROOTFS_DIR}/lib/systemd/system/"
install -m 755 files/resize2fs_once "${ROOTFS_DIR}/etc/init.d/"
-install -d "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d"
+install -d "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d"
install -m 644 files/ttyoutput.conf "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d/"
if [ "${TARGET_RASPI}" = "1" ]; then
@@ -199,10 +199,13 @@ if [ "${ROOTFS_RO}" = "1" ] ; then
install -m 755 files/initramfs/fsck_custom "${ROOTFS_DIR}/etc/initramfs-tools/hooks/"
install -m 755 files/initramfs/extra_execs "${ROOTFS_DIR}/etc/initramfs-tools/hooks/"
else
+ # Mutable rootfs
if [ "${TARGET_RASPI}" = "1" ]; then
install -m 644 files/boot/config-rootfs_rw.txt "${ROOTFS_DIR}/boot/config.txt"
install -m 644 files/boot/config-rootfs_rw.txt "${ROOTFS_DIR}/boot/sys_${TARGET_ARCH}_000/config.txt"
install -m 644 files/boot/sys_arm64_000/cmdline-rootfs_rw.txt "${ROOTFS_DIR}/boot/sys_${TARGET_ARCH}_000/cmdline.txt"
+ else
+ sed -i 's/quiet//g' "${ROOTFS_DIR}/etc/default/grub"
fi
fi
diff --git a/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt b/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt
index 42962cc..79ccf3b 100755
--- a/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt
+++ b/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt
@@ -1 +1 @@
-dwc_otg.lpm_enable=0 console=tty3 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 logo.nologo splash quiet plymouth.ignore-serial-consoles vt.global_cursor_default=0
+dwc_otg.lpm_enable=0 console=tty3 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait