commit ca2a318
chld
·
2025-12-22 18:05:29 +0000 UTC
parent 029994c
setup-userland (hybird cutils yay) + readme
3 files changed,
+6,
-3
+2,
-2
1@@ -56,8 +56,8 @@ the installer doesnt baby you!
2 - [X] scripts work
3 - [X] installable to real hardware
4 - [ ] unified `/bin`
5-- [ ] hybrid userland
6-( using [baseutils](https://github.com/xplshn/baseutils) )
7+- [X] hybrid userland
8+- [ ] ...( using [baseutils](https://github.com/xplshn/baseutils) )
9
10 a working **input**+**drm** stack without:
11 - [X] `openrc sysinit`
+1,
-0
1@@ -46,4 +46,5 @@ chmod 755 $m/bin/toybox # ensure toybox is a executable
2 # linking!!
3 for i in ls mv cp rm mkdir ln unlink rmdir; do _swt toybox $i ; done
4 for i in tee touch cat less find; do _swt toybox $i ; done
5+for i in chmod chown; do _swt toybox $i ; done
6 for i in reboot poweroff halt; do _swt toybox $i ; done
+3,
-1
1@@ -9,6 +9,8 @@ _inc(){
2 # '
3 }
4 _swt(){
5- ln -sf $(_inc 'command -v $1') $(_inc 'command -v $2')
6+ #echo $1 $2
7+ $m/bin/ln -sf $m/bin/$1 $m/usr/bin/$2
8+ $m/bin/ln -sf $m/bin/$1 $m/sbin/$2
9 # usage: _swt toybox ln
10 }