Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
e3c3b5d9a5 | |||
edaf1d8c0b | |||
3d97503604 |
12
Makefile
12
Makefile
@@ -46,6 +46,12 @@ S6_BUNDLE = \
|
||||
data/s6/live/type \
|
||||
data/s6/live/contents
|
||||
|
||||
66_LIVE = \
|
||||
data/66/artix-live
|
||||
|
||||
66_PI = \
|
||||
data/66/pacman-init
|
||||
|
||||
XDG = $(wildcard data/*.desktop)
|
||||
|
||||
XBIN = bin/desktop-items
|
||||
@@ -113,6 +119,12 @@ install_s6:
|
||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/live
|
||||
install $(BMODE) $(S6_BUNDLE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/live/
|
||||
|
||||
install_66:
|
||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/66/service
|
||||
|
||||
install $(FMODE) $(66_LIVE) $(DESTDIR)$(SYSCONFDIR)/66/service/artix-live
|
||||
install $(FMODE) $(66_PI) $(DESTDIR)$(SYSCONFDIR)/66/service/pacman-init
|
||||
|
||||
install_xdg:
|
||||
install -dm0755 $(DESTDIR)$(PREFIX)/bin
|
||||
install -m0755 ${XBIN} $(DESTDIR)$(PREFIX)/bin
|
||||
|
8
data/66/artix-live
Normal file
8
data/66/artix-live
Normal file
@@ -0,0 +1,8 @@
|
||||
[main]
|
||||
@type = oneshot
|
||||
@version = 0.0.1
|
||||
@description = "artix-live service"
|
||||
@user = ( root )
|
||||
|
||||
[start]
|
||||
@execute = (artix-live)
|
13
data/66/pacman-init
Normal file
13
data/66/pacman-init
Normal file
@@ -0,0 +1,13 @@
|
||||
[main]
|
||||
@type = oneshot
|
||||
@description = "pacman init service"
|
||||
@version = 0.0.1
|
||||
@user = (root)
|
||||
|
||||
[start]
|
||||
@execute = (
|
||||
foreground { mkdir -p /etc/pacman.d/gnupg }
|
||||
foreground { mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg }
|
||||
fdmove -c 2 1
|
||||
foreground { pacman-key --init }
|
||||
foreground { pacman-key --populate archlinux artix } )
|
Reference in New Issue
Block a user