[Lunar-commits] <lunar-iso> Fixed copying of skel files, allow running dhcpcd on the live iso

Stefan Wold ratler at lunar-linux.org
Sun Nov 17 09:27:30 CET 2013


commit 4cc0a135b28bd4d2d848745a644e58e9a68e30ef
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 17 Nov 2013 00:26:16 -0800
URL: https://github.com/lunar-linux/lunar-iso/commit/4cc0a135b28bd4d2d848745a644e58e9a68e30ef

Fixed copying of skel files, allow running dhcpcd on the live iso
---
  mkfiles/iso.mk | +3/-1     
  1 file changed, 3 insertions(+), 1 deletion(-)

--- a/mkfiles/iso.mk
+++ b/mkfiles/iso.mk
@@ -44,7 +44,9 @@ $(ISO_TARGET)/.iso-files: iso-target
 	@> $(ISO_TARGET)/etc/machine-id
 	@ln -sf ../../tmp/random-seed $(ISO_TARGET)/var/lib/random-seed
 	@mkdir -p $(ISO_TARGET)/var/cache/man
-	@cp $(ISO_TARGET)/etc/skel/.* $(ISO_TARGET)/root/
+	@find $(ISO_TARGET)/etc/skel/ -type f -exec cp {} $(ISO_TARGET)/root/ \;
+	@ln -sf /tmp/resolv.conf $(ISO_TARGET)/etc/resolv.conf
+	@ln -sf /tmp/dhcpcd.duid $(ISO_TARGET)/etc/dhcpcd.duid
 	@touch $@
 
 iso-files: $(ISO_TARGET)/.iso-files $(addprefix $(ISO_TARGET)/etc/, $(ISO_ETC_FILES))




More information about the Lunar-commits mailing list