Update all scripts with workaround for qemu

Every so often qemu will complain that a package with a lot of files in
it, typical icons, is corrupt when it is not.  Add in a little
workaround that checks that apt-get install didn't error out and if it
did, re-run to fix it.

Also add in the 3 patches for veyron, as well as a new kernel config.
Also remove my internal nameserver from veyron so people stop running
into issues when building the image.
This commit is contained in:
Steev Klimaszewski
2018-06-18 08:56:49 -05:00
parent bec1f295f9
commit ed6fb3c6c7
37 changed files with 4697 additions and 8 deletions

4
bbb.sh
View File

@@ -108,6 +108,10 @@ sed -i -e 's/KERNEL\!=\"eth\*|/KERNEL\!=\"/' /lib/udev/rules.d/75-persistent-net
rm -f /etc/udev/rules.d/70-persistent-net.rules
export DEBIAN_FRONTEND=noninteractive
apt-get --yes --force-yes install $packages
if [ $? > 0 ];
then
apt-get --yes --allow-change-held-packages --fix-broken install
fi
apt-get --yes --force-yes dist-upgrade
apt-get --yes --force-yes autoremove