#!/bin/bash ## This script is used to create a final ISO image of a DLS able to make thinclient boot via PXE. ## Reports bugs to # This script is launched by umibuilder ## TC PXE # creates the pxe thinclient image (new target tc_pxe) echo -e "Generating tc pxe image...\n" ./umibuilder -w ebox -bprcb tc_pxe || exit 1 # gets the useful part of the tc image cp -f ./mdk-tc_pxe/base.sqh custom/dls_cd/var/tc_nfsroot/tc.sqfs || exit 1 cp -f ./mdk-tc_pxe/initrd.img custom/dls_cd/var/lib/tftpboot/pxeboot.img.gz || exit 1 cp -f ./mdk-tc_pxe/boot/vmlinuz-* custom/dls_cd/var/lib/tftpboot/vmlinuz_tc || exit 1 exit 0