Commit Graph

78 Commits

Author SHA1 Message Date
Ben Wilson
5357408b17 Add more log output and script consistencies 2021-09-17 16:02:12 +01:00
Ben Wilson
ddde10ecee Add leading 0 on chmod 2021-09-17 10:42:05 +01:00
Ben Wilson
ab30b38f72 Fix dots and typos 2021-09-16 06:58:38 +01:00
Ben Wilson
fb4ed55917 Add links to kali-docs 2021-09-16 06:42:05 +01:00
Steev Klimaszewski
c01651bff9 all: don't inclue sources.list after we restore the mirror!
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.
2021-09-07 13:43:29 -05:00
Steev Klimaszewski
660c338a91 bananapi: port to runonce 2021-08-30 15:08:26 -05:00
Son
a07975ddcb clean-system, mirror & suite replacement 2020-08-10 16:55:26 +02:00
Steev Klimaszewski
7a914bd31e *: Add NM pkla file so users can use NM when they SSH in
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.
2020-08-08 20:38:29 -05:00
Steev Klimaszewski
76eee35651 *: Introduce eatmydata changes 2020-08-02 00:14:21 -05:00
Steev Klimaszewski
232ee4137b *: Remove invoke-rc.d/policy-rc.d changes. 2020-08-01 23:22:26 -05:00
Steev Klimaszewski
f4c77ddd03 most: Spaces are hard.
Fix up my missing a space in the previous commit.
2020-07-27 19:56:25 -05:00
Fran Rodriguez
c3f672f8cb most: Latest changes
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.
2020-07-27 18:47:11 -05:00
Steev Klimaszewski
7f6b02c248 Revert "*: Set suite to kali-rolling if it isn't."
This reverts commit b187225520.

Frangal has a better suggestion, so lets revert
2020-07-27 18:34:50 -05:00
Steev Klimaszewski
b187225520 *: Set suite to kali-rolling if it isn't.
We build the release images against kali-last-snapshot, but
we want users to update against kali-rolling so they get updates.
2020-07-27 17:35:08 -05:00
Fran Rodriguez
2bf67f92cf most: Fix partitioning variables and use shortform 2020-07-27 03:09:02 -05:00
Steev Klimaszewski
2454874249 *: More cleanups
Fix the cleanup to remove more files that are left behind by the build system
Don't hardcode ext3, use fstype so users can set their own.
2020-07-26 17:40:50 -05:00
Steev Klimaszewski
59ea59c5c7 *: Update to latest changes
Move image file to the script directory instead of build directory
Add compression and filesystem type options
Limit cpu usage
2020-07-26 14:38:21 -05:00
Steev Klimaszewski
77ade53fed *: Various changes
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
2020-07-24 13:39:50 -05:00
Steev Klimaszewski
c4233d7cf7 some: Try to force current_dir before compression 2020-07-17 22:54:31 -05:00
Steev Klimaszewski
9da78ae712 banana-pi: Fix parted patch to image file 2020-07-17 21:23:15 -05:00
Steev Klimaszewski
8a75865872 banana-pi: Change mirror 2020-07-17 20:32:27 -05:00
Steev Klimaszewski
aeb5aec9a7 banana-pi: Don't include arm in the initial debootstrap.... 2020-07-17 19:49:51 -05:00
Steev Klimaszewski
c408511a16 banana-pi: Fix qemu binary name 2020-07-17 19:06:44 -05:00
Steev Klimaszewski
750779b8c8 bananapi: First attempt integrating frangal's changes 2020-07-17 12:51:58 -05:00
Steev Klimaszewski
9335dff537 most: Add fstab to all but the rpi scripts
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.
2020-06-25 17:42:35 -05:00
Steev Klimaszewski
8b4385aa9b all: The great kld enabling 2020-06-17 15:09:54 -05:00
Steev Klimaszewski
bbaaca0f26 bananapi: Move the xorg config snippet 2020-06-15 12:05:20 -05:00
Steev Klimaszewski
744056c01e all: Cleanups, and moving files around to make a bit more sense 2020-06-13 18:39:56 -05:00
Steev Klimaszewski
59e6705a79 *: Remove kali-linux-default on first boot
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.
2020-05-11 09:58:41 -05:00
Steev Klimaszewski
0c0617d696 most: Set k-r before downloading k-l-d 2020-05-07 16:57:01 -05:00
Steev Klimaszewski
b163efda82 *: ext3 :( 2020-05-07 15:19:48 -05:00
Steev Klimaszewski
2647c42dfc most: Add the kali user to all the scripts 2020-05-07 15:17:10 -05:00
Steev Klimaszewski
35746626dc most: Add allow-hotplug eth0 to allow... 2020-05-01 15:51:07 -05:00
Steev Klimaszewski
951d0c83e3 *: Remove locales-all from install
Since we're going to be walking through a setup eventually, remove all
the locales to save around 300MB of space.
2020-04-30 16:32:34 -05:00
Steev Klimaszewski
baae1ce7a1 *: Add kali-linux-core so that various services are installed 2020-04-29 19:16:19 -05:00
Steev Klimaszewski
52e3065111 *: Update the scripts
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.
2020-04-28 19:35:50 -05:00
Steev Klimaszewski
e6b16ad9a9 banana-pi: Latest changes here too 2020-04-27 13:01:46 -05:00
Steev Klimaszewski
e16a5debbd bananapi: Try forcing confnew 2020-01-23 10:44:38 -06:00
Steev Klimaszewski
410ea4c580 all: Install debs via glob on first boot 2019-11-25 07:54:52 -06:00
Steev Klimaszewski
876d53693f all: Remove old packages that aren't used 2019-11-22 23:46:30 -06:00
Steev Klimaszewski
32166f6666 all: Reconfigure xfonts-base on first boot
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.
2019-07-09 13:16:46 -05:00
Steev Klimaszewski
780c324559 all: Move extras to be installed later
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.
2019-06-17 02:00:54 -05:00
Steev Klimaszewski
5b3d1d63cf most: Use dpkg -i not apt to reinstall.
Unfortunately apt doesn't seem to always reinstall, so
we use dpkg -i instead, since it doesn't attempt to download the files.
2019-05-15 14:27:28 -05:00
Steev Klimaszewski
e41428e50f bananapi: cat, not cat cat 2019-05-14 21:58:00 -05:00
Steev Klimaszewski
933e120757 most: Add a couple more packages that don't seem to install properly to first boot install 2019-05-14 16:23:24 -05:00
Steev Klimaszewski
c52872fafc most: Reinstall ca-certificates on first boot for all arm (32bit) devices 2019-05-10 17:18:34 -05:00
Steev Klimaszewski
2b193e4994 all: Update smi-hack service to rebuild ca-certs 2019-05-07 12:59:11 -05:00
Steev Klimaszewski
255b027f38 bananapi: Re-arrange u-boot-menu defaults 2019-05-06 03:54:34 -05:00
Steev Klimaszewski
cb4f3bd613 all: Remove the systemd 239 install as its not needed since 241 fixes the issues with 240 2019-03-18 11:05:58 -05:00
Steev Klimaszewski
6b3252c825 bananapi: Suite to kali-rolling 2019-02-18 22:11:57 +00:00