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 3.0.0-1 changelog entries.
[live-boot-grml.git]
/
backends
/
initramfs-tools
/
live.hook
diff --git
a/backends/initramfs-tools/live.hook
b/backends/initramfs-tools/live.hook
index
00da049
..
d66c669
100755
(executable)
--- a/
backends/initramfs-tools/live.hook
+++ b/
backends/initramfs-tools/live.hook
@@
-6,19
+6,15
@@
set -e
[ "${QUIET}" ] || echo -n "live-boot:"
[ "${QUIET}" ] || echo -n "live-boot:"
-# Reading configuration files
-if [ -e /etc/live/boot.conf ]
-then
- . /etc/live/boot.conf
-fi
-
-if ls /etc/live/boot/* > /dev/null 2>&1
-then
- for _FILE in /etc/live/boot/*
- do
- . ${_FILE}
- done
-fi
+# Reading configuration file from filesystem and live-media
+for _FILE in /etc/live/boot.conf /etc/live/boot/* \
+ /lib/live/mount/media/live/boot.conf /lib/live/mount/media/live/boot/*
+do
+ if [ -e "${_FILE}" ]
+ then
+ . "${_FILE}"
+ fi
+done
# Checking live-boot
if [ ! -e /lib/live/boot ]
# Checking live-boot
if [ ! -e /lib/live/boot ]
@@
-88,6
+84,10
@@
fi
manual_add_modules ext3
manual_add_modules ext4
manual_add_modules ext3
manual_add_modules ext4
+# Filesystem: hfs/hfsplus
+manual_add_modules hfs
+manual_add_modules hfsplus
+
# Filesystem: jffs2
manual_add_modules jffs2
# Filesystem: jffs2
manual_add_modules jffs2
@@
-143,11
+143,19
@@
then
copy_exec /usr/bin/eject /bin
fi
copy_exec /usr/bin/eject /bin
fi
+# Program: mount
+# fuse does not work with klibc mount
+copy_exec /bin/mount /bin/mount.util-linux
+
[ "${QUIET}" ] || echo -n " utils"
# Feature: Verify Checksums
[ "${QUIET}" ] || echo -n " utils"
# Feature: Verify Checksums
-copy_exec /usr/bin/sha256sum /bin
-copy_exec /usr/bin/md5sum /bin
+if [ -e /etc/progress-linux_version ]
+then
+ copy_exec /usr/bin/sha256sum /bin
+else
+ copy_exec /usr/bin/md5sum /bin
+fi
# Program: memdisk
if [ -x /usr/bin/memdiskfind ]
# Program: memdisk
if [ -x /usr/bin/memdiskfind ]
@@
-236,14
+244,4
@@
case "${LIVE_DNS}" in
;;
esac
;;
esac
-case "${LIVE_UNIONMOUNT}" in
- true)
- [ "${QUIET}" ] || echo -n " unionmount"
-
- # UnionMount
- # only mount from patched util-linux can do this currently
- copy_exec /bin/mount /bin/mount_full
- ;;
-esac
-
[ "${QUIET}" ] || echo .
[ "${QUIET}" ] || echo .