projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74475a5
)
mkosi: Don't fail if /var/log/journal does not exist
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Fri, 5 Jul 2024 09:24:27 +0000
(11:24 +0200)
committer
Daan De Meyer
<daan.j.demeyer@gmail.com>
Thu, 11 Jul 2024 10:48:33 +0000
(12:48 +0200)
(cherry picked from commit
877842ed521c5cdf5dd0b50127b51466959a606e
)
mkosi.postinst.chroot
patch
|
blob
|
history
diff --git
a/mkosi.postinst.chroot
b/mkosi.postinst.chroot
index 46868020f6a92c8a59710e40db77c923004899b2..7f2666e0a43e8ee4f63df8851f737834be3cbceb 100755
(executable)
--- a/
mkosi.postinst.chroot
+++ b/
mkosi.postinst.chroot
@@
-32,7
+32,7
@@
done
# We want /var/log/journal to be created on first boot so it can be created with the right chattr settings by
# systemd-journald.
-rm -r "$BUILDROOT/var/log/journal"
+rm -r
f
"$BUILDROOT/var/log/journal"
rm -f /etc/nsswitch.conf
cp "$SRCDIR/factory/etc/nsswitch.conf" /etc/nsswitch.conf