FDS/OS 1.0

This commit is contained in:
2026-09-21 22:29:23 +08:00
commit 99bc3d15c5
430 changed files with 34876 additions and 0 deletions
@@ -0,0 +1,4 @@
# Retain upstream package integrity while excluding unused runit service scripts.
noextract=/etc/sv/*
noextract=/etc/runit/*
syslog=false
+2
View File
@@ -0,0 +1,2 @@
# Native init prepares volatile mounts; the kernel or stage 0 supplies the root.
# No SYSTEM or DATA device is guessed here.
+31
View File
@@ -0,0 +1,31 @@
root:x:0:
bin:x:1:
sys:x:2:
kmem:x:3:
wheel:x:4:
tty:x:5:
tape:x:6:
daemon:x:7:
floppy:x:8:
disk:x:9:
lp:x:10:
dialout:x:11:
audio:x:12:
video:x:13:
utmp:x:14:
adm:x:15:
cdrom:x:16:
optical:x:17:
mail:x:18:
storage:x:19:
scanner:x:20:
network:x:21:
kvm:x:24:
input:x:25:
plugdev:x:26:
usbmon:x:27:
sgx:x:28:
nogroup:x:99:
users:x:100:
xbuilder:x:101:
fds:x:1000:
+31
View File
@@ -0,0 +1,31 @@
root:!::
fds:!::
bin:!::
sys:!::
kmem:!::
wheel:!::
tty:!::
tape:!::
daemon:!::
floppy:!::
disk:!::
lp:!::
dialout:!::
audio:!::
video:!::
utmp:!::
adm:!::
cdrom:!::
optical:!::
mail:!::
storage:!::
scanner:!::
network:!::
kvm:!::
input:!::
plugdev:!::
usbmon:!::
sgx:!::
nogroup:!::
users:!::
xbuilder:!::
+1
View File
@@ -0,0 +1 @@
fds
+3
View File
@@ -0,0 +1,3 @@
127.0.0.1 localhost
::1 localhost
127.0.1.1 fds
+1
View File
@@ -0,0 +1 @@
FDS/OS 0.1
+13
View File
@@ -0,0 +1,13 @@
{
"directories": {
"usr/bin": "0755", "usr/lib": "0755", "etc": "0755", "var": "0755",
"dev": "0755", "proc": "0755", "sys": "0755", "run": "0755",
"tmp": "1777", "root": "0700", "home": "0755", "home/fds": "0755", "mnt": "0755",
"media": "0755", "data": "0755", "var/tmp": "1777", "var/log": "0755", "var/empty": "0755"
},
"symlinks": {
"bin": "usr/bin", "sbin": "usr/bin", "usr/sbin": "bin",
"lib": "usr/lib", "lib64": "usr/lib", "usr/lib64": "lib",
"var/run": "../run", "var/lock": "../run/lock"
}
}
@@ -0,0 +1 @@
LANG=en_US.UTF-8
@@ -0,0 +1,9 @@
passwd: files
group: files
shadow: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
+6
View File
@@ -0,0 +1,6 @@
NAME="FDS/OS"
PRETTY_NAME="FDS/OS 0.1 (M2 development rootfs)"
ID=fds
ID_LIKE=void
VERSION_ID=0.1
VERSION="0.1 (M2)"
+3
View File
@@ -0,0 +1,3 @@
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/var/empty:/usr/bin/nologin
fds:x:1000:1000:FDS User:/home/fds:/bin/bash
+28
View File
@@ -0,0 +1,28 @@
# English UTF-8 by default. Interactive shells are userspace, never PID 1.
export PATH=/usr/bin:/bin
export LANG=en_US.UTF-8
export TZ=UTC
umask 022
for f in /etc/profile.d/*.sh; do
[ ! -r "$f" ] || . "$f"
done
unset f
case $- in
*i*)
PS1='FDS# '
if [ "${UID:-}" = 0 ] && [ "$(cat /usr/share/fds/image-profile)" = recovery ]; then
PS1='RECOVERY# '
/usr/bin/fds-boottrace mark console-ready || true
fi
if [ "${UID:-}" = 1000 ]; then
PS1='FDS> '
_fds_first_prompt() {
/usr/bin/fds-boottrace mark console-ready || true
printf '\nREADY.\n'
unset PROMPT_COMMAND
unset -f _fds_first_prompt
}
PROMPT_COMMAND=_fds_first_prompt
fi
;;
esac
+3
View File
@@ -0,0 +1,3 @@
root:!:20000:0:99999:7:::
nobody:!:20000:0:99999:7:::
fds:!:20000:0:99999:7:::