update according to beta-01 image release of April 20th 2022

3 more scripts to use for simplification and speed of setup.
This commit is contained in:
joborun linux 2022-04-20 14:23:48 +00:00
parent 84390aab87
commit 20c7aefccb

View file

@ -92,8 +92,54 @@ time: calculates the time interval from initiating the process till it ends, whi
numactl: is a program that lets you control on which processors to execute the program. In this example imagine an 8core/thread machine with every other processor being used, to minimize both heat and maintain high functionality on the rest of the system. The makepkg -f cleans up from previous run and starts building from 0.
<b>Add s6 and 66 for alternative init and supervision system.</b>
/home/make/add.66
This is how simple it is but only when the setup pre-exists from our tarball image. To recreate the setup use the script following this one before you reboot.
<pre>
#!/usr/bin/zsh
sudo pacman -Rdd opensysusers --noconfirm
sudo pacman -S jobo66 --noconfirm
echo "enter to reboot Ctl-C to do more before rebooting"
read
reboot
</pre>
/home/make/66.setup
This script can be used initially or whenever you have managed to mess things up and don't know how to return to a bootable system with the initial joborun default setup.
<pre>
#!/bin/sh
sudo 66-tree -R net
sudo 66-tree -R root
sudo 66-tree -R boot
sudo 66-tree -n boot
sudo 66-tree -nE net
sudo 66-tree -ncE -S net root
sudo 66-enable -t boot -F boot@sys
sudo 66-enable -t net dhclient@eth0 dhclient@wlan0 wpa_supplicant@wlan0
sudo 66-enable -t root ntpd</pre>
you can add, and should add, sudo <b> 66-env -t boot -e nano boot@sys </b> and edit your boot module to your liking, then use enable -F boot@sys to pass the changes to the boot module. The configuration script is pretty explanatory, but refer to the obarun wiki for details.
/home/make/rm.66
<pre>
#!/usr/bin/zsh
echo "you should ONLY remove 66 when you have booted with runit, otherwise"
echo "your system can not properly shutdown/reboot and may become corrupted"
echo "Type Ctrl-C to escape, if your pid1 is runit-init hit Enter"
read
sudo pacman -Rnsu jobo66 s6-suite boot-66serv tty@-66serv dhclient-66serv ntpd-66serv wpa_supplicant-66serv obsysusers s6-dns s6-networking --noconfirm
sudo pacman -S opensysusers --noconfirm
echo "you can now reboot and s6/66 is removed and you are back at a runit only system"
echo "you can run ~/add.66 again at any time and reboot to 66"
</pre>
### More scripts to follow: ###
<pre>
</pre>