Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
65c79b931c | |||
19fae52dc0 | |||
1f62798998 | |||
231acc723b | |||
dafee38770 | |||
91f8c5d64a | |||
0bff2c5715
|
|||
88ebe2ee63
|
|||
d253e889c5
|
|||
71cb6715a5
|
|||
a4c443b658 | |||
a1c122c058 | |||
bea63084ab |
27
Makefile
27
Makefile
@@ -1,4 +1,4 @@
|
|||||||
VERSION = 0.11.2
|
VERSION = 0.12.2
|
||||||
|
|
||||||
PKG = live-services
|
PKG = live-services
|
||||||
TOOLS = artools
|
TOOLS = artools
|
||||||
@@ -42,16 +42,21 @@ S6_PI = \
|
|||||||
data/s6/pacman-init/up \
|
data/s6/pacman-init/up \
|
||||||
data/s6/pacman-init/down
|
data/s6/pacman-init/down
|
||||||
|
|
||||||
S6_BUNDLE = \
|
|
||||||
data/s6/live/type \
|
|
||||||
data/s6/live/contents
|
|
||||||
|
|
||||||
66_LIVE = \
|
66_LIVE = \
|
||||||
data/66/artix-live
|
data/66/artix-live
|
||||||
|
|
||||||
66_PI = \
|
66_PI = \
|
||||||
data/66/pacman-init
|
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)
|
XDG = $(wildcard data/*.desktop)
|
||||||
|
|
||||||
XBIN = bin/desktop-items
|
XBIN = bin/desktop-items
|
||||||
@@ -116,15 +121,21 @@ install_s6:
|
|||||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live
|
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live
|
||||||
install $(BMODE) $(S6_LIVE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live/
|
install $(BMODE) $(S6_LIVE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live/
|
||||||
|
|
||||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/live
|
|
||||||
install $(BMODE) $(S6_BUNDLE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/live/
|
|
||||||
|
|
||||||
install_66:
|
install_66:
|
||||||
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/66/service
|
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/66/service
|
||||||
|
|
||||||
install $(FMODE) $(66_LIVE) $(DESTDIR)$(SYSCONFDIR)/66/service/artix-live
|
install $(FMODE) $(66_LIVE) $(DESTDIR)$(SYSCONFDIR)/66/service/artix-live
|
||||||
install $(FMODE) $(66_PI) $(DESTDIR)$(SYSCONFDIR)/66/service/pacman-init
|
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/live.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/live.d
|
||||||
|
ln -s ../pacman-init $(DESTDIR)$(SYSCONFDIR)/dinit.d/live.d
|
||||||
|
|
||||||
install_xdg:
|
install_xdg:
|
||||||
install -dm0755 $(DESTDIR)$(PREFIX)/bin
|
install -dm0755 $(DESTDIR)$(PREFIX)/bin
|
||||||
install -m0755 ${XBIN} $(DESTDIR)$(PREFIX)/bin
|
install -m0755 ${XBIN} $(DESTDIR)$(PREFIX)/bin
|
||||||
|
@@ -30,6 +30,8 @@ elif [[ -d /run/runit ]]; then
|
|||||||
ln -s $docs/Runit.pdf "$xdg"/Runit.pdf
|
ln -s $docs/Runit.pdf "$xdg"/Runit.pdf
|
||||||
elif [[ -d /run/66 ]]; then
|
elif [[ -d /run/66 ]]; then
|
||||||
ln -s $docs/Suite66.pdf "$xdg"/Suite66.pdf
|
ln -s $docs/Suite66.pdf "$xdg"/Suite66.pdf
|
||||||
|
elif [[ -d /run/dinit ]]; then
|
||||||
|
ln -s $docs/Dinit.pdf "$xdg"/Dinit.pdf
|
||||||
else
|
else
|
||||||
ln -s $docs/S6.pdf "$xdg"/S6.pdf
|
ln -s $docs/S6.pdf "$xdg"/S6.pdf
|
||||||
fi
|
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
|
@@ -1,11 +1,13 @@
|
|||||||
#!/usr/bin/openrc-run
|
#!/usr/bin/openrc-run
|
||||||
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
|
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
|
||||||
|
# Copyright 2017-2021 The Artix Linux developers
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
description="LiveMedia Config Script"
|
description="LiveMedia Config Script"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need localmount
|
need localmount
|
||||||
|
before display-manager ly
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
artix-live
|
|
||||||
pacman-init
|
|
@@ -1 +0,0 @@
|
|||||||
bundle
|
|
@@ -1,6 +1,5 @@
|
|||||||
#!@bindir@/execlineb -P
|
#!@bindir@/execlineb -P
|
||||||
foreground { mkdir -p /etc/pacman.d/gnupg }
|
foreground { mkdir -p /etc/pacman.d/gnupg }
|
||||||
foreground { mount -t tmpfs -o size=10M,mode=0755 tmpfs /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 --init }
|
||||||
foreground { pacman-key --populate artix }
|
foreground { pacman-key --populate artix }
|
||||||
|
Reference in New Issue
Block a user