Move device file symlinks into the base repo

This commit is contained in:
bjorn3
2026-04-22 21:48:50 +02:00
parent 463f76b960
commit 1633b96135
+11
View File
@@ -117,3 +117,14 @@ install-base: base $(SYSROOT)/bin/redoxfs
# Distribute initfs
@mkdir -pv "$(DESTDIR)/usr/lib/boot"
cp -v "$(BUILD_DIR)/initfs.img" "$(DESTDIR)/usr/lib/boot/initfs"
# Device file symlinks
@mkdir -pv "$(DESTDIR)/dev"
ln -s /scheme/null $(DESTDIR)/dev/null
ln -s /scheme/rand $(DESTDIR)/dev/random
ln -s /scheme/rand $(DESTDIR)/dev/urandom
ln -s /scheme/zero $(DESTDIR)/dev/zero
ln -s libc:tty $(DESTDIR)/dev/tty
ln -s libc:stdin $(DESTDIR)/dev/stdin
ln -s libc:stdout $(DESTDIR)/dev/stdout
ln -s libc:stderr $(DESTDIR)/dev/stderr