Enable zram

This commit is contained in:
timoxa0 2024-08-11 15:59:41 +05:00
parent 68ad88ce77
commit f9a39959cb
2 changed files with 7 additions and 0 deletions

View file

@ -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"

View file

@ -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"