From e5695c3fa1e7f423c8efec765cdf7f78a9d50576 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 8 Feb 2006 18:28:09 +0000 Subject: 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 --- initrd/mkdxsinitrd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'initrd/mkdxsinitrd') 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 -- cgit v1.2.3-55-g7522