Skip to content

Commit

Permalink
systemd: nspawn: add symlink into /etc for writable configs
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Leonard <[email protected]>
  • Loading branch information
antonlacon committed Aug 9, 2024
1 parent df5dd78 commit 2b659f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/sysutils/systemd/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ post_makeinstall_target() {
ln -sf /storage/.config/logind.conf.d ${INSTALL}/etc/systemd/logind.conf.d
ln -sf /storage/.config/sleep.conf.d ${INSTALL}/etc/systemd/sleep.conf.d
ln -sf /storage/.config/timesyncd.conf.d ${INSTALL}/etc/systemd/timesyncd.conf.d
if [ "${NSPAWN_SUPPORT}" = "yes" ]; then
ln -sf /storage/.config/nspawn ${INSTALL}/etc/systemd/nspawn
fi
safe_remove ${INSTALL}/etc/sysctl.d
ln -sf /storage/.config/sysctl.d ${INSTALL}/etc/sysctl.d
safe_remove ${INSTALL}/etc/tmpfiles.d
Expand Down

0 comments on commit 2b659f1

Please sign in to comment.