2 Commits

Author SHA1 Message Date
189ceeb7e7 Move pacman-init to a service on its own 2018-02-17 13:12:39 +07:00
9c6b20fea3 Fix typo 2018-02-17 12:00:58 +07:00
3 changed files with 13 additions and 8 deletions

View File

@@ -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

View File

@@ -1,6 +0,0 @@
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

View File

@@ -0,0 +1,5 @@
#!/bin/sh
mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux artix
exec pause pacman-init