From: hayao Date: Sat, 22 Aug 2020 05:24:55 +0000 (+0900) Subject: [update] : latest final-process X-Git-Tag: rc3-alpha1~165^2~243 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d413f02da26c927f231f097d75229730d8ca69ea;p=alterlinux%2Falterlinux.git [update] : latest final-process --- diff --git a/channels/gnome/airootfs.any/root/optimize_for_tarball.sh b/channels/gnome/airootfs.any/root/optimize_for_tarball.sh index 41cf326e..79bf3293 100755 --- a/channels/gnome/airootfs.any/root/optimize_for_tarball.sh +++ b/channels/gnome/airootfs.any/root/optimize_for_tarball.sh @@ -37,12 +37,19 @@ remove /root/.automated_script.sh remove /etc/mkinitcpio-archiso.conf remove /etc/initcpio -if [[ -f "/etc/systemd/journald.conf" ]]; then - sed -i 's/Storage=volatile/#Storage=volatile/g' "/etc/systemd/journald.conf" -fi +remove /etc/systemd/journald.conf.d/volatile-storage.conf +remove /airootfs.any/etc/systemd/logind.conf.d/do-not-suspend.conf remove /etc/udev/rules.d/81-dhcpcd.rules -remove /etc/systemd/system/{choose-mirror.service,etc-pacman.d-gnupg.mount,getty@tty1.service.d} +remove /etc/systemd/system/{choose-mirror.service,getty@tty1.service.d} # Disabled auto login -sed -i "s/^AutomaticLogin/#AutomaticLogin/g" "/etc/gdm/gdm.conf" +sed -i "s/Automatic*/#Automatic/g" "/etc/gdm/custom.conf" + + +# Remove dconf for live environment +remove "/etc/dconf/db/local.d/02-live-"* + + +# Update system datebase +dconf update