Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1022 - (show annotations) (download) (as text)
Sun May 30 17:39:37 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 282 byte(s)
-fixed header
1 #!/bin/bash
2 # $Id$
3
4 source include/hwdetection.sh
5
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 *