summaryrefslogtreecommitdiff
path: root/strata/foundation/systemd.morph
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2014-11-17 21:30:10 +0000
committerJavier Jardón <jjardon@gnome.org>2014-11-17 21:30:10 +0000
commit2b28b4d3aee6d9e21341132df241c1d7cb3c94e0 (patch)
treea78a798298254020e3dc6268fa53e9ed14f4e5c6 /strata/foundation/systemd.morph
parent4b33e710f7da79a9b69bf636ab1329d9bcc9671e (diff)
parent54f36e8b4a5a58d872980c13aba5bcc4726283f9 (diff)
downloaddefinitions-2b28b4d3aee6d9e21341132df241c1d7cb3c94e0.tar.gz
Merge branch 'baserock/jjardon/systemd_217'
Reviewed-by: Sam Thursfield <sam.thursfield@codethink.co.uk> Reviewed-by: James Thomas <james.thomas@codethink.co.uk>
Diffstat (limited to 'strata/foundation/systemd.morph')
-rw-r--r--strata/foundation/systemd.morph13
1 files changed, 10 insertions, 3 deletions
diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph
index 2a1933d7..1ee23cb8 100644
--- a/strata/foundation/systemd.morph
+++ b/strata/foundation/systemd.morph
@@ -6,16 +6,23 @@ 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
+ --with-rootlibdir=/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
-- 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"
+post-install-commands:
+- |
+ cat > "$DESTDIR/etc/systemd/network/10-dhcp.network" << "EOF"
+ [Match]
+ Name=en*
+
+ [Network]
+ DHCP=yes
+ EOF