1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/mkinitrd-livecd.in,v 1.2 2008-01-14 19:35:02 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/mkinitrd-livecd.in,v 1.3 2008-03-31 13:50:09 niro Exp $ |
3 |
|
|
4 |
# mkinitrd-livecd |
# mkinitrd-livecd |
5 |
# |
# |
331 |
echo "$(which insmod.static)" |
echo "$(which insmod.static)" |
332 |
install -m0755 $(which insmod.static) ${DEST}/sbin/insmod || die |
install -m0755 $(which insmod.static) ${DEST}/sbin/insmod || die |
333 |
|
|
334 |
|
# install v86d for uvesafb support if installed |
335 |
|
if which v86d &> /dev/null |
336 |
|
then |
337 |
|
echo "$(which insmod.static)" |
338 |
|
install -m0755 $(which v86d) ${DEST}/sbin/v86d || die |
339 |
|
fi |
340 |
|
|
341 |
# create some needed device nodes |
# create some needed device nodes |
342 |
install -o root -g root -m0754 ${MAKEDEV} ${DEST}/dev/MAKEDEV || die |
install -o root -g root -m0754 ${MAKEDEV} ${DEST}/dev/MAKEDEV || die |
343 |
( cd ${DEST}/dev; ./MAKEDEV -v generic-nopty) |
( cd ${DEST}/dev; ./MAKEDEV -v generic-nopty) |