diff options
Diffstat (limited to 'stage1/01-sys-tweaks')
-rwxr-xr-x | stage1/01-sys-tweaks/00-run.sh | 11 | ||||
-rw-r--r-- | stage1/01-sys-tweaks/files/fstab | 6 |
2 files changed, 0 insertions, 17 deletions
diff --git a/stage1/01-sys-tweaks/00-run.sh b/stage1/01-sys-tweaks/00-run.sh index 174b98f..03ad686 100755 --- a/stage1/01-sys-tweaks/00-run.sh +++ b/stage1/01-sys-tweaks/00-run.sh @@ -5,17 +5,6 @@ install -m 644 files/noclear.conf "${ROOTFS_DIR}/etc/systemd/system/[email protected] install -v -m 644 files/fstab "${ROOTFS_DIR}/etc/fstab" on_chroot << EOF -mkdir -p /data/etc/upper -mkdir -p /data/etc/work -mkdir -p /data/home/upper -mkdir -p /data/home/work -mkdir -p /data/srv/upper -mkdir -p /data/srv/work -mkdir -p /data/tmp/upper -mkdir -p /data/tmp/work -mkdir -p /data/var/upper -mkdir -p /data/var/work - # Memory ~1G -> Swap 2G; BUT slow and small sd-card # Use 200MB (Raspberry comes with 100MB default) rm -f /data/swapfile diff --git a/stage1/01-sys-tweaks/files/fstab b/stage1/01-sys-tweaks/files/fstab index e99264c..6761eaf 100644 --- a/stage1/01-sys-tweaks/files/fstab +++ b/stage1/01-sys-tweaks/files/fstab @@ -7,10 +7,4 @@ ROOTDEV / ext4 defaults,noatime,ro,errors=remount-ro 0 /data/swapfile none swap defaults 0 0 # defaults = rw, suid, dev, exec, auto, nouser, and async -# we replace auto -> noauto,x-systemd.automount -#overlay /etc overlay noauto,x-systemd.automount,rw,suid,dev,exec,nouser,async,noatime,lowerdir=/etc,upperdir=/data/etc/upper,workdir=/data/etc/work 0 0 -#overlay /home overlay noauto,x-systemd.automount,rw,suid,dev,exec,nouser,async,noatime,lowerdir=/home,upperdir=/data/home/upper,workdir=/data/home/work 0 0 -#overlay /srv overlay noauto,x-systemd.automount,rw,suid,dev,exec,nouser,async,noatime,lowerdir=/srv,upperdir=/data/srv/upper,workdir=/data/srv/work 0 0 -#overlay /tmp overlay noauto,x-systemd.automount,rw,suid,dev,exec,nouser,async,noatime,lowerdir=/tmp,upperdir=/data/tmp/upper,workdir=/data/tmp/work 0 0 -#overlay /var overlay noauto,x-systemd.automount,rw,suid,dev,exec,nouser,async,noatime,lowerdir=/var,upperdir=/data/var/upper,workdir=/data/var/work 0 0 |