Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
a1c122c058 | |||
bea63084ab | |||
83b9a674a8
|
|||
26ffee5d7c | |||
8c3a81d0ee |
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) 2018-2019, Artix Linux
|
||||
Copyright (c) 2018-2021, Artix Linux
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
20
Makefile
20
Makefile
@@ -1,4 +1,4 @@
|
||||
VERSION = 0.10
|
||||
VERSION = 0.11.2
|
||||
|
||||
PKG = live-services
|
||||
TOOLS = artools
|
||||
@@ -52,6 +52,15 @@ S6_BUNDLE = \
|
||||
66_PI = \
|
||||
data/66/pacman-init
|
||||
|
||||
DINIT_LIVE = \
|
||||
data/dinit/artix-live
|
||||
|
||||
DINIT_PI = \
|
||||
data/dinit/pacman-init
|
||||
|
||||
DINIT_PI_SCRIPT = \
|
||||
data/dinit/pacman-init.script
|
||||
|
||||
XDG = $(wildcard data/*.desktop)
|
||||
|
||||
XBIN = bin/desktop-items
|
||||
@@ -125,6 +134,15 @@ install_66:
|
||||
install $(FMODE) $(66_LIVE) $(DESTDIR)$(SYSCONFDIR)/66/service/artix-live
|
||||
install $(FMODE) $(66_PI) $(DESTDIR)$(SYSCONFDIR)/66/service/pacman-init
|
||||
|
||||
install_dinit:
|
||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/scripts
|
||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
|
||||
install $(FMODE) $(DINIT_LIVE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/artix-live
|
||||
install $(FMODE) $(DINIT_PI) $(DESTDIR)$(SYSCONFDIR)/dinit.d/pacman-init
|
||||
install $(BMODE) $(DINIT_PI_SCRIPT) $(DESTDIR)$(SYSCONFDIR)/dinit.d/scripts/pacman-init
|
||||
ln -s ../artix-live $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
|
||||
ln -s ../pacman-init $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
|
||||
|
||||
install_xdg:
|
||||
install -dm0755 $(DESTDIR)$(PREFIX)/bin
|
||||
install -m0755 ${XBIN} $(DESTDIR)$(PREFIX)/bin
|
||||
|
@@ -28,6 +28,8 @@ if [[ -d /run/openrc ]]; then
|
||||
ln -s $docs/OpenRC.pdf "$xdg"/OpenRC.pdf
|
||||
elif [[ -d /run/runit ]]; then
|
||||
ln -s $docs/Runit.pdf "$xdg"/Runit.pdf
|
||||
elif [[ -d /run/66 ]]; then
|
||||
ln -s $docs/Suite66.pdf "$xdg"/Suite66.pdf
|
||||
else
|
||||
ln -s $docs/S6.pdf "$xdg"/S6.pdf
|
||||
fi
|
||||
|
4
data/dinit/artix-live
Normal file
4
data/dinit/artix-live
Normal file
@@ -0,0 +1,4 @@
|
||||
type = scripted
|
||||
command = /usr/bin/artix-live
|
||||
restart = false
|
||||
waits-for = setup
|
5
data/dinit/pacman-init
Normal file
5
data/dinit/pacman-init
Normal file
@@ -0,0 +1,5 @@
|
||||
type = scripted
|
||||
command = /etc/dinit.d/scripts/pacman-init
|
||||
stop-command = /usr/bin/umount -l /etc/pacman.d/gnupg
|
||||
restart = false
|
||||
waits-for = setup
|
4
data/dinit/pacman-init.script
Normal file
4
data/dinit/pacman-init.script
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
/usr/bin/mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg
|
||||
/usr/bin/pacman-key --init
|
||||
/usr/bin/pacman-key --populate artix
|
Reference in New Issue
Block a user