[configs/releng] explicit set 'Storage=volatile' for journald
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
25b00a5682
commit
c5539c799c
@ -259,10 +259,6 @@ _cleanup () {
|
||||
if [[ -d "${work_dir}/root-image/var/log" ]]; then
|
||||
find "${work_dir}/root-image/var/log" -type f -delete
|
||||
fi
|
||||
# Avoid journald use permanent storage (Storage=auto)
|
||||
if [[ -d "${work_dir}/root-image/var/log/journal" ]]; then
|
||||
rm -rf "${work_dir}/root-image/var/log/journal"
|
||||
fi
|
||||
# Delete all temporary files and dirs
|
||||
if [[ -d "${work_dir}/root-image/var/tmp" ]]; then
|
||||
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
|
||||
|
@ -16,5 +16,6 @@ chmod 750 /etc/sudoers.d
|
||||
chmod 440 /etc/sudoers.d/g_wheel
|
||||
|
||||
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|
||||
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
|
||||
|
||||
systemctl enable multi-user.target pacman-init.service choose-mirror.service
|
||||
|
Loading…
Reference in New Issue
Block a user