Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9c6b20fea3 | |||
9a514cc3ca |
13
Makefile
13
Makefile
@@ -17,13 +17,15 @@ RC = \
|
|||||||
data/rc/pacman-init \
|
data/rc/pacman-init \
|
||||||
data/rc/artix-live
|
data/rc/artix-live
|
||||||
|
|
||||||
|
RUNIT_SV = $(wildcard data/runit/*.sh)
|
||||||
|
|
||||||
GRUB_DEFAULT = \
|
GRUB_DEFAULT = \
|
||||||
data/grub2-portable-efi
|
data/grub2-portable-efi
|
||||||
|
|
||||||
GRUB_D = \
|
GRUB_D = \
|
||||||
data/99_zzz-portable-efi
|
data/99_zzz-portable-efi
|
||||||
|
|
||||||
all: $(BIN) $(RC) $(XBIN) ${GRUB_D}
|
all: $(BIN) $(RC) $(RUNIT_SV) $(XBIN) ${GRUB_D}
|
||||||
|
|
||||||
edit = sed -e "s|@datadir[@]|$(DESTDIR)$(PREFIX)/share/artools|g" \
|
edit = sed -e "s|@datadir[@]|$(DESTDIR)$(PREFIX)/share/artools|g" \
|
||||||
-e "s|@sysconfdir[@]|$(DESTDIR)$(SYSCONFDIR)/artools|g" \
|
-e "s|@sysconfdir[@]|$(DESTDIR)$(SYSCONFDIR)/artools|g" \
|
||||||
@@ -53,6 +55,10 @@ install_rc:
|
|||||||
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/init.d
|
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/init.d
|
||||||
install -m0755 ${RC} $(DESTDIR)$(SYSCONFDIR)/init.d
|
install -m0755 ${RC} $(DESTDIR)$(SYSCONFDIR)/init.d
|
||||||
|
|
||||||
|
install_runit:
|
||||||
|
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/runit/core-services
|
||||||
|
install -m0755 ${RUNIT_SV} $(DESTDIR)$(SYSCONFDIR)/runit/core-services
|
||||||
|
|
||||||
install_portable_efi:
|
install_portable_efi:
|
||||||
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/default
|
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/default
|
||||||
install -m0755 $(GRUB_DEFAULT) $(DESTDIR)$(SYSCONFDIR)/default
|
install -m0755 $(GRUB_DEFAULT) $(DESTDIR)$(SYSCONFDIR)/default
|
||||||
@@ -72,9 +78,12 @@ uninstall_portable_efi:
|
|||||||
uninstall_rc:
|
uninstall_rc:
|
||||||
for f in ${RC}; do rm -f $(DESTDIR)$(SYSCONFDIR)/init.d/$$f; done
|
for f in ${RC}; do rm -f $(DESTDIR)$(SYSCONFDIR)/init.d/$$f; done
|
||||||
|
|
||||||
|
uninstall_runit:
|
||||||
|
for f in ${RUNIT_SV}; do rm -f $(DESTDIR)$(SYSCONFDIR)/runit/sv/$$f; done
|
||||||
|
|
||||||
install: install_base install_rc install_portable_efi
|
install: install_base install_rc install_portable_efi
|
||||||
|
|
||||||
uninstall: uninstall_base uninstall_rc uninstall_portable_efi
|
uninstall: uninstall_base uninstall_rc uninstall_runit uninstall_portable_efi
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
git archive --format=tar --prefix=live-services-$(Version)/ $(Version) | gzip -9 > live-services-$(Version).tar.gz
|
git archive --format=tar --prefix=live-services-$(Version)/ $(Version) | gzip -9 > live-services-$(Version).tar.gz
|
||||||
|
2
data/runit/89-artix-live.sh
Normal file
2
data/runit/89-artix-live.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
msg "Initializing artix-live script"
|
||||||
|
artix-live
|
6
data/runit/90-pacman-init.sh
Normal file
6
data/runit/90-pacman-init.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
msg "Mounting temporary gnupg directory"
|
||||||
|
mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg
|
||||||
|
|
||||||
|
msg "Initializing pacman"
|
||||||
|
pacman-key --init
|
||||||
|
pacman-key --populate archlinux artix
|
Reference in New Issue
Block a user