Commit Graph

94 Commits

Author SHA1 Message Date
Steev Klimaszewski
1a340d50d3 most: make sure we copy in qemu static binary
Because the new build host is debian, we need to make sure that
the qemu binaries are copied in, systemd doesn't happen transparently yet.
Next Debian stable release should make this commit obsolete.

Also don't mkdir the usr/bin directory, we actually want it to error out
if it doesn't exist.
2019-04-29 23:30:19 -05: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
9c4262ba03 0w: Use kernel packages and clean ups 2019-01-30 18:46:21 -06:00
Steev Klimaszewski
3075464df7 rpi0w: Whitelist /dev/ttyGS0 to enable root login
You can use the gadget serial over USB/OTG on the 0w but since we don't
have a normal user, the device needs to be whitelisted in /etc/securetty
otherwise it will refuse the login.

Thanks to rmoriz for submitting the issue and pointing it out.
2019-01-21 12:30:13 -05:00
Richard Nelson
68f67e9a9e Drop trailing whitespace on scripts. 2018-12-29 19:20:05 -06:00
Steev Klimaszewski
a7d892096c rpi: Add VideoCore binaries and libraries to /opt 2018-12-13 17:06:48 -06:00
Steev Klimaszewski
4c59489b53 rpi*: Bump kernel version to 4.14.80
Also remove a couple make modules_prepare - it doesn't work properly
when cross compiling - you end up with amd64 binaries on the system and
external module building fails.
2018-11-26 10:14:07 -06:00
Steev Klimaszewski
9738e5d867 0w: triggerhappy not trigger-happy 2018-11-13 10:40:24 -06:00
Steev Klimaszewski
6f6f760502 rpi*: Double up the install lines to try to work around the qemu bug 2018-11-10 14:06:12 -06:00
Steev Klimaszewski
b73e1cf0e9 rpi*: Alphabetize the extras, and add python-rpi.gpio and triggerhappy packages 2018-11-10 13:41:39 -06:00
Steev Klimaszewski
095ab1e36b 0w: Fix bluetooth firmware file path 2018-10-27 00:55:51 -05:00
Steev Klimaszewski
443df639f2 0w: Add bluetooth firmware download as well. 2018-10-23 16:18:14 -05:00
Steev Klimaszewski
1465b233e5 0w: Re-enable rpiwiggle, and (hopefully) fix starting bluetooth devices 2018-10-22 14:04:51 -05:00
Steev Klimaszewski
a621be50a6 0w: Don't hold pi-bluetooth package 2018-10-17 09:17:00 -05:00
Steev Klimaszewski
d304777d45 0w: Fix pi-bluetooth package copy name 2018-10-17 08:49:40 -05:00
Steev Klimaszewski
5cede73759 rpi0w: Fix up bluetooth
Issue #141 shows that bluetooth isn't working properly, so pull in
re4son's updated bluetooth package, and don't copy in our own versions
of it.  Not closing the issue yet until it is tested.
2018-10-17 08:24:40 -05:00
Steev Klimaszewski
8e4828082a rpi1*: Bump kernel to 4.14.71 and fix CC
The cross compiler for the rpi0w kernel compiles was still set to
arm-linux-gnueabihf- for some reason, and while the kernel does not have
a float, we should be using the correct one, so do so by making it
arm-linux-gnueabi-
2018-10-16 23:39:16 -05:00
Steev Klimaszewski
ad4aa60248 rpi*: Make sure firmware folder exists 2018-09-05 11:10:19 -05:00
Steev Klimaszewski
334e0fc6f8 rpi*: Remove firmware-brcm80211
Because of the firmwares using the same name, when there's a new release
of firmware-brcm80211, it overwrites the nexmon firmware which causes
nexmon to stop working (obviously.)  So lets make sure to not install
it.
2018-09-01 05:05:46 -05:00
Steev Klimaszewski
690ee6ae9d 0w: Re-add network-manager
Debian removed dhcpcd so we can't rely on it being around to do the
right thing when we copy in a wpa_supplicant.conf file, so we need
network-manager to make networking easier on the 0w for people.
2018-08-08 18:17:18 -05:00
Steev Klimaszewski
dc6b98feac 0w: Enable wpa_supplicant since we don't use NM 2018-08-07 17:58:45 -05:00
Steev Klimaszewski
00cb1c01f3 0w: Comment out rpi-wiggle, put kalipi-config in.
So, rpi-wiggle auto running is super awesome and great.  But if you
resized the partition manually before putting it in.... rpi-wiggle would
resize the filesystem, but not correctly - it would attempt to downsize
it, or it would attempt to put the partition ending outside the bounds
of the device.  Neither of those are ideal.

