diff options
author | Dirk von Suchodoletz | 2006-02-06 12:56:43 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-02-06 12:56:43 +0100 |
commit | b523ca5d931e47f684dcb828c82572169c1cf625 (patch) | |
tree | 6f86453a9e6487ec0a611861a6fc9d381339dffe /initrd/mkdxsinitrd | |
parent | Small hack to handle start of display manager in a better way - avoid (diff) | |
download | core-b523ca5d931e47f684dcb828c82572169c1cf625.tar.gz core-b523ca5d931e47f684dcb828c82572169c1cf625.tar.xz core-b523ca5d931e47f684dcb828c82572169c1cf625.zip |
Fixed small bug in mkdxsinitrd/repco (link copying) and moved the
udev/hotplug stuff into distro-specific functions file.
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@62 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-x | initrd/mkdxsinitrd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd index 5670021b..5d78633a 100755 --- a/initrd/mkdxsinitrd +++ b/initrd/mkdxsinitrd @@ -3,7 +3,7 @@ # Description: universal (distro independent) generator for initial # ramdisks for linux diskless clients # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 03-02-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 06-02-2006 # Nico Dietrich # Blub # @@ -92,6 +92,8 @@ if [ -d initrd-stuff/${FILENAME} ] ; then else if file initrd-stuff/${FILENAME}| grep "ELF" &>/dev/null ; then cp initrd-stuff/${FILENAME} ${INSTDIR}/${FILENAME} + elif [ -L initrd-stuff/${FILENAME} ] ; then + cp -a initrd-stuff/${FILENAME} ${INSTDIR}/${FILENAME%/*} else sed -e "s,@@@INSTDIR@@@,${INSTDIR},g" \ -e "s,@@@NWMODULES@@@,${NWMODULES},g" \ |