20 lines
542 B
Bash
20 lines
542 B
Bash
# -*- sh -*-
|
|
|
|
# output image
|
|
VERSION="20.04.1"
|
|
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}
|