1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd-livecd.sh,v 1.7 2007-05-19 14:30:48 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd-livecd.sh,v 1.8 2008-03-31 13:48:24 niro Exp $ |
3 |
|
|
4 |
# mkinitrd-livecd |
# mkinitrd-livecd |
5 |
# |
# |
316 |
echo "$(which insmod.static)" |
echo "$(which insmod.static)" |
317 |
install -m0755 $(which insmod.static) ${DEST}/sbin/insmod || die |
install -m0755 $(which insmod.static) ${DEST}/sbin/insmod || die |
318 |
|
|
319 |
|
# install v86d for uvesafb support if installed |
320 |
|
if which v86d &> /dev/null |
321 |
|
then |
322 |
|
echo "$(which insmod.static)" |
323 |
|
install -m0755 $(which v86d) ${DEST}/sbin/v86d || die |
324 |
|
fi |
325 |
|
|
326 |
# create some needed device nodes |
# create some needed device nodes |
327 |
install -o root -g root -m0754 ${MAKEDEV} ${DEST}/dev/MAKEDEV || die |
install -o root -g root -m0754 ${MAKEDEV} ${DEST}/dev/MAKEDEV || die |
328 |
( cd ${DEST}/dev; ./MAKEDEV -v generic-nopty) |
( cd ${DEST}/dev; ./MAKEDEV -v generic-nopty) |