diff options
author | Javier Jardón <jjardon@gnome.org> | 2016-03-15 20:38:31 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2016-03-16 13:58:58 +0000 |
commit | 8a5dbfd6f17ffbe396786c0073cb57397c2667d3 (patch) | |
tree | 7d69a708e9a3e5a78e0fd8114c21f6ff96e5450d /strata/foundation/systemd.morph | |
parent | 9c5a8b67ff79c63a38da4dd35a5fcbb6a6650ac2 (diff) | |
download | definitions-8a5dbfd6f17ffbe396786c0073cb57397c2667d3.tar.gz |
strata/foundation/systemd.morph: Move some stuff to post-install-commands
Change-Id: Ifa0b08168ed9910a7c405f1fee076fc7d51cc205
Diffstat (limited to 'strata/foundation/systemd.morph')
-rw-r--r-- | strata/foundation/systemd.morph | 4 |
1 files changed, 1 insertions, 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] |