Skip to content

Commit

Permalink
overlay: drop coreos-root in favor of tmpfiles
Browse files Browse the repository at this point in the history
Instead of using a systemd unit to populate /var/roothome use tmpfiles
entries.
  • Loading branch information
Andrew Jeddeloh authored and HuijingHei committed Aug 24, 2023
1 parent 1d61282 commit 3537f6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions overlay.d/05core/usr/lib/tmpfiles.d/root-bash.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This really should be C! instead of L, but https://github.com/systemd/systemd/issues/12467 prevents that.
# TODO: switch to C! when https://github.com/systemd/systemd/pull/12750 makes it into fcos
L /var/roothome/.bashrc - - - - /usr/etc/skel/.bashrc
L /var/roothome/.bash_profile - - - - /usr/etc/skel/.bash_profile
L /var/roothome/.bash_logout - - - - /usr/etc/skel/.bash_logout

0 comments on commit 3537f6e

Please sign in to comment.