From ff13545cc5c86ff7a52be1a19c34e656e532d6c5 2018-07-01 22:26:32 From: Tohka Date: 2018-07-01 22:26:32 Subject: [PATCH] Fix networking with systemd With newer systemd builds, systemd-networkd does not boot anymore, leading to the network being disabled. Installing libnss-systemd resolves this problem, but it is not available on Jessie systems. --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 0bb6354..f8e65fb 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -466,6 +466,10 @@ if [ "$ENABLE_REDUCE" = true ] ; then fi fi +if [ "$RELEASE" != "jessie" ] ; then + APT_INCLUDES="${APT_INCLUDES},libnss-systemd" +fi + # Configure kernel sources if no KERNELSRC_DIR if [ "$BUILD_KERNEL" = true ] && [ -z "$KERNELSRC_DIR" ] ; then KERNELSRC_CONFIG=true