Commit Graph

37 Commits

Author SHA1 Message Date
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
e41428e50f bananapi: cat, not cat cat 2019-05-14 21:58:00 -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
255b027f38 bananapi: Re-arrange u-boot-menu defaults 2019-05-06 03:54:34 -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
6b3252c825 bananapi: Suite to kali-rolling 2019-02-18 22:11:57 +00:00
Steev Klimaszewski
f6a10618d1 bananapi: Move to 4.19 kernel, clean up all the hacks that aren't needed anymore
Unlike the banana pro, the banana pi seems to have an issue with
modesetting so we include an xorg config snippet to force the bpi image
to use fbdev for the graphics driver in X.
2019-02-18 07:33:45 +00: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
Steev Klimaszewski
6b20f0dd3c banana*: Remove 64bit options from ext4 filesystem 2019-01-30 18:45:40 -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
c19a58b929 most: Remove make modules_prepare
This was supposed to be done for convenience, however, in practice, the
image ends up getting amd64 binaries in the kernel sources, so it
doesn't work anyway.
2018-12-03 02:36:35 -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
95193cf911 bananas: Let's quote the basedir path. 2018-07-12 02:41:28 -05:00
Steev Klimaszewski
ac40b69b57 bananapi: Remove libfdtdev check. 2018-07-12 02:37:17 -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
39bd84a783 Everyone get on the random machine name train 2018-06-28 18:25:05 -05:00
Steev Klimaszewski
3e4acd33de Update banana-pi script
Updated for the new changes.  Since the kernel is old, we have to use
the older cross compiler.  Also libfdt-dev causes build issue with the
u-boot so we check if it is installed on the system, if it is, we
uninstall it, then at the end of the build, we reinstall it, otherwise
we carry on.

Also regenerate ssh keys on the first boot.  The wiggle script hasn't
been tested, so it isn't added yet.
2018-06-20 17:29:47 -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
9404c6c437 Update lemaker devices for 2017.2 2017-09-20 19:30:22 -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
19c1ffe19f Update bananapi script 2016-01-30 14:35:52 -06:00
Steev Klimaszewski
590ac82731 Add BananaPi script
Add support for the Banana Pi.

Signed-off-by: Steev Klimaszewski <threeway@gmail.com>
2015-06-03 19:08:13 -05:00