Commit Graph

48 Commits

Author SHA1 Message Date
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
d574099985 bbb: set -e for third-stage script 2018-07-06 16:05:38 -05:00
Steev Klimaszewski
fed0c917a4 bbb: $0 is the script, $1 is the version number. 2018-07-04 04:47:06 -05:00
Steev Klimaszewski
b98cb0ca9b bbb: latest beagelbone black script 2018-07-04 02:14:44 -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
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
08f2328208 Exit if not running as root 2018-06-22 18:30:52 -05:00
Steev Klimaszewski
c484857950 Add rpiwiggle to the bbb
Should work to resize the sdcard, will see after testing
2018-06-22 17:17:49 -05:00
Steev Klimaszewski
de18e05fa2 Update bbb to use firmware packages, minor cleanup 2018-06-22 16:47:44 -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
41b5ed0b43 Actually fix it for real this time 2018-06-19 17:24:45 -05:00
Steev Klimaszewski
536ad174cb Fix if statement 2018-06-19 17:11:07 -05:00
Steev Klimaszewski
315b48e71d Add ssh host key regeneration to the bbb 2018-06-19 16:21:47 -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
b49d3c2a9c Missed a -D to systemd-nspawn call
BBB wasn't doing the cleanup script due to a missing -D (directory) call
for the cleanup script
2018-06-19 12:30:34 -05:00
Steev Klimaszewski
e70e81caec Update bbb to 4.9 kernel 2018-06-19 12:22:24 -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
Offensive Security
bb64da63cc Rename image to kali-linux 2018-06-18 09:05:43 -04:00
Offensive Security
1880cdc786 Cleanup for automation 2018-06-17 18:26:17 -04:00
Steev Klimaszewski
a5d50eb0dd Update to latest-ish 2018-06-16 23:07:36 -05:00
Steev Klimaszewski
667bf57055 Update bbb 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
9754c4eaef Merge 2.1.2 2016-03-18 00:22:30 -05:00
Steev Klimaszewski
48135f84e0 Update bbb script
This moves to a 4.1 kernel.
Also update the sed line since openssh version changed the PermitRootLogin
option.
2016-03-01 10:57:14 -06:00
Steev Klimaszewski
6399a92c92 Add udhcpd to be installed on the bbb.
We add the g ether script, and it requires udhcpd to work, so lets install it by
default.
2016-02-11 03:10:39 -06:00
Steev Klimaszewski
3d7fd9be36 Add an xorg.conf to force 16bit video and fbdev
Issues #49 and #47 are closely related.

Some people have issues with the beaglebone black in that modesetting doesn't
work properly and the way to workaround it is to force the fbdev driver via
xorg.conf.

And if using the onboard hdmi, or an lcd4/lcd7 you need 16bit, so set that via
the xorg.conf with a commented out section to set it to 24bit if you are using
either the bbb-exp or bbb-view.
2016-02-10 17:06:39 -06:00
Steev Klimaszewski
8e193910be Fix incorrectly pointing to local machine for git 2016-02-10 15:19:48 -06:00
Steev Klimaszewski
9560885160 Update bbb build script 2016-01-30 14:32:09 -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
f5b1c70ad8 bbb: And also make sure it's not mounting / ro. 2015-08-13 22:19:25 -05:00
Steev Klimaszewski
1e6804c7d9 bbb: Update the kernel git since most people don't have access to my /root 2015-08-13 22:07:13 -05:00
Steev Klimaszewski
89c24f4c7c Add bbb script 2015-08-10 22:17:59 -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
8914e11341 Update scripts to make it easier to switch mirrors 2014-09-17 09:19:15 -05:00
muts
81e3654fe9 Adding usbutils to all base images 2014-04-03 09:01:54 -04:00
Steev Klimaszewski (Kali Linux Developer)
2e8041e869 Add comments and some other fixes to the scripts 2014-03-26 02:36:32 -04:00
Steev Klimaszewski
6a0d1fd86d all: Don't compress the images on 32bit.
pixz seems to have issues compressing the image files on 32bit systems.
Since we will always build official images on 64bit, only set it to compress and sha1sum the compressed file on 64bit.

Signed-off-by: Steev Klimaszewski <steev@gentoo.org>
2014-03-07 21:19:17 -06:00
muts
6d1c2d8906 Trimmed down the installed packages 2013-12-08 13:27:01 -04:00
muts
e2abc2d0da Update the repo address in all build scripts 2013-11-15 09:34:32 -04:00
Steev Klimaszewski
ae6e94319f all: sha1sum fixes
Previously, the sha1sum command was including the path to the files.  This isn't necessary, so remove it, and gives us the advantage of sha1sum checking working when the file isn't in the exact path that it was built.
2013-11-08 17:19:12 -06:00
muts
18d4d79008 Initial Commit 2013-10-29 16:45:51 +02:00