Compare commits

..

No commits in common. "1c82f6ad0a229f4649ee4622a00c3757340d4b95" and "054e91006e955f3d98179cbfe7afad948cb57719" have entirely different histories.

5 changed files with 5 additions and 11 deletions

View File

@ -41,8 +41,6 @@ perl -n -i \
-e "print;" \ -e "print;" \
${ISO}/boot/grub/{grub,loopback}.cfg ${ISO}/boot/grub/{grub,loopback}.cfg
sudo install -D -m 0644 files/fallback_dns.conf ${FS}/etc/systemd/resolved.conf.d/fallback_dns.conf
if ! [ "$1" == "skip" ] ; then if ! [ "$1" == "skip" ] ; then
# Run the customize-inner.sh script inside the chroot # Run the customize-inner.sh script inside the chroot

View File

@ -1,6 +1,6 @@
export USERNAME="nilm" export USERNAME="nilm"
export USERFULLNAME="NILM User" export USERFULLNAME="NILM User"
export HOST="nilmbuntu-live" export HOST="nilmbuntu"
export BUILD_SYSTEM="Ubuntu" export BUILD_SYSTEM="Ubuntu"
export FLAVOUR="NILMbuntu" export FLAVOUR="NILMbuntu"

View File

@ -10,6 +10,7 @@ set -x
# Move stuff to the right places # Move stuff to the right places
install -D -m 0644 files/nilmbuntu.png /usr/share/xfce4/backdrops/nilmbuntu.png install -D -m 0644 files/nilmbuntu.png /usr/share/xfce4/backdrops/nilmbuntu.png
install -D -m 0644 files/fallback_dns.conf /etc/systemd/resolved.conf.d/fallback_dns.conf
install -D -m 0644 files/casper.conf /etc/casper.conf install -D -m 0644 files/casper.conf /etc/casper.conf
install -D -m 0644 files/hosts.nilm /etc/hosts.nilm install -D -m 0644 files/hosts.nilm /etc/hosts.nilm
@ -45,7 +46,6 @@ apt -y install postfix
# Required packages # Required packages
apt -y install \ apt -y install \
python3 \ python3 \
python3-venv \
python3-pip \ python3-pip \
git \ git \
build-essential \ build-essential \
@ -112,7 +112,7 @@ xmlstarlet ed -L -u "//property[@name='image-path']/@value" -v "$BG" $XML
xmlstarlet ed -L -u "//property[@name='image-style']/@value" -v "3" $XML xmlstarlet ed -L -u "//property[@name='image-style']/@value" -v "3" $XML
# Make Firefox nicer # Make Firefox nicer
install -D -m 0644 files/syspref.js /etc/firefox/syspref.js install -D -m 0644 files/syspref.js /etc/hosts.nilm
# Create NILM user. This should happen after anything that we put in # Create NILM user. This should happen after anything that we put in
# /etc/skel, since files get copied from there. Note that this user # /etc/skel, since files get copied from there. Note that this user

View File

@ -53,6 +53,3 @@ d-i user-setup/allow-password-weak boolean true
d-i user-setup/force-encrypt-home boolean false d-i user-setup/force-encrypt-home boolean false
d-i user-setup/encrypt-home boolean false d-i user-setup/encrypt-home boolean false
d-i passwd/auto-login boolean true d-i passwd/auto-login boolean true
d-i netcfg/get_hostname seen true
d-i netcfg/get_hostname string nilmbuntu

5
run.sh
View File

@ -47,14 +47,13 @@ set -x
cfg="" cfg=""
cfg+=" -nodefaults"
cfg+=" -drive file=${DISK},media=disk,format=raw,if=virtio" cfg+=" -drive file=${DISK},media=disk,format=raw,if=virtio"
cfg+=" -enable-kvm" cfg+=" -enable-kvm"
cfg+=" -m 2048" cfg+=" -m 2048"
cfg+=" -usb" cfg+=" -usb"
cfg+=" -device usb-tablet" cfg+=" -device usb-tablet"
cfg+=" -nic user"
cfg+=" -vga virtio" cfg+=" -vga vmware"
#cfg+=" -vnc :0" #cfg+=" -vnc :0"
case $boot in case $boot in