We were restoring the mirror to the defaults, but then we would include sources.list again, which then sets it back to what the build system is set up to use. Obviously, we don't want to do that, so don't.
Not sure where the change came from, but the latest testing shows you can't
use e.g. nmtui or nmcli when sshing into an rpi.
Issue was reported by KoalaV2 on discord/gitlab.
Recommend sudo usage instead of just saying run as root.
Attempt to download packages 3 times before giving up.
Change suite to kali-rolling if it isn't set to that.
Increase number of cpus used to compress if > 3 exist.
RPi3-64: Supress output during build that isn't needed in the logs.
RPi3-64: Limit to 2 jobs during build since we're build via emulation.
Comment out deb-src, most end users aren't going to be building packages.
Latest image file creation changes from frangal.
A few misc cleanups of white space
Because we resize the filesystem on first boot on the rpis,
we need to figure out a way to write the UUID into fstab before
adding the support there as well.
Unfortunately, it is simply too variable to tell how long it will take
to install, instead opt for the safer kali-tools-top10 for now, and
users can throw in kali-linux-default themselves if they like.
All images are now ~14GB so a 16GB sdcard minimum is required.
Update the list of packages installed.
Attempt to install kali-linux-default on first boot... not sure how this is going to go, because systemd doesn't like things taking a long time. May have to move it to a script, but we'll test it out.
Add 2 new scripts, one for the NanoPi NEO Plus2 and the rpi0w that are "minimal" - no desktop system installed (basically the original scripts pre- package list updates.
Baracko reported ( https://bugs.kali.org/view.php?id=5581 ) that vnc connections
would fail to work until reconfiguring xfonts-base.
This also fixes issue #164 which is a replica of the bug listed above.
Due to extras pulling in the modifications to the plymouth config file,
we were getting prompted whether to overwrite it or not. There is a
bug to fix plymouth but currently upstream needs help to work on it.
Work around it for now.