20 lines
540 B
Plaintext
20 lines
540 B
Plaintext
|
# -*- sh -*-
|
||
|
|
||
|
# output image
|
||
|
VERSION="16.04"
|
||
|
OUTPUT="nilmbuntu-${VERSION}.iso"
|
||
|
|
||
|
# original ISO
|
||
|
ISONAME="xubuntu-${VERSION}-desktop-amd64.iso"
|
||
|
ORIGURL="http://cdimage.ubuntu.com/xubuntu/releases/${VERSION}/release/${ISONAME}"
|
||
|
|
||
|
# work directories, temporary qemu HD image, etc. Shouldn't need to change these.
|
||
|
ORIG="tmp-${VERSION}/$ISONAME"
|
||
|
FS="tmp-${VERSION}/fs"
|
||
|
ISO="tmp-${VERSION}/iso"
|
||
|
MNT="tmp-${VERSION}/mnt"
|
||
|
DISK="tmp-${VERSION}/disk.img"
|
||
|
|
||
|
# non-privileged user, so we don't need to do everything as root
|
||
|
NONPRIV_UID=${SUDO_UID:-$UID}
|