summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 36c9134c..24671480 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,10 @@ layout:
$(INSTALL) -d -m 0700 $(DESTDIR)/root
$(INSTALL) -d -m 1777 $(DESTDIR)/tmp
$(INSTALL) -d -m 1777 $(DESTDIR)/var/tmp
+ # Essential device nodes for init/openrc in early boot
+ # Nonfatal in case we are running as non-root
+ -mknod -m 0600 $(DESTDIR)/dev/console c 5 1
+ -mknod -m 0666 $(DESTDIR)/dev/null c 1 3
layout-usrmerge: layout
rm -fr ${DESTDIR}/bin