diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-02-15 21:30:12 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-02-24 18:37:38 +0000 |
commit | 5b1f51200d54b570a23af75446dc1cae88d7ca20 (patch) | |
tree | 294fd1c105da8817433785af28957ce38d5990d0 | |
parent | c77973b0397764f0f681571a0e4a2c269c7a80f2 (diff) | |
download | definitions-5b1f51200d54b570a23af75446dc1cae88d7ca20.tar.gz |
systemd: Usrmerge
-rw-r--r-- | strata/foundation/systemd.morph | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph index c298748a..df794ee2 100644 --- a/strata/foundation/systemd.morph +++ b/strata/foundation/systemd.morph @@ -4,17 +4,21 @@ max-jobs: 1 build-system: autotools configure-commands: - sh autogen.sh -- ./configure --prefix="$PREFIX" --enable-xz --disable-manpages --sysconfdir=/etc - --localstatedir=/var --libdir="$PREFIX/lib" --libexecdir="$PREFIX/libexec" --with-rootprefix= - --with-rootlibdir=/lib +- | + ./configure --prefix="$PREFIX" \ + --enable-xz \ + --disable-manpages \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libdir="$PREFIX/lib" install-commands: - make DESTDIR="$DESTDIR" install -- 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 - "$DESTDIR/sbin/$f"; done +- mkdir -p "$DESTDIR$PREFIX"/sbin +- ln -s "$PREFIX"/lib/systemd/systemd "$DESTDIR$PREFIX"/sbin/init +- for f in telinit runlevel shutdown poweroff reboot halt; do ln -s "$PREFIX"/bin/systemctl + "$DESTDIR$PREFIX/sbin/$f"; done - sed -e 's|@sushell@|/bin/sh|g' units/debug-shell.service.in >"$DESTDIR/etc/systemd/system/debug-shell.service" -- sed -r -e '/Options=/s/,?strictatime//' "$DESTDIR/lib/systemd/system/tmp.mount" +- sed -r -e '/Options=/s/,?strictatime//' "$DESTDIR$PREFIX/lib/systemd/system/tmp.mount" >"$DESTDIR/etc/systemd/system/tmp.mount" - touch "$DESTDIR/etc/machine-id" post-install-commands: |