Skip to content

Commit

Permalink
baseimage: Add systemd configuration files
Browse files Browse the repository at this point in the history
Added a kernel-install configuration that enables
the rpm-ostree integration.

The second configuration file sets the Journal to persistent
as on bootc systems /var is empty by default and systemd
by default enables persistent journaling on the presence of
/var/log/journal.
  • Loading branch information
jmarrero committed Jan 10, 2025
1 parent adf18ea commit 498b0be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions baseimage/systemd/usr/lib/kernel/install.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# kernel-install will not try to run dracut and allow rpm-ostree to
# take over. Rpm-ostree will use this to know that it is responsible
# to run dracut and ensure that there is only one kernel in the image
layout=ostree

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Journal]
Storage=persistent

0 comments on commit 498b0be

Please sign in to comment.