From 68ad88ce77e032a76c6e2353c0f36168a4e12505 Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sun, 11 Aug 2024 15:58:20 +0500 Subject: [PATCH] Do not set default timezone. Enable zram --- buildArchBase.sh | 6 +++--- buildArchGnome.sh | 6 +++--- buildArchPlasma.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/buildArchBase.sh b/buildArchBase.sh index 5bf1a2b..d9ea98e 100755 --- a/buildArchBase.sh +++ b/buildArchBase.sh @@ -82,9 +82,9 @@ gen_fstab "$rootdir" log "Adding %wheel to sudoers" cp ./drop/00_image_builder "$rootdir/etc/sudoers.d/00_image_builder" -# Set default timezone -log "Setting default timezone" -chroot "$rootdir" timedatectl set-timezone Europe/Moscow +# Enable zram +log "Enabling zram" +cp ./drop/99-zram.rules "$rootdir/etc/udev/rules.d/99-zram.rules" # Generate en_US locale log "Generating en_US locale" diff --git a/buildArchGnome.sh b/buildArchGnome.sh index 9cdea2d..c9be6bf 100755 --- a/buildArchGnome.sh +++ b/buildArchGnome.sh @@ -76,9 +76,9 @@ gen_fstab "$rootdir" log "Adding %wheel to sudoers" cp ./drop/00_image_builder "$rootdir/etc/sudoers.d/00_image_builder" -# Set default timezone -log "Setting default timezone" -chroot "$rootdir" timedatectl set-timezone Europe/Moscow +# Enable zram +log "Enabling zram" +cp ./drop/99-zram.rules "$rootdir/etc/udev/rules.d/99-zram.rules" # Generate en_US locale log "Generating en_US locale" diff --git a/buildArchPlasma.sh b/buildArchPlasma.sh index 98153dc..9cd2710 100755 --- a/buildArchPlasma.sh +++ b/buildArchPlasma.sh @@ -76,9 +76,9 @@ gen_fstab "$rootdir" log "Adding %wheel to sudoers" cp ./drop/00_image_builder "$rootdir/etc/sudoers.d/00_image_builder" -# Set default timezone -log "Setting default timezone" -chroot "$rootdir" timedatectl set-timezone Europe/Moscow +# Enable zram +log "Enabling zram" +cp ./drop/99-zram.rules "$rootdir/etc/udev/rules.d/99-zram.rules" # Generate en_US locale log "Generating en_US locale"