projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle non-existing klibc includes in live hook (Closes: #475783).
[live-boot-grml.git]
/
scripts
/
live-bottom
/
99hook
diff --git
a/scripts/live-bottom/99hook
b/scripts/live-bottom/99hook
index
0341026
..
a27a96a
100755
(executable)
--- a/
scripts/live-bottom/99hook
+++ b/
scripts/live-bottom/99hook
@@
-32,8
+32,12
@@
log_begin_msg "Executing custom hook script..."
# live-initramfs script
cd /root
-wget "${HOOK}"
+
chroot /root
wget "${HOOK}"
-./$(basename ${HOOK})
+FILE="$(basename ${HOOK})"
+
+chmod 0755 "${FILE}"
+./"${FILE}"
+rm -f "${FILE}"
log_end_msg