Commit Graph

81 Commits

Author SHA1 Message Date
Arszilla
acf9a0696b Update and fix mini-x.sh 2022-08-30 00:04:29 +03:00
Steev Klimaszewski
67b89d642f remove the service that is now in kali-defaults 2022-03-14 08:29:51 -05:00
Steev Klimaszewski
71c7b42ac5 all: Rename current_dir to repo_dir to make it easier to think of.
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.
2021-10-12 17:04:33 -05:00
Ben Wilson
08c1e9a9f0 Add if 32-bit or 64-bit 2021-09-28 00:00:33 +00:00
Ben Wilson
f7fc1856e9 Change image_dir location 2021-09-19 13:45:29 +01:00
Ben Wilson
e4fa270582 basedir -> base_dir \ imagename -> image_name 2021-09-19 10:11:39 +01:00
Ben Wilson
228ccb1ce5 Merge branch 'master' into consistency
# Conflicts:
#	.gitignore
#	banana-pi.sh
#	banana-pro.sh
#	beaglebone-black.sh
#	chromebook-exynos.sh
#	chromebook-nyan.sh
#	common.d/builder.txt.example
#	common.d/compress_img.sh
#	common.d/variables.sh
#	cubieboard2.sh
#	cubietruck.sh
#	cubox-i4pro.sh
#	cubox.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	mini-x.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	nanopi2.sh
#	odroid-c.sh
#	odroid-c2.sh
#	odroid-u2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	riotboard.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w-p4wnp1-aloa.sh
#	rpi0w-pitail.sh
#	rpi0w.sh
#	rpi1.sh
#	trimslice.sh
#	usb-armory-mki.sh
#	usb-armory-mkii.sh
#	utilite-pro.sh
2021-09-18 05:55:38 +01:00
Ben Wilson
ddde10ecee Add leading 0 on chmod 2021-09-17 10:42:05 +01:00
Ben Wilson
dd9619b0e3 Rename scripts & output to match board 2021-09-16 19:53:57 +01:00
Ben Wilson
6b0366f928 Typos & use stderr 2021-09-16 16:02:54 +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
a2cd18e5ff *: Move to nameserver variable.
This breaks the un-converted scripts but that gives more reason to move them to the new way over the coming days.
2021-09-15 16:57:00 -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
a865a8a2ea minix: New script 2020-07-22 21:48:45 -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
744056c01e all: Cleanups, and moving files around to make a bit more sense 2020-06-13 18:39:56 -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
f9aae72bfa all: Force new configs during installation
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.
2020-01-23 11:57:28 -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
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
c65ceaa74d mini-x: Re-arrange u-boot-menu defaults 2019-05-06 04:04:42 -05:00
Steev Klimaszewski
1a340d50d3 most: make sure we copy in qemu static binary
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.
2019-04-29 23:30:19 -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
9ed5f80f34 mini-x: don't umount bootp, we only have a single partition now 2019-02-28 06:05:17 -06:00
Steev Klimaszewski
39baec9b38 mini-x: Attempt to bring this up to 4.19 2019-02-28 05:32:39 -06:00
Steev Klimaszewski
973ab689f9 all: Downgrade systemd and add shared-mime-info hack, as well as misc cleanups
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.
2019-02-12 17:56:53 -06:00
Richard Nelson
68f67e9a9e Drop trailing whitespace on scripts. 2018-12-29 19:20:05 -06:00
Steev Klimaszewski
42ac745a59 most: Add attempted workaround for packages failing to install/download 2018-12-18 23:00:32 -06:00
Steev Klimaszewski
c19a58b929 most: Remove make modules_prepare
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.
2018-12-03 02:36:35 -06:00
Steev Klimaszewski
137dc91e36 all: iceweasel -> firefox-esr 2018-09-18 13:48:49 -05:00
Steev Klimaszewski
d1afc17776 most: Make sure we copy the bashrc for the root user 2018-07-12 18:26:11 -05:00