Compare commits
4 Commits
bc8807ae7d
...
f1c7ee2323
Author | SHA1 | Date | |
---|---|---|---|
f1c7ee2323 | |||
c26c5ec86b | |||
9be08467e5 | |||
97044d59f4 |
|
@ -41,6 +41,9 @@ perl -n -i \
|
|||
-e "print;" \
|
||||
${ISO}/boot/grub/{grub,loopback}.cfg
|
||||
|
||||
# Prevent some packages from being removed after install
|
||||
perl -n -i -e 'print unless /gparted/' ${ISO}/casper/filesystem.manifest-remove
|
||||
|
||||
sudo install -D -m 0644 files/fallback_dns.conf ${FS}/etc/systemd/resolved.conf.d/fallback_dns.conf
|
||||
|
||||
if ! [ "$1" == "skip" ] ; then
|
||||
|
|
|
@ -13,6 +13,9 @@ install -D -m 0644 files/nilmbuntu.png /usr/share/xfce4/backdrops/nilmbuntu.png
|
|||
install -D -m 0644 files/casper.conf /etc/casper.conf
|
||||
install -D -m 0644 files/hosts.nilm /etc/hosts.nilm
|
||||
|
||||
# Disable apport crash reporting
|
||||
sed -i -s -e 's/enabled=1/enabled=0/g' /etc/default/apport
|
||||
|
||||
# Copy hosts for now (although it will get overwritten at boot)
|
||||
cat /etc/hosts.nilm >> /etc/hosts
|
||||
|
||||
|
@ -67,7 +70,9 @@ apt -y install \
|
|||
firefox \
|
||||
flashrom \
|
||||
gddrescue \
|
||||
git \
|
||||
gnuplot \
|
||||
gparted \
|
||||
help2man \
|
||||
ipython3 \
|
||||
libnewlib-arm-none-eabi \
|
||||
|
|
3
run.sh
3
run.sh
|
@ -55,13 +55,14 @@ cfg+=" -usb"
|
|||
cfg+=" -device usb-tablet"
|
||||
cfg+=" -nic user"
|
||||
cfg+=" -vga virtio"
|
||||
cfg+=" -k en-us"
|
||||
#cfg+=" -vnc :0"
|
||||
|
||||
case $boot in
|
||||
c)
|
||||
echo "booting CD with empty disk"
|
||||
rm -f ${DISK}
|
||||
dd if=/dev/zero "of=${DISK}" bs=1M count=0 seek=30720
|
||||
dd if=/dev/zero "of=${DISK}" bs=1M count=0 seek=24576
|
||||
cfg+=" -drive file=${iso},media=cdrom,if=none,id=cd"
|
||||
cfg+=" -device virtio-scsi-pci -device scsi-cd,drive=cd"
|
||||
cfg+=" -boot d"
|
||||
|
|
Loading…
Reference in New Issue
Block a user