Commit Graph

75 Commits

Author SHA1 Message Date
Steev Klimaszewski
978165cc25 odroid-c2: Remove more }}... 2020-07-18 03:57:51 -05:00
Steev Klimaszewski
e062d5220d odroid-c2: Move xorg.conf cp into the third-stage 2020-07-18 01:21:07 -05:00
Steev Klimaszewski
c4233d7cf7 some: Try to force current_dir before compression 2020-07-17 22:54:31 -05:00
Steev Klimaszewski
3057f09130 odroid-c2: Mirror 2020-07-17 22:24:56 -05:00
Steev Klimaszewski
136befb9c2 odroid-c2: Update to the latest script changes from frangal 2020-07-17 22:17:37 -05:00
Steev Klimaszewski
08b658f536 odroid-c2: Move -mainline to be the script 2020-06-29 13:59:55 -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
78328395c8 some: Remove the du call as we don't care anymore
Now that we set the images to be ~14GB, we don't need to see if the
image is too large for 7GB.
2020-06-14 12:34:43 -05:00
Steev Klimaszewski
feafae91d7 odroid-c2: Bump initramfs versioning 2020-06-14 10:52:54 -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
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
eb16d72bb5 odroidc2: Update to latest 3.16 kernel from vendor
Latest version is 3.16.72, and also required removing the TLG2300
driver.
2019-08-26 18:21:46 +00: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
3e847a42b6 most: Re-arrange service dependencies 2019-05-17 11:26:25 -05:00
Steev Klimaszewski
f5527e7aef arm64: Also install packages on the 64bit images
Turns out, they're also needed in 64bit, so we reinstall on first boot as well.
2019-05-16 11:09:57 -05:00
Steev Klimaszewski
2b193e4994 all: Update smi-hack service to rebuild ca-certs 2019-05-07 12:59:11 -05:00
Steev Klimaszewski
3430373597 odroidc2: Bump initrd generation to 3.16.65, the kernel version that is current 2019-04-30 05:19:44 -05:00
Steev Klimaszewski
2b29640ca3 odroidc2: Move the cleanup
Because older systemd requires qemu to be copied in
we have to leave it around until we're completely finished
in the chroot, so we move the cleanup to the end of the build process
2019-04-30 04:52:22 -05:00
Steev Klimaszewski
8833fc9475 bbb,c2,odroidw: Move from offsec github to steev's github 2019-04-30 00:15:41 -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
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
Steev Klimaszewski
72a5945f23 odroidc2: Bump image size to 7GB too. 2019-01-31 23:18:57 -06:00
Richard Nelson
68f67e9a9e Drop trailing whitespace on scripts. 2018-12-29 19:20:05 -06:00
Steev Klimaszewski
27db956760 odroid-c2: Alphabetize extras list 2018-11-10 14:06:39 -06:00
Steev Klimaszewski
ea62578fe0 odroidc2: Attempt to work around the issue of package failure by running the install commands twice 2018-11-10 01:23:30 -06:00
Steev Klimaszewski
b513f3897b odroidc2: Lets try moving to the 3.16 kernel 2018-11-10 00:34:32 -06:00
Steev Klimaszewski
7e80737549 odroidc2: Remove unused qemu binaries 2018-10-26 00:34:29 -05:00
Steev Klimaszewski
137dc91e36 all: iceweasel -> firefox-esr 2018-09-18 13:48:49 -05:00
Steev Klimaszewski
2e53151fe5 some: Make sure man-db is installed so people have man pages 2018-07-14 18:06:02 -05:00
Steev Klimaszewski
81c0985823 odroidc2: Increase image size to 4.5GB, misc cleanup 2018-07-14 03:06:09 -05:00
Steev Klimaszewski
9265e6ff26 odroidc2: Remove the kernel .git directory, and add in the size check to see how big the image needs to be. 2018-07-14 02:00:28 -05:00
Steev Klimaszewski
e4f027555b odroidc2: Update packages installed, resize image file, and clean up kernel compile 2018-07-14 01:18:29 -05:00
Steev Klimaszewski
d1afc17776 most: Make sure we copy the bashrc for the root user 2018-07-12 18:26:11 -05:00
Steev Klimaszewski
df7d20a7de all: Quote the basedir, maybe this will help with things 2018-07-12 02:51:33 -05:00
Steev Klimaszewski
de7f506ec0 all: Get rid of the minbase variant. Needs a bit more research 2018-07-12 02:26:48 -05:00
Steev Klimaszewski
30f600b44d all: Install apt-utils into the images 2018-07-07 21:45:15 -05:00
Steev Klimaszewski
061a725548 all: latest scripts 2018-07-06 18:03:37 -05:00
Steev Klimaszewski
74879e72f1 most: set -e in third-stage script 2018-07-06 11:04:38 -05:00