livecd: functions-live - check_deps_local - fixed initrd modules list
havner
havner at pld-linux.org
Tue Jul 11 14:22:13 CEST 2006
Author: havner Date: Tue Jul 11 12:22:13 2006 GMT
Module: livecd Tag: HEAD
---- Log message:
- check_deps_local
- fixed initrd modules list
---- Files affected:
livecd:
functions-live (1.17 -> 1.18)
---- Diffs:
================================================================
Index: livecd/functions-live
diff -u livecd/functions-live:1.17 livecd/functions-live:1.18
--- livecd/functions-live:1.17 Tue Jul 11 13:22:57 2006
+++ livecd/functions-live Tue Jul 11 14:22:08 2006
@@ -71,7 +71,12 @@
INITRD_MODULES="
drivers/block/loop.ko.gz
-drivers/ide/*
+drivers/cdrom/cdrom.ko.gz
+drivers/ide/pci/*
+drivers/ide/ide-cd.ko.gz
+drivers/ide/ide-core.ko.gz
+drivers/ide/ide-disk.ko.gz
+drivers/ide/ide-generic.ko.gz
drivers/scsi/*
fs/isofs/*
fs/nls/nls_cp437.ko.gz
@@ -190,6 +195,17 @@
check_deps() {
while [ "$#" != "0" ]; do
if [ ! -f "$ROOTFS/$1" -a ! -f "`chroot $ROOTFS which $1`" ]; then
+ echo "Install $1 before running this script."
+ FAIL=true
+ fi
+ shift
+[ "$FAIL" = "true" ] && exit 1
+done
+}
+
+check_deps_local() {
+while [ "$#" != "0" ]; do
+ if [ ! -f "$1" -a ! -f "`which $1`" ]; then
echo "Install $1 before running this script."
FAIL=true
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/livecd/functions-live?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list