[Lunar-commits] <lunar-iso> Corrected the systemd files.
Peter de Ridder
peter at lunar-linux.org
Sun Oct 13 22:07:14 CEST 2013
commit 9e0dd700d5fcf0a0db9405a7ecfee39bf588639a
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 06 Oct 2013 05:27:01 -0700
URL: https://github.com/lunar-linux/lunar-iso/commit/9e0dd700d5fcf0a0db9405a7ecfee39bf588639a
Corrected the systemd files.
---
livecd/template/etc/systemd/system/installer at .service | +1/-1
mkfiles/iso.mk | +2/-2
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/livecd/template/etc/systemd/system/installer at .service
+++ b/livecd/template/etc/systemd/system/installer at .service
@@ -17,7 +17,7 @@ ConditionPathExists=/dev/tty0
[Service]
# the VT is cleared by TTYVTDisallocate
-ExecStart=-/sbin/agetty --noclear %I -n -l su -o "-l -c /sbin/lunar-install"
+ExecStart=-/sbin/agetty --noclear %I -n -l /bin/su -o "-l -c /sbin/lunar-install"
Type=idle
Restart=always
RestartSec=0
--- a/mkfiles/iso.mk
+++ b/mkfiles/iso.mk
@@ -40,10 +40,10 @@ $(ISO_TARGET)/.iso-files: iso-target
@echo iso-files
@rm -f $(ISO_TARGET)/etc/systemd/system/getty.target.wants/getty\@tty1.service $(ISO_TARGET)/etc/dracut.conf.d/02-lunar-live.conf $(ISO_TARGET)/etc/ssh/ssh_host_*
@[ ! -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/systemd
+ @cp -r $(ISO_SOURCE)/livecd/template/etc/systemd $(ISO_TARGET)/etc
@> $(ISO_TARGET)/etc/machine-id
@ln -sf ../../tmp/random-seed $(ISO_TARGET)/var/lib/random-seed
- @mkdir $(ISO_TARGET)/var/cache/man
+ @mkdir -p $(ISO_TARGET)/var/cache/man
@touch $@
iso-files: $(ISO_TARGET)/.iso-files $(addprefix $(ISO_TARGET)/etc/, $(ISO_ETC_FILES))
More information about the Lunar-commits
mailing list