From 8a5dbfd6f17ffbe396786c0073cb57397c2667d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 15 Mar 2016 20:38:31 +0000 Subject: strata/foundation/systemd.morph: Move some stuff to post-install-commands Change-Id: Ifa0b08168ed9910a7c405f1fee076fc7d51cc205 --- strata/foundation/systemd.morph | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph index 4c62d617..7d729db3 100644 --- a/strata/foundation/systemd.morph +++ b/strata/foundation/systemd.morph @@ -10,8 +10,7 @@ configure-commands: --disable-tests --sysconfdir=/etc --localstatedir=/var \ --libdir="$PREFIX/lib" --libexecdir="$PREFIX/libexec" \ --with-rootprefix= --with-rootlibdir=/lib -install-commands: -- make DESTDIR="$DESTDIR" install +post-install-commands: - mkdir -p "$DESTDIR"/sbin - ln -s /lib/systemd/systemd "$DESTDIR"/sbin/init - for f in telinit runlevel shutdown poweroff reboot halt; do ln -s /bin/systemctl @@ -20,7 +19,6 @@ install-commands: - sed -r -e '/Options=/s/,?strictatime//' "$DESTDIR/lib/systemd/system/tmp.mount" >"$DESTDIR/etc/systemd/system/tmp.mount" - touch "$DESTDIR/etc/machine-id" -post-install-commands: - | cat > "$DESTDIR/etc/systemd/network/10-dhcp.network" << "EOF" [Match] -- cgit v1.2.1