diff options
author | Sven Gothel <[email protected]> | 2021-07-04 03:03:27 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-04 03:03:27 +0200 |
commit | 7fad4ef421c5b0896209e83fe1e90938269a84b2 (patch) | |
tree | 213a27f6688ae80db61780ec9e45ed0ce75360b7 /stage2 | |
parent | 538fa0ec2917a9005bd725ea7ef25da689b35342 (diff) |
CUSTOM_IOT: Removed, custom refining shall occur in custom stage
Diffstat (limited to 'stage2')
-rwxr-xr-x | stage2/01-sys-tweaks/01-run.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index acd7c5c..49b3b5d 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -101,28 +101,13 @@ on_chroot << EOF sed -i -e 's/#Storage=auto/Storage=volatile/g;s/#Compress=yes/Compress=yes/g;s/#RuntimeMaxUse=/RuntimeMaxUse=1M/g;s/#ForwardToSyslog=yes/ForwardToSyslog=no/g;s/#ForwardToWall=yes/ForwardToWall=no/g' /etc/systemd/journald.conf - sed -i -e 's/MODULES=most/MODULES=dep/g;s/BUSYBOX=auto/BUSYBOX=y/g' /etc/initramfs-tools/initramfs.conf + sed -i -e 's/MODULES=most/MODULES=dep/g;s/BUSYBOX=auto/BUSYBOX=y/g' /etc/initramfs-tools/initramfs.conf echo "squashfs" >> /etc/modules echo "squashfs" >> /etc/initramfs-tools/modules else systemctl enable resize2fs_once fi - - if [ "${CUSTOM_IOT}" = "1" ] ; then - systemctl disable bluetooth - systemctl mask bluetooth - - echo "i2c-bcm2708" >> /etc/modules - # echo "i2c-dev" >> /etc/modules - # echo "rtc-ds1307" >> /etc/modules - - if [ "${ROOTFS_RO}" = "1" ] ; then - echo "i2c-bcm2708" >> /etc/initramfs-tools/modules - # echo "i2c-dev" >> /etc/initramfs-tools/modules - # echo "rtc-ds1307" >> /etc/initramfs-tools/modules - fi - fi EOF if [ "${ROOTFS_RO}" = "1" ] ; then |