summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-03 18:01:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-03 18:01:11 +0000
commitd7e8c75b56a90940bb4bdb18de72f641ade0a042 (patch)
tree23fd6ffe06f3e7941e345c69771b1eef95854560 /layout
parenta57659465b7eadbfec6d5bb09de6f60903035bf2 (diff)
downloadlh-bootstrap-d7e8c75b56a90940bb4bdb18de72f641ade0a042.tar.xz
Modernize, convert to s6li v1
Diffstat (limited to 'layout')
-rw-r--r--layout/rootfs/etc/s6-linux-init/env/PATH1
-rw-r--r--layout/rootfs/run/.empty (renamed from layout/rootfs/run/shm/.empty)0
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGHUP1
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGINT3
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGQUIT1
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGTERM1
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGUSR11
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/SIGUSR21
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/crash3
-rwxr-xr-xlayout/rootfs/run/service/.s6-svscan/finish3
-rwxr-xr-xlayout/rootfs/run/service/s6-linux-init-early-getty/run3
-rwxr-xr-xlayout/rootfs/run/service/s6-svscan-log/run7
-rw-r--r--layout/rootfs/run/uncaught-logs/.empty0
13 files changed, 0 insertions, 25 deletions
diff --git a/layout/rootfs/etc/s6-linux-init/env/PATH b/layout/rootfs/etc/s6-linux-init/env/PATH
deleted file mode 100644
index a13f7be..0000000
--- a/layout/rootfs/etc/s6-linux-init/env/PATH
+++ /dev/null
@@ -1 +0,0 @@
-/command:/bin
diff --git a/layout/rootfs/run/shm/.empty b/layout/rootfs/run/.empty
index e69de29..e69de29 100644
--- a/layout/rootfs/run/shm/.empty
+++ b/layout/rootfs/run/.empty
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGHUP b/layout/rootfs/run/service/.s6-svscan/SIGHUP
deleted file mode 100755
index ef7d2c9..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGHUP
+++ /dev/null
@@ -1 +0,0 @@
-#!/command/execlineb -P
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGINT b/layout/rootfs/run/service/.s6-svscan/SIGINT
deleted file mode 100755
index a547aad..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGINT
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/command/execlineb -P
-
-reboot
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGQUIT b/layout/rootfs/run/service/.s6-svscan/SIGQUIT
deleted file mode 100755
index ef7d2c9..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGQUIT
+++ /dev/null
@@ -1 +0,0 @@
-#!/command/execlineb -P
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGTERM b/layout/rootfs/run/service/.s6-svscan/SIGTERM
deleted file mode 100755
index ef7d2c9..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGTERM
+++ /dev/null
@@ -1 +0,0 @@
-#!/command/execlineb -P
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGUSR1 b/layout/rootfs/run/service/.s6-svscan/SIGUSR1
deleted file mode 100755
index ef7d2c9..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGUSR1
+++ /dev/null
@@ -1 +0,0 @@
-#!/command/execlineb -P
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGUSR2 b/layout/rootfs/run/service/.s6-svscan/SIGUSR2
deleted file mode 100755
index ef7d2c9..0000000
--- a/layout/rootfs/run/service/.s6-svscan/SIGUSR2
+++ /dev/null
@@ -1 +0,0 @@
-#!/command/execlineb -P
diff --git a/layout/rootfs/run/service/.s6-svscan/crash b/layout/rootfs/run/service/.s6-svscan/crash
deleted file mode 100755
index c9ca6d5..0000000
--- a/layout/rootfs/run/service/.s6-svscan/crash
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/command/execlineb -P
-
-reboot -f
diff --git a/layout/rootfs/run/service/.s6-svscan/finish b/layout/rootfs/run/service/.s6-svscan/finish
deleted file mode 100755
index c9ca6d5..0000000
--- a/layout/rootfs/run/service/.s6-svscan/finish
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/command/execlineb -P
-
-reboot -f
diff --git a/layout/rootfs/run/service/s6-linux-init-early-getty/run b/layout/rootfs/run/service/s6-linux-init-early-getty/run
deleted file mode 100755
index c48b72d..0000000
--- a/layout/rootfs/run/service/s6-linux-init-early-getty/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/command/execlineb -P
-
-getty -L -H %%HOSTNAME%% 38400 /dev/%%CONSOLE%%
diff --git a/layout/rootfs/run/service/s6-svscan-log/run b/layout/rootfs/run/service/s6-svscan-log/run
deleted file mode 100755
index 896a294..0000000
--- a/layout/rootfs/run/service/s6-svscan-log/run
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/command/execlineb -P
-
-redirfd -w 2 /dev/console
-redirfd -w 1 /dev/null
-redirfd -rnb 0 fifo
-s6-applyuidgid -u 98 -g 98 --
-s6-log -bp -- t /run/uncaught-logs
diff --git a/layout/rootfs/run/uncaught-logs/.empty b/layout/rootfs/run/uncaught-logs/.empty
deleted file mode 100644
index e69de29..0000000
--- a/layout/rootfs/run/uncaught-logs/.empty
+++ /dev/null