summaryrefslogtreecommitdiffstats
path: root/initrd/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-02-08 19:28:09 +0100
committerDirk von Suchodoletz2006-02-08 19:28:09 +0100
commite5695c3fa1e7f423c8efec765cdf7f78a9d50576 (patch)
treeddc08322dcc29c9b871aabc133e5f7f16c9b3d81 /initrd/mkdxsinitrd
parentChanged pivoting mechanism to new style (run-init from klibc) ... (diff)
downloadcore-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.tar.gz
core-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.tar.xz
core-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.zip
Major additions to preinit funktion in functions-10.1, switch over to
new pivoting/run-init completed. Fixup in a function for new udev in general functions ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@66 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-xinitrd/mkdxsinitrd8
1 files changed, 5 insertions, 3 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index d3515080..b77319cd 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -288,7 +288,6 @@ case "${DISTRO}" in
;;
10*)
DISTRO_VER=10.1
- cobi mknod bin
;;
esac
@@ -305,9 +304,12 @@ esac
copy_distro_stuff ${DISTRO} ${DISTRO_VER}
+# devices needed rather early (copied from /tmp to /dev in init)
+mknod ${INSTDIR}/tmp/console c 5 1 &>/dev/null
+mknod ${INSTDIR}/tmp/null c 1 3 &>/dev/null
+mknod ${INSTDIR}/tmp/kmsg c 1 11 &>/dev/null
-
-#if no klibc
+#if no klibc - klibc shell seems not to have enough functionality :-(
for bbins in bash ash sh; do
if cobi ${bbins} bin ; then
ln -fs ${bbins} ${INSTDIR}/bin/sh