aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-core/runit/runit-config/1
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-20 14:10:06 +1200
committerArslaan Pathan <[email protected]>2026-06-20 14:10:06 +1200
commitc7e499357fac8bfdf3bd11550a6ed3187d46efc6 (patch)
treecedaef9237d69c649b25c9d5f93bcd2819acf25e /meta-yerba/recipes-core/runit/runit-config/1
parent00ac78984c30beb67e3fe1a1f7ab524f4752f7c0 (diff)
downloadyerbalinux-c7e499357fac8bfdf3bd11550a6ed3187d46efc6.tar.xz
yerbalinux-c7e499357fac8bfdf3bd11550a6ed3187d46efc6.zip
tty0 getty
Diffstat (limited to 'meta-yerba/recipes-core/runit/runit-config/1')
-rw-r--r--meta-yerba/recipes-core/runit/runit-config/16
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-yerba/recipes-core/runit/runit-config/1 b/meta-yerba/recipes-core/runit/runit-config/1
index e139ea1..4288a23 100644
--- a/meta-yerba/recipes-core/runit/runit-config/1
+++ b/meta-yerba/recipes-core/runit/runit-config/1
@@ -1,7 +1,9 @@
#!/bin/sh
export PATH=/usr/bin:/bin:/sbin
+mkdir -p /dev/pts /proc /sys
+mount -t devpts devpts /dev/pts -o mode=0620,gid=5
+mount -t proc proc /proc
+mount -t sysfs sysfs /sys
mount -a
hostname -F /etc/hostname 2>/dev/null || hostname yerba-live
-mkdir -p /dev/pts
-mount -t devpts none /dev/pts 2>/dev/null || true