stage2: Don't modify journald.conf. This is done via a drop-in config file in sys-mods.

This commit is contained in:
Serge Schneider
2025-08-19 13:07:16 +01:00
parent e2893c11ab
commit 59b16f3bb4

View File

@@ -55,8 +55,6 @@ on_chroot << EOF
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration console-setup
EOF
sed -i 's/^#\?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf"
if [ -e "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" ]; then
sed -i 's/^#\?publish-workstation=.*/publish-workstation=yes/' "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf"
fi