I dislike calling it current_dir since the current dir would be whatever we are in, when we are really talking about the base directory of the repository, so lets call it repo_dir.
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.
We're never going to care about anything that is on the system during
the first build, so just force new configs in case it ever prompts
which causes the build server to error out the build.
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.
Because the new build host is debian, we need to make sure that
the qemu binaries are copied in, systemd doesn't happen transparently yet.
Next Debian stable release should make this commit obsolete.
Also don't mkdir the usr/bin directory, we actually want it to error out
if it doesn't exist.
Disable 64bit options on most of the ext4 partitions, fix any /lib paths
to now be /usr/lib since /lib is just a symlink there (may have missed
some.) Add in missing services to "a few" boards, so they now also
regenerate their ssh keys at first boot as well.
This was supposed to be done for convenience, however, in practice, the
image ends up getting amd64 binaries in the kernel sources, so it
doesn't work anyway.