diff options
author | James Thomas <james.thomas@codethink.co.uk> | 2014-10-11 00:38:03 +0000 |
---|---|---|
committer | James Thomas <james.thomas@codethink.co.uk> | 2014-10-11 00:38:03 +0000 |
commit | dcc36f5804faefd2a593005c3dc1e73a6ceaa832 (patch) | |
tree | 6526459ff4977af98738a2b460376a2bf5370d88 /strata/systemd-new/systemd-2.morph | |
parent | 5da96ee255f97bace09435dee526668705f01b46 (diff) | |
download | definitions-dcc36f5804faefd2a593005c3dc1e73a6ceaa832.tar.gz |
Build against systemd with logind
Diffstat (limited to 'strata/systemd-new/systemd-2.morph')
-rw-r--r-- | strata/systemd-new/systemd-2.morph | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/strata/systemd-new/systemd-2.morph b/strata/systemd-new/systemd-2.morph new file mode 100644 index 00000000..f2ad6ef0 --- /dev/null +++ b/strata/systemd-new/systemd-2.morph @@ -0,0 +1,19 @@ +name: systemd-2 +kind: chunk +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 --with-firmware-path=/lib/firmware/updates:/lib/firmware --disable-resolved --enable-logind +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 +- rm -f "$DESTDIR/etc/udev/rules.d/80-net-name-slot.rules" +- touch "$DESTDIR/etc/udev/rules.d/80-net-name-slot.rules" +- 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" + >"$DESTDIR/etc/systemd/system/tmp.mount" +- touch "$DESTDIR/etc/machine-id" |