Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
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
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
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
9c5a5c7c83 More cleanup across the scripts 2018-06-30 17:03:58 -05:00
Steev Klimaszewski
f2f2e07fda Custom hostname action 2018-06-28 19:51:42 -05:00
Steev Klimaszewski
9ba97e0245 Uh, yeah, let's move where we compress it to. 2018-06-28 16:05:12 -05:00
Steev Klimaszewski
e9a36939f7 HACK THE UNAME! HACK THE UNAME!
Add in a hack so that we can install the kernel package.  This fakes
what the uname is (same as we do with nexmon) so that when the kernel
package is installed, the initrd generation works properly.
2018-06-28 15:42:29 -05:00
Steev Klimaszewski
bd46dab90a Re-add riot board because rm --cached wasn't right 2018-06-22 20:43:13 -05:00
Steev Klimaszewski
8df66aa7b8 Update rpi2 and formatting changes.
While we don't release an rpi2 specific build, there are still people
out there that build their own because they don't want to use Nexmon.
This updates the rpi2 script to keep up with the changes for the rpi3
while leaving out nexmon/rpi3 bluetooth bits.

Also update chmod because we don't need it.
2018-06-22 20:38:19 -05:00
Steev Klimaszewski
58a8a29559 Update apt commands
Update the apt command away from --force-yes which is deprecated and
will go away.
2018-06-19 19:53:27 -05:00
Steev Klimaszewski
05df89683b Add machine names to nspawn calls
Without adding machine names to the systemd-nspawn calls, if you attempt
to build 2 armhf images in parallel, it will fail claiming a machine of
the name kali-armhf already exists.  This should fix that issue.
2018-06-19 14:16:57 -05:00
Steev Klimaszewski
94ef46945c Finish moving the scripts to using systemd-nspawn
Using systemd-nspawn allows us to build the images in parallel without
worry of unmounting /dev screwing up and then the "cleanup" in the
script rm'ing /dev and leaving systems in a weird state requiring a
reboot.

However, since some people still use systems without systemd, we leave
the mount commands in the script (but commented out) so they can
uncomment and just :%s/systemd-nspawn/chroot/
2018-06-18 15:36:01 -05:00
Steev Klimaszewski
ed6fb3c6c7 Update all scripts with workaround for qemu
Every so often qemu will complain that a package with a lot of files in
it, typical icons, is corrupt when it is not.  Add in a little
workaround that checks that apt-get install didn't error out and if it
did, re-run to fix it.

Also add in the 3 patches for veyron, as well as a new kernel config.
Also remove my internal nameserver from veyron so people stop running
into issues when building the image.
2018-06-18 08:56:49 -05:00
Steev Klimaszewski
a5d50eb0dd Update to latest-ish 2018-06-16 23:07:36 -05:00
Steev Klimaszewski
45c5677c97 Update RioTboard for 2017.2 2017-09-20 19:47:42 -05:00
binkybear
532a1d28b6 Fix sshd_config not permitting root login
Comment block is added to beginning of line.  Current SED assumes that there is no comment block:

https://github.com/openssh/openssh-portable/blob/master/sshd_config

Otherwise its becomes:

#PermitRootLogin yes
2017-03-13 11:16:53 -05:00
Steev Klimaszewski
9bb49121de Clean up riot u-boot 2016-03-19 20:16:55 -05:00
Steev Klimaszewski
7f5894b5ea Update riot script for 2.1.2 2016-03-19 20:12:17 -05:00
Steev Klimaszewski
9754c4eaef Merge 2.1.2 2016-03-18 00:22:30 -05:00
Steev Klimaszewski
8ccc1921ea Update riotboard script 2016-01-30 14:31:52 -06:00
Mati Aharoni
655e873959 Point to public repositories instead of poor old repo 2015-11-16 20:31:19 -04:00
Steev Klimaszewski
79cefafa19 Add a sleep after partitioning the images
On some machines, it takes kpartx a little bit longer to respond, so
add a 5 second sleep after running the kpartx command to ensure that it
completes before continuing.
2015-10-05 06:09:15 -05:00
Steev Klimaszewski
ec5c973846 Add riotboard script and kernel config 2015-08-10 22:29:15 -05:00
Steev Klimaszewski
f8f48172ce Fix up the mirrors
Fix up the mirrors in the script since most people probably don't have access to
my build system and network... probably.
2015-05-12 15:50:45 -05:00
Steev Klimaszewski
dc51cbef10 Add support for building RIoTboard images.
This is a script to build images for the RIoTboard, which is a single core i.MX6 device from Embest/element14.

There won't be official images released, but the script is here for people who want to try it out.  At the moment we build off a github kernel, but 3.16 should have support for the RIoTboard in mainline.
2014-06-02 18:09:56 -05:00