From 591d41d235d088c96f41a16131f4a091fa370b21 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 19 Sep 2023 14:33:54 -0500 Subject: [PATCH] rootfs: cleanup, we are using nmcli Signed-off-by: Robert Nelson --- 06_generate_debian_console_root.sh | 11 ----------- 06_generate_ubuntu_console_root.sh | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/06_generate_debian_console_root.sh b/06_generate_debian_console_root.sh index ef84aa2..e33419c 100755 --- a/06_generate_debian_console_root.sh +++ b/06_generate_debian_console_root.sh @@ -59,17 +59,6 @@ echo '/dev/mmcblk0p2 /boot/firmware/ auto defaults 0 2' >> ./ignore/.root/et echo '/dev/mmcblk0p3 / auto errors=remount-ro 0 1' >> ./ignore/.root/etc/fstab echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults 0 0' >> ./ignore/.root/etc/fstab -cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true - -if [ -f ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service ] ; then - rm -rf ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service || true -fi - -#rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true -#cd ./ignore/.root/ -#ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/ -#cd ../../ - # setuid root ping+ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6 diff --git a/06_generate_ubuntu_console_root.sh b/06_generate_ubuntu_console_root.sh index 1ccdcf6..5e77617 100755 --- a/06_generate_ubuntu_console_root.sh +++ b/06_generate_ubuntu_console_root.sh @@ -59,17 +59,6 @@ echo '/dev/mmcblk0p2 /boot/firmware/ auto defaults 0 2' >> ./ignore/.root/et echo '/dev/mmcblk0p3 / auto errors=remount-ro 0 1' >> ./ignore/.root/etc/fstab echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults 0 0' >> ./ignore/.root/etc/fstab -cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true - -if [ -f ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service ] ; then - rm -rf ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service || true -fi - -#rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true -#cd ./ignore/.root/ -#ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/ -#cd ../../ - # setuid root ping+ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6