Move pacman-init to a service on its own

pull/1/head 0.4.6.1
M. Herdiansyah 5 years ago
parent 9c6b20fea3
commit 189ceeb7e7
  1. 10
      Makefile
  2. 5
      data/runit/pacman-init.run

@ -17,7 +17,11 @@ RC = \
data/rc/pacman-init \
data/rc/artix-live
RUNIT_SV = $(wildcard data/runit/*.sh)
RUNIT_CORE = \
data/runit/89-artix-live.sh
RUNIT_SV = \
data/runit/pacman-init.run
GRUB_DEFAULT = \
data/grub2-portable-efi
@ -57,7 +61,9 @@ install_rc:
install_runit:
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/runit/core-services
install -m0755 ${RUNIT_SV} $(DESTDIR)$(SYSCONFDIR)/runit/core-services
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/sv/pacman-init
install -m0755 ${RUNIT_CORE} $(DESTDIR)$(SYSCONFDIR)/runit/core-services
install -m0755 ${RUNIT_SV} $(DESTDIR)$(SYSCONFDIR)/sv/pacman-init/run
install_portable_efi:
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/default

@ -1,6 +1,5 @@
msg "Mounting temporary gnupg directory"
#!/bin/sh
mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg
msg "Initializing pacman"
pacman-key --init
pacman-key --populate archlinux artix
exec pause pacman-init
Loading…
Cancel
Save