projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59228b5
)
Build netboot package checksum file with relative paths
author
Christian Hofstaedtler
<ch@grml.org>
Mon, 26 Dec 2011 14:08:58 +0000
(15:08 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Mon, 26 Dec 2011 23:05:36 +0000
(
00:05
+0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
fb4115a
..
2795e17
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-1389,7
+1389,10
@@
create_netbootpackage() {
fi
if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then
- sha1sum "${OUTPUT_FILE}" > "${OUTPUT_FILE}.sha1"
+ (
+ cd $(dirname "${OUTPUT_FILE}")
+ sha1sum $(basename "${OUTPUT_FILE}") > "${OUTPUT_FILE}.sha1"
+ )
einfo "Generated netboot package ${OUTPUT_FILE}" ; eend 0
rm -rf "${OUTPUTDIR}"
else