Commit Graph

23 Commits

Author SHA1 Message Date
Steev Klimaszewski
9c5a5c7c83 More cleanup across the scripts 2018-06-30 17:03:58 -05:00
Steev Klimaszewski
bd5c82b501 Move things around in the usbarmory script as well 2018-06-29 18:23:35 -05:00
Steev Klimaszewski
f2f2e07fda Custom hostname action 2018-06-28 19:51:42 -05:00
Steev Klimaszewski
39bd84a783 Everyone get on the random machine name train 2018-06-28 18:25:05 -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
de9c520cdd Add root check to more scripts 2018-06-22 18:44:57 -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
b9129acd07 Update usbarmory
Update the usbarmory script - this includes remove the kali-linux-top10,
because of an issue running java under qemu so we can't pull in
everything in the top10 list.  Update the kernel to 4.14 from 4.10 and
the other cleanup for the new build setup.
2018-06-19 12:48:09 -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
2ce01e7d26 Update usbarmory 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
1b21a41630 Add dhcp server config to usbarmory script 2016-03-18 21:00:05 -05:00
Steev Klimaszewski
9378007d4d Missing bits from 2.1.2 release 2016-03-18 14:45:02 -05:00
Steev Klimaszewski
9754c4eaef Merge 2.1.2 2016-03-18 00:22:30 -05:00
Steev Klimaszewski
d24347f582 Update usbarmory script 2016-01-30 14:20:48 -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
7ffffb97d1 enable logging in as root:toor for 5 boards 2015-08-12 18:44:14 -05:00
Steev Klimaszewski
157c9e22bb Add usbarmory script and kernel config 2015-08-10 22:18:28 -05:00
Steev Klimaszewski
e17886d74d Add USBArmory build script
This adds the USBArmory build script

Signed-off-by: Steev Klimaszewski <threeway@gmail.com>
2015-05-12 15:56:04 -05:00