SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Sat Oct 15 16:00:45 CEST 2011
Author: glen
Date: Sat Oct 15 16:00:45 2011
New Revision: 12380
Modified:
geninitrd/trunk/geninitrd
Log:
make ./geninitrd -v /tmp to produce geninitrd line to generate image to /tmp
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sat Oct 15 16:00:45 2011
@@ -61,11 +61,11 @@
echo ""
echo "Example:"
- local kdir kver
+ local kdir kver dir=${target:-/boot}
for kdir in /lib/modules/*; do
[ -d $kdir ] || continue
kver=${kdir##*/}
- echo " $0 -f --initrdfs=rom /boot/initrd-$kver.gz $kver $verbose"
+ echo " $0 -f --initrdfs=rom $dir/initrd-$kver.gz $kver $verbose"
done
}
More information about the pld-cvs-commit
mailing list