So for now, we comment it out, but if anyone wants to use it instead,
they can run it manually, OR they can use the kalipi-config which should
do the right thing regardless.
2018-07-20 21:35:23 -05:00
Steev Klimaszewski
2e53151fe5 some: Make sure man-db is installed so people have man pages 2018-07-14 18:06:02 -05:00
Steev Klimaszewski
6f1496d617 0w: Bump kernel version and clean up after building the kernel... 2018-07-14 00:42:10 -05:00
Steev Klimaszewski
f5514a981e 0w: Increase image file size 2018-07-13 19:49:20 -05:00
Steev Klimaszewski
688d68d148 rpi(most): windows-binaries not windowsbinaries 2018-07-13 19:17:03 -05:00
Steev Klimaszewski
ec1f412296 0w: Update package list, alphabetize a bit 2018-07-13 17:38:00 -05:00
Steev Klimaszewski
bf38341841 0w: Update tools that are installed, and base package list 2018-07-13 16:47:55 -05:00
Steev Klimaszewski
22d27f4ddc rpi(most): enable enable-ssh service, and wpa_supplicant copying as well as copy the correct .bashrc into /root 2018-07-12 06:05:39 -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
de7f506ec0 all: Get rid of the minbase variant. Needs a bit more research 2018-07-12 02:26:48 -05:00
Steev Klimaszewski
f94778c4f7 0w: Add du to see how much space we need, as well as get rid of the git history of the kernel sources. 2018-07-11 22:09:53 -05:00
Steev Klimaszewski
1ae2bcad7a rpi*: Add re4son's tft configurator, and reduce image size to 3G.
Since we resize the partitions on first boot, we can now reduce the size
of the image file to a much smaller 3GB of space.  You can still force
it to a larger size by modifying the size variable, but there's no real
need to make it larger unless you're installing a lot of software.  Keep
in mind that you need to account for both boot (~150MB) and the root
partitions when you do.

We also add re4son's new tft configurator to all the images, so once
installed, you can simply run kalipi-tft-config to set up an LCD on any
of the rpi images, as long as the script supports it.
2018-07-11 21:14:49 -05:00
Steev Klimaszewski
1dac0c715a 0w: Fix monstart/stop scripts, don't reboot after wiggle 2018-07-09 23:23:55 -05:00
Steev Klimaszewski
12a84c0f36 0w: Install firmware-brcm 2018-07-09 22:18:11 -05:00
Steev Klimaszewski
dc0ba029c5 0w: Update kernel to 4.14, build nexmon firmware
Since this image is for the 0w only, we only build the firmware the 0w
uses and install it.
2018-07-09 21:43:04 -05:00
Steev Klimaszewski
30f600b44d all: Install apt-utils into the images 2018-07-07 21:45:15 -05:00
Steev Klimaszewski
f338786bb2 Revert "0w: Attempt to use binky's kernel packages."
This reverts commit 63778852aa.
2018-07-07 16:11:00 -05:00
Steev Klimaszewski
63778852aa 0w: Attempt to use binky's kernel packages.
This is an absolutely terrible way to install the kernel packages and
should never ever ever ever ever be done.  But I'm doing it anyway,
because I can.
2018-07-07 16:00:50 -05:00
Steev Klimaszewski
061a725548 all: latest scripts 2018-07-06 18:03:37 -05:00
Steev Klimaszewski
653b5a2a04 Revert "0w: attempt to use binky's kernel debs, and attempt to build the nexmon firmware"
This reverts commit 5e89936845.

We can't use the kernel packages, because Debian's architecture for the
rpi/rpi0w is armel.  It won't let you install them even though the
kernel package doesn't exactly matter (and we're using the rpi cross
compiler so it's technically an armhf package)
2018-07-06 14:29:22 -05:00
Steev Klimaszewski
5e89936845 0w: attempt to use binky's kernel debs, and attempt to build the nexmon firmware 2018-07-06 13:42:45 -05:00
Steev Klimaszewski
b244626e4d rpis: set -e in the third-stage script 2018-07-06 09:49:23 -05:00
Steev Klimaszewski
5632a85485 rpis: Lower startup time on networking. Add new hyperpixel display image
Adds a new hyperpixel script that builds an rpi3 image supporting the
Pimoroni Hyperpixel 3.5" 800x480 display.
2018-07-05 14:58:48 -05:00
Steev Klimaszewski
2ef2de194d rpis: Move kali-defaults to base package install
Since the icon theme was moved out of the dependencies, we move the
kali-defaults into the base install so we get all the settings files
installed even on images that don't include a desktop.
2018-07-05 13:10:13 -05:00
Steev Klimaszewski
a88a7d479f rpi: lets see if this works to exit correctly 2018-07-04 14:13:13 -05:00
Steev Klimaszewski
9b81a78ce9 most: fix... fix-broken
Apparently you can't pass --allow-change-held-packages and --fix-broken
at the same time, so it wasn't actually trying to fix broken.
2018-07-04 02:12:35 -05:00
Steev Klimaszewski
6ed1829bd5 most: move kali meta pacakges to desktop/tools
Move the kali meta packages to a second line.  This allows us to get a
base system installed when the qemu package install fail rears its ugly
head.
2018-07-04 01:52:46 -05:00
Steev Klimaszewski
94bbf439c5 rpi: run fix-broken after packages install 2018-07-03 18:19:40 -05:00
Steev Klimaszewski
f2cbc653fb rpi: Change the loop regex 2018-07-03 16:44:05 -05:00