Remove ISO bootloader override section
This commit is contained in:
parent
75bad41e93
commit
9f4b0ffa82
1 changed files with 0 additions and 10 deletions
|
|
@ -314,16 +314,6 @@ function build_iso() {
|
||||||
-v "$PROFILE_DIR" \
|
-v "$PROFILE_DIR" \
|
||||||
| tee -a "$LOG_DIR/$DATETIME.log"
|
| tee -a "$LOG_DIR/$DATETIME.log"
|
||||||
|
|
||||||
# Build better ISO
|
|
||||||
rsync -aI "$PROFILE_DIR/EFI/" "${ISO_DIR:-safety}/EFI/"
|
|
||||||
rsync -aI --ignore-existing "$PROFILE_DIR/syslinux/" "${ISO_DIR:-safety}/syslinux/"
|
|
||||||
## Sketchy bit ##
|
|
||||||
. /usr/bin/mkarchiso -o "${OUT_DIR}" -w "${WORK_DIR}" "${PROFILE_DIR}"
|
|
||||||
isofs_dir="${ISO_DIR}"
|
|
||||||
image_name="${KIT_NAME_SHORT}-Linux-${DATE}-x86_64.iso"
|
|
||||||
rm "${OUT_DIR}/${image_name}"
|
|
||||||
_build_iso_image
|
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
echo "Removing temp files..."
|
echo "Removing temp files..."
|
||||||
rm "$TEMP_DIR/Linux" -Rf | tee -a "$LOG_DIR/$DATETIME.log"
|
rm "$TEMP_DIR/Linux" -Rf | tee -a "$LOG_DIR/$DATETIME.log"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue