Commit Graph

13 Commits

Author SHA1 Message Date
Steev Klimaszewski
9e819a9464 Copy the config.txt into /boot in the scripts 2018-06-25 19:54:17 -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
08f2328208 Exit if not running as root 2018-06-22 18:30:52 -05:00
Steev Klimaszewski
45dbd3929f Update firmware packages to be installed
Remove firmware-linux-nonfree since firmware-linux depends on it
already. Add atheros, realtek and libertas firmware packages for the
ones that didn't have it already
2018-06-22 16:43:28 -05:00
Steev Klimaszewski
eb1bd801dd Fix path to reboot 2018-06-21 14:54:00 -05:00
Steev Klimaszewski
63f3cbfcec Update/clean up the 0w p4wnp1 script 2018-06-21 14:22:32 -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
binkybear
22e8cc1835 Fix hciconfig path, git submodule update
* Fixed the path in poweron rules to correct location of  hciconfig
* Script was not pulling latest submodules so was missing ducky payloads and responder

Signed-off-by: binkybear <binkybear@nethunter.com>
2017-10-18 19:09:18 -05:00
binkybear
f5c476e652 Add initial P4wnP1 script
Tested and rndis is working.  Needs more testing.

Signed-off-by: binkybear <binkybear@nethunter.com>

Force pi user to bin bash and add pi to grps

Signed-off-by: binkybear <binkybear@nethunter.com>

Remove pi user, use root by default

Signed-off-by: binkybear <binkybear@nethunter.com>

Enable bluetooth

Following instructions from:

http://whitedome.com.au/re4son/sticky-fingers-kali-pi-pre-installed-image/
Signed-off-by: binkybear <binkybear@nethunter.com>

Match re4son bluetooth install

https://github.com/Re4son/re4son-kernel-builder/blob/build-4.9.n/install.sh#L133
Signed-off-by: binkybear <binkybear@nethunter.com>

re4son bluetooth deb package

Signed-off-by: binkybear <binkybear@nethunter.com>

Fix systemd for bluetooth and move comments around

Signed-off-by: binkybear <binkybear@nethunter.com>
2017-10-16 16:49:47 -05:00