2016-06-25 16:39:02 -04:00
|
|
|
# -*- sh -*-
|
|
|
|
|
|
|
|
# output image
|
2016-07-26 18:10:35 -04:00
|
|
|
VERSION="16.04.1"
|
2016-06-25 16:39:02 -04:00
|
|
|
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}
|