projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding btrfs support.
[live-boot-grml.git]
/
hooks
/
live
diff --git
a/hooks/live
b/hooks/live
index
645b168
..
16a2d0c
100755
(executable)
--- a/
hooks/live
+++ b/
hooks/live
@@
-27,14
+27,6
@@
esac
# Handling live-boot
# Configuration
# Handling live-boot
# Configuration
-if [ -r /etc/live.conf ]
-then
- . /etc/live.conf
-
- mkdir -p "${DESTDIR}"/etc
- cp /etc/live.conf "${DESTDIR}"/etc
-fi
-
mkdir -p "${DESTDIR}"/usr/share/live-boot
cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot
mkdir -p "${DESTDIR}"/usr/share/live-boot
cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot
@@
-92,6
+84,9
@@
then
uuidgen -r > "${DESTDIR}"/conf/uuid.conf
fi
uuidgen -r > "${DESTDIR}"/conf/uuid.conf
fi
+# Filesystem: btrfs
+manual_add_modules btrfs
+
# Filesystem: cifs
if [ -x /sbin/mount.cifs ]
then
# Filesystem: cifs
if [ -x /sbin/mount.cifs ]
then
@@
-159,6
+154,13
@@
fi
# Program: md5sum
copy_exec /usr/bin/md5sum /bin
# Program: md5sum
copy_exec /usr/bin/md5sum /bin
+# Program: memdisk
+if [ -x /usr/bin/memdiskfind ]
+then
+ copy_exec /usr/bin/memdiskfind
+ manual_add_modules phram mtdblock
+fi
+
# Program: cpio
# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots
if [ -e "${DESTDIR}/bin/cpio" ]
# Program: cpio
# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots
if [ -e "${DESTDIR}/bin/cpio" ]
@@
-212,3
+214,12
@@
if [ -x /usr/bin/curlftpfs ]
then
copy_exec /usr/bin/curlftpfs /bin
fi
then
copy_exec /usr/bin/curlftpfs /bin
fi
+
+# iSCSI
+if [ -x /usr/sbin/iscsistart ]
+then
+ copy_exec /usr/sbin/iscsistart /bin
+ #manual_add_modules ib_iser
+ manual_add_modules iscsi_tcp
+ manual_add_modules crc32c
+fi