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:
07dc676
)
Install netboot.cfg as pxelinux.cfg/default _file_
author
Christian Hofstaedtler
<ch@grml.org>
Mon, 19 Dec 2011 14:40:59 +0000
(15:40 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Mon, 19 Dec 2011 14:40:59 +0000
(15:40 +0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
b8a14a6
..
dbc9bbd
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-1379,15
+1379,13
@@
create_netbootpackage() {
cp "${CHROOT_OUTPUT}"/boot/initrd.img-* "$WORKING_DIR"/initrd.img
cp "${CHROOT_OUTPUT}"/usr/lib/syslinux/pxelinux.0 "${WORKING_DIR}/pxelinux.0"
cp "${CHROOT_OUTPUT}"/boot/initrd.img-* "$WORKING_DIR"/initrd.img
cp "${CHROOT_OUTPUT}"/usr/lib/syslinux/pxelinux.0 "${WORKING_DIR}/pxelinux.0"
+ mkdir -p "${WORKING_DIR}/pxelinux.cfg"
if [ -r "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" ] ; then
if [ -r "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" ] ; then
- mkdir -p "${WORKING_DIR}/pxelinux.cfg/default"
cp "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" "${WORKING_DIR}/pxelinux.cfg/default"
else
ewarn "File ${BUILD_OUTPUT}/boot/isolinux/netboot.cfg not found." ; eend 0
fi
cp "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" "${WORKING_DIR}/pxelinux.cfg/default"
else
ewarn "File ${BUILD_OUTPUT}/boot/isolinux/netboot.cfg not found." ; eend 0
fi
- mkdir -p "${WORKING_DIR}/pxelinux.cfg"
-
if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then
sha1sum "${OUTPUT_FILE}" > "${OUTPUT_FILE}.sha1"
einfo "Generated netboot package ${OUTPUT_FILE}" ; eend 0
if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then
sha1sum "${OUTPUT_FILE}" > "${OUTPUT_FILE}.sha1"
einfo "Generated netboot package ${OUTPUT_FILE}" ; eend 0