Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ install:
$(DESTDIR)/usr/bin \
$(DESTDIR)/usr/sbin \
$(DESTDIR)/usr/lib/flatcar \
$(DESTDIR)/usr/lib/sysupdate.d \
$(DESTDIR)/usr/lib/systemd/system \
$(DESTDIR)/usr/lib/systemd/network \
$(DESTDIR)/usr/lib/systemd/system-generators \
Expand All @@ -33,6 +34,7 @@ install:
install -m 644 configs/modules-load.d/* $(DESTDIR)/usr/lib/modules-load.d/
install -m 644 configs/tmpfiles.d/* $(DESTDIR)/usr/lib/tmpfiles.d/
cp -a systemd/* $(DESTDIR)/usr/lib/systemd/
cp -a sysupdate.d/* $(DESTDIR)/usr/lib/sysupdate.d/
chmod 755 $(DESTDIR)/usr/lib/systemd/system-generators/*
ln -sf ../run/issue $(DESTDIR)/etc/issue
ln -sfT flatcar $(DESTDIR)/usr/lib/coreos
Expand Down
2 changes: 2 additions & 0 deletions systemd/confext.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ConfExt]
Mutable=auto
17 changes: 0 additions & 17 deletions systemd/system/ensure-sysext.service

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Service]
# Users having their own /var partition don't get this set up in the initrd
ExecStartPre=/bin/bash -c "mkdir -p /var/lib/extensions.mutable/ && if [ ! -L /var/lib/extensions.mutable/etc ] && [ ! -e /var/lib/extensions.mutable/etc ]; then ln -s /etc /var/lib/extensions.mutable/etc; fi"
3 changes: 3 additions & 0 deletions systemd/system/systemd-sysext.service.d/after-confext.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Define an order to allow a confext to influence systemd-sysext
[Unit]
After=systemd-confext.service
8 changes: 8 additions & 0 deletions sysupdate.d/noop.transfer
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Source]
Type=regular-file
Path=/
MatchPattern=invalid@v.raw
[Target]
Type=regular-file
Path=/
MatchPattern=invalid@v.raw