Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1022 - (hide annotations) (download) (as text)
Sun May 30 17:39:37 2010 UTC (14 years ago) by niro
File MIME type: application/x-sh
File size: 282 byte(s)
-fixed header
1 niro 1022 #!/bin/bash
2     # $Id$
3 niro 773
4 niro 774 source include/hwdetection.sh
5 niro 773
6     : ${INSTALL_ROOT="/mnt/magellan"}
7    
8     initrd=/boot/$(readlink ${INSTALL_ROOT}/boot/initrd)
9     kernelversion=$(readlink ${INSTALL_ROOT}/boot/vmlinuz | sed "s:kernel-::g")
10    
11     create_initrd --initrd ${initrd} --kernelversion ${kernelversion}

Properties

Name Value
svn:executable *