From 8dcdae125938bcdd8bf928e58fe08afc984f45c8 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 18 Apr 2024 05:36:19 +0300 Subject: [PATCH] Remove editing /boot/firmware/cmdline.txt --- builder/image-init.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/builder/image-init.sh b/builder/image-init.sh index a0f46f3a9..3f22f0f74 100755 --- a/builder/image-init.sh +++ b/builder/image-init.sh @@ -48,11 +48,9 @@ sed -i "19a${MAGIC_SCRIPT}" /etc/rc.local # It needs for autosizer.sh & maybe that is correct echo_stamp "Change boot partition" sed -i 's/root=[^ ]*/root=\/dev\/mmcblk0p2/' /boot/cmdline.txt -sed -i 's/root=[^ ]*/root=\/dev\/mmcblk0p2/' /boot/firmware/cmdline.txt sed -i 's/.* \/boot/firmware vfat defaults 0 2$/\/dev\/mmcblk0p1 \/boot/firmware vfat defaults 0 2/' /etc/fstab sed -i 's/.* \/ ext4 defaults,noatime 0 1$/\/dev\/mmcblk0p2 \/ ext4 defaults,noatime 0 1/' /etc/fstab cat /boot/cmdline.txt -cat /boot/firmware/cmdline.txt cat /etc/fstab echo_stamp "Set max space for syslogs"