2f4f0320a4
Verify we're able to build a tinyipa iso. - use bash in build-iso script - account for filenames with branch names in them - Fix isolinux.bin path The correct location is now under bios/core [...]/syslinux-6.03$ find . -name "isolinux.bin" ./bios/core/isolinux.bin Change-Id: Idce5d81ce83df121e521b7d26fd6523a378a0585
21 lines
785 B
Bash
Executable File
21 lines
785 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
WORKDIR=$(readlink -f $0 | xargs dirname)
|
|
SYSLINUX_VERSION="6.03"
|
|
SYSLINUX_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-${SYSLINUX_VERSION}.tar.gz"
|
|
|
|
source ${WORKDIR}/common.sh
|
|
|
|
cd ${WORKDIR}/build_files
|
|
wget -N $SYSLINUX_URL && tar zxf syslinux-${SYSLINUX_VERSION}.tar.gz
|
|
|
|
cd $WORKDIR
|
|
rm -rf newiso
|
|
mkdir -p newiso/boot/isolinux
|
|
cp build_files/syslinux-${SYSLINUX_VERSION}/bios/core/isolinux.bin newiso/boot/isolinux/.
|
|
cp build_files/isolinux.cfg newiso/boot/isolinux/.
|
|
cp tinyipa${BRANCH_EXT}.gz newiso/boot/corepure64.gz
|
|
cp tinyipa${BRANCH_EXT}.vmlinuz newiso/boot/vmlinuz64
|
|
genisoimage -l -r -J -R -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o tinyipa.iso newiso
|