[Lunar-commits] <lunar-iso> Disable systemd networkd and resolved on livecd

Stefan Wold ratler at lunar-linux.org
Sun Sep 7 21:51:34 CEST 2014


commit 1babe698447a60293b3016b2f2c041d411012f8d
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 07 Sep 2014 21:50:50 +0200
URL: https://github.com/lunar-linux/lunar-iso/commit/1babe698447a60293b3016b2f2c041d411012f8d

Disable systemd networkd and resolved on livecd
---
  mkfiles/iso.mk | +1/-0     
  1 file changed, 1 insertion(+)

--- a/mkfiles/iso.mk
+++ b/mkfiles/iso.mk
@@ -42,6 +42,7 @@ $(ISO_TARGET)/.iso-files: iso-target
 	@for unit in sockets.target.wants/sshd.socket multi-user.target.wants/sshd.service multi-user.target.wants/sshd-keys.service ; do \
 	  rm -f $(ISO_TARGET)/etc/systemd/system/$$unit ; \
 	done
+	@$(ISO_SOURCE)/scripts/chroot-build bash -c 'for unit in systemd-networkd systemd-resolved ; do systemctl disable $$unit; done'
 	@[ ! -d $(ISO_TARGET)/etc/dracut.conf.d ] || rmdir --ignore-fail-on-non-empty $(ISO_TARGET)/etc/dracut.conf.d
 	@cp -r $(ISO_SOURCE)/livecd/template/etc/systemd $(ISO_TARGET)/etc
 	@> $(ISO_TARGET)/etc/machine-id




More information about the Lunar-commits mailing list