Magellan Linux

Contents of /trunk/installer/include/prepare_initrd.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 774 - (show annotations) (download) (as text)
Wed Sep 24 11:07:50 2008 UTC (15 years, 7 months ago) by niro
File MIME type: application/x-sh
File size: 384 byte(s)
-moved helper-scripts into include/ directory

1 # $Header: /home/cvsd/magellan-cvs/magellan-src/installer/include/prepare_initrd.sh,v 1.2 2008-09-24 11:07:50 niro Exp $
2
3 source include/hwdetection.sh
4
5 : ${INSTALL_ROOT="/mnt/magellan"}
6
7 initrd=/boot/$(readlink ${INSTALL_ROOT}/boot/initrd)
8 kernelversion=$(readlink ${INSTALL_ROOT}/boot/vmlinuz | sed "s:kernel-::g")
9
10 create_initrd --initrd ${initrd} --kernelversion ${kernelversion}

Properties

Name Value
svn:executable *