name: systemd kind: chunk build-system: autotools pre-configure-commands: # systemd prematurely kills the user session. This is a known bug in systemd # https://bugs.freedesktop.org/show_bug.cgi?id=70593 - | cat >> units/user@.service.m4.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=e* [Network] DHCP=yes EOF # Use the pam config systemd provides - cp -a "$DESTDIR/$PREFIX"/share/factory/etc/pam.d/* "$DESTDIR/etc/pam.d"