Hello,
I wonder if there's a bug with "--hooks" option.
I assume that the argument should be one of the filename in
/usr/share/live-helper/hooks/
(as opposed to one of /usr/share/live-helper/examples/hooks )
If my assumption is correct, then /usr/bin/lh_chroot_hooks should be
fixed (see patch attached).
# Processing hooks
for HOOK in ${LH_PACKAGES_LISTS} ${LH_TASKS}
should be
# Processing hooks
for HOOK in ${LH_HOOKS}"
BTW, it would be nice if the manpage could say where are the valid
distributions, hooks, flavours, etc.
Franklin
Please CC me, I'm not on the list.
--- lh_chroot_hooks-orig 2007-11-18 22:02:10.000000000 +0100
+++ lh_chroot_hooks 2007-11-18 22:02:58.000000000 +0100
@@ -48,7 +48,7 @@
Create_lockfile .lock
# Processing hooks
-for HOOK in ${LH_PACKAGES_LISTS} ${LH_TASKS}
+for HOOK in ${LH_HOOKS}
do
if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ]
then
@@ -72,7 +72,7 @@
fi
done
-if [ -n "${LH_HOOKS}" ] && [ "${LH_HOOKS}" != "none" ]
-then
- LH_DEBCONF_FRONTEND="readline" LH_DEBCONF_PRIORITY="low" LH_DEBCONF_NOWARNINGS="no" Chroot "${LH_HOOKS}"
-fi
+#if [ -n "${LH_HOOKS}" ] && [ "${LH_HOOKS}" != "none" ]
+#then
+# LH_DEBCONF_FRONTEND="readline" LH_DEBCONF_PRIORITY="low" LH_DEBCONF_NOWARNINGS="no" Chroot "${LH_HOOKS}"
+#fi
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel