Ubuntu Pastebin

Paste from cyphermox at Thu, 21 May 2015 17:23:24 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -x

if [ "$1" = "--squashfs" ]; then
	mksquashfs $2 $3/casper/filesystem.squashfs;
	shift
	shift
fi

#mkisofs \
#	-isohybrid-mbr syslinux/usr/lib/syslinux/isohdpfx.bin \
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 \
	-V Ubuntu\ custom\ amd64 \
	-o `pwd`/custom.iso \
	-cache-inodes -J -l \
	-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
	-boot-load-size 4 -boot-info-table \
	-eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
	-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
	-isohybrid-mbr isohdpfx.bin  \
	$1/boot $1
Download as text