Commit Graph

38 Commits

Author SHA1 Message Date
Steev Klimaszewski
eab2fc5825 utilite: grab the wiggle script too since we want it on there 2018-07-12 00:31:04 -05:00
Steev Klimaszewski
a6862f68ec utilite: Fix the path for the bootscript 2018-07-11 23:55:26 -05:00
Steev Klimaszewski
d055770998 utilite: Use correct cross compiler, add in the fs resizer and regenerate ssh keys on first boot 2018-07-11 23:28:59 -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
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
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
5078b12a3e Remove btrfs-tools
Once upon a time, btrfs was considered for the filesystem for the
chromebooks and utilite, but it ended up not panning out as well as I
would have liked.  Since we don't need it in the base images, remove it,
people can add it at any time in the future if they're actually using
btrfs on their external media.
2018-06-18 09:20:42 -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
2299f9e13d Update utilite for 2017.2 release 2017-09-20 19:31:39 -05:00
Steev Klimaszewski
9754c4eaef Merge 2.1.2 2016-03-18 00:22:30 -05:00
Steev Klimaszewski
67d78236d0 update utilite script 2016-01-30 14:30:43 -06:00
Steev Klimaszewski
f9f6a9dd5c Switch utilite back to using ext4
It seems that btrfs causes issues booting for some users, so switch back to using ext4
2015-11-20 15:06:35 -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
4a7ec1378d Add utilite script, kernel config and patches 2015-08-10 22:17:08 -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
Steev Klimaszewski
bd80e9d46d Fix serial console for rpi, trimslice, and utilite 2014-06-03 22:30:22 -05:00
Steev Klimaszewski
f385ff90b4 Remove utilite patches directory 2014-06-01 18:19:54 -05:00
Steev Klimaszewski
d2a6d0f4d9 export CROSS_COMPILE and test that it exists before starting
This allows us to test that the cross compiler can be found before we start.
We don't do this check in the beaglebone black or rpi because they use their own cross compilers during build.
2014-05-15 11:06:22 -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
Steev Klimaszewski
419135ea17 utilite: mkdir patches directory so that mac80211 patch applies 2014-01-16 04:28:41 -06:00
muts
4a69d181fc Trimmed down the installed packages 2013-12-08 13:12:45 -04:00
muts
eb746fdc1b Reference local kernel configs 2013-12-03 13:33:17 -04:00
muts
cbaefeb9ab Added script headers 2013-12-02 23:45:09 -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