diff --git a/Makefile b/Makefile index 54afa63..f4dbd38 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,12 @@ cert-renew.sh = $(CHROOT)/etc/ssl/cert-renew.sh nginx_conf = $(CHROOT)/etc/nginx/nginx.conf.orig -systemd-units: appliance/PostgreSQL-Backup.sh appliance/backup.service appliance/backup.timer appliance/cert-renew.service appliance/cert-renew.timer +systemd-units: appliance/PostgreSQL-Backup.sh appliance/backup.service appliance/backup.timer appliance/cert-renew.service appliance/cert-renew.timer appliance/override-systemd-networkd-wait-online.conf mkdir -p $(CHROOT)/usr/local/bin cp appliance/PostgreSQL-Backup.sh $(CHROOT)/usr/local/bin/ cp appliance/backup.service appliance/backup.timer appliance/cert-renew.service appliance/cert-renew.timer $(CHROOT)/etc/systemd/system/ + mkdir -p $(CHROOT)/etc/systemd/system/systemd-networkd-wait-online.service.d + cp appliance/override-systemd-networkd-wait-online.conf $(CHROOT)/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf $(02firstboot): appliance/02firstboot.start mkdir -p $(CHROOT)/usr/local/bin diff --git a/appliance/override-systemd-networkd-wait-online.conf b/appliance/override-systemd-networkd-wait-online.conf new file mode 100644 index 0000000..14fee67 --- /dev/null +++ b/appliance/override-systemd-networkd-wait-online.conf @@ -0,0 +1,4 @@ +systemd-networkd-wait-online.service.d/override.conf +[Service] +ExecStart= +ExecStart=/usr/lib/systemd/systemd-networkd-wait-online -i eth0 diff --git a/package.use b/package.use index 7db6cc9..6638aec 100644 --- a/package.use +++ b/package.use @@ -1,5 +1,5 @@ # Netbox -www-apps/netbox branching ldap +www-apps/netbox branching ldap topoviews # Nginx / uWSGI app-misc/mime-types nginx