diff --git a/buildFedoraWorkstation.sh b/buildFedoraWorkstation.sh index d81fa70..d318eb9 100755 --- a/buildFedoraWorkstation.sh +++ b/buildFedoraWorkstation.sh @@ -87,6 +87,9 @@ gen_fstab "$rootdir" log "Adding %wheel to sudoers" cp ./drop/00_image_builder "$rootdir/etc/sudoers.d/00_image_builder" +# Enable zram +log "Enabling zram" +cp ./drop/99-zram.rules "$rootdir/etc/udev/rules.d/99-zram.rules" # +++ Rotate gdm log "Configuring gdm and gnome" diff --git a/buildUbuntuDesktop.sh b/buildUbuntuDesktop.sh index 806626d..8d5b8b3 100755 --- a/buildUbuntuDesktop.sh +++ b/buildUbuntuDesktop.sh @@ -67,6 +67,10 @@ chroot "$rootdir" systemctl enable qrtr-ns pd-mapper tqftpserv rmtfs gen_fstab "$rootdir" +# Enable zram +log "Enabling zram" +cp ./drop/99-zram.rules "$rootdir/etc/udev/rules.d/99-zram.rules" + # +++ Rotate gdm log "Configuring gdm and gnome" mkdir -p "$rootdir/etc/skel/.config"