diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/artix-boot-tree | 37 | ||||
-rw-r--r-- | docs/create-s6-base | 24 | ||||
-rw-r--r-- | docs/log-display_template | 28 | ||||
-rw-r--r-- | docs/requirements | 19 |
4 files changed, 108 insertions, 0 deletions
diff --git a/docs/artix-boot-tree b/docs/artix-boot-tree new file mode 100644 index 0000000..f5f6b13 --- /dev/null +++ b/docs/artix-boot-tree @@ -0,0 +1,37 @@ +default +└── boot + ├── misc + │ ├── hostname + │ ├── hwclock + │ ├── kmod-static-nodes + │ ├── modules + │ ├── rc-local + │ └── tmpfiles-dev + ├── mount + │ ├── mount-cgroups + │ ├── mount-devfs + │ ├── mount-filesystems + │ ├── mount-net + │ ├── mount-procfs + │ ├── mount-sysfs + │ └── remount-root + ├── setup + │ ├── binfmt + │ ├── cleanup + │ ├── console-setup + │ ├── dmesg + │ ├── getty + │ ├── net-lo + │ ├── random-seed + │ ├── swap + │ ├── sysctl + │ ├── sysusers * uncomment contents if esysusers is installed * + │ └── tmpfiles-setup + └── udev + ├── udevadm + │ ├── udevadm-log + │ └── udevadm-srv + └── udevd + ├── udevd-log + └── udevd-srv + diff --git a/docs/create-s6-base b/docs/create-s6-base new file mode 100644 index 0000000..d786a75 --- /dev/null +++ b/docs/create-s6-base @@ -0,0 +1,24 @@ +#! /bin/bash + +## Create the base + +s6-linux-init-maker \ + -c /etc/s6/base \ + -u root \ + -G "/sbin/agetty -L -8 tty1 115200" \ + -L \ + -p "/bin:/sbin:/usr/bin" \ + -m 022 \ + -t 2 \ + -D default \ + -U utmp \ + /BUILD/etc/s6/base + +## Modify scripts in base + +# For rc.init: +### If your services are managed by s6-rc: +### (replace /run/service with your scandir) +#s6-rc-init -c /etc/s6/db/current /run/service + +# Check other scripts and only uncomment for s6 & s6-rc diff --git a/docs/log-display_template b/docs/log-display_template new file mode 100644 index 0000000..5a2855a --- /dev/null +++ b/docs/log-display_template @@ -0,0 +1,28 @@ +|--((( S6+S6-rc Bootscripts v 5.0.0 )))---| +[ Virtual-FS ] 1/6 : Mounting /proc +[ Virtual-FS ] 0/6 : Creating mount points +[ Read-Only Mode ] 3/9 : Setting hostname +[ Virtual-FS ] 2/6 : Mounting /sys +[ Virtual-FS ] 5/6 : Mounting securityfs +[ Virtual-FS ] 6/6 : Mounting EFI-vars-fs +[ Read-Only Mode ] 5/9 : Setting up Kernel Static Node(s) +[ Virtual-FS ] 3/6 : Mounting /dev/pts +[ Virtual-FS ] 4/6 : Mounting /dev/shm +[ Read-Only Mode ] 8/9 : Intializing udev daemon +[ Read-Only Mode ] 9/9 : Setting up devices & subsystems +[ Read-Only Mode ] 1/9 : Mounting cgroups +[ Services ] : Enabling tty3 +[ Services ] : Enabling tty2 +[ Read-Only Mode ] 0/9 : Setting kernel parameters +[ Read-Only Mode ] 7/9 : Turning on any swap/swap-files +[ Read-Only Mode ] 4/9 : Setting system clock from rtc0 +[ Read-Only Mode ] 6/9 : Loading any kernel modules +[ Read-Only Mode ] 2/9 : Setting up console +[ ReadWrite Mode ] 1/6 : Remounting root filesystem as rw +[ ReadWrite Mode ] 4/6 : Restoring random seed +[ ReadWrite Mode ] 2/6 : Logging kernel boot +[ ReadWrite Mode ] 0/6 : Cleaning /tmp +[ ReadWrite Mode ] 3/6 : Setting up network loopback device +[ ReadWrite Mode ] 5/6 : Cleaning tempfiles +[ ReadWrite Mode ] 6/6 : Setting up tmpfiles +[ Networking ] : Bringing up any network interfaces... diff --git a/docs/requirements b/docs/requirements new file mode 100644 index 0000000..90eddb4 --- /dev/null +++ b/docs/requirements @@ -0,0 +1,19 @@ +## Reguired file paths: + +/sbin/init ...................... required by kernel, executes s6-linux-init with arguments +/usr/bin/sysusers ............... if esysusers is installed +/usr/bin/module-load ............ Load kernel modules at boot +/etc/vconsole.conf .............. Set key map and console font +/sbin/mkinitramfs ............... create initramfs.img +/sbin/ifup ...................... Brings up network interfaces +/sbin/ifdown .................... Brings down network interfaces +/usr/share/mkinitramfs/init.in .. config for mkinitramfs +/bin/tmpfiles ................... for creating tempdirs +/etc/s6/scripts/clean_tmp.sh .... Required by cleantmp service +/etc/s6/scripts/mount-cgroups ... Required by the cgroups service +/etc/s6/scripts/console_set.sh .. Required by the console service + +## Required directories: + +/etc/sysconfig/ifconfig.* ....... To setup network interfaces during boot +/lib/services ................... Helper scripts for ifup/ifdown |