Commit Graph

511 Commits

Author SHA1 Message Date
Steev Klimaszewski
f2cbc653fb rpi: Change the loop regex 2018-07-03 16:44:05 -05:00
Steev Klimaszewski
c9b01407dc rpi3: without extended regex now. 2018-07-03 00:15:47 -05:00
Steev Klimaszewski
ba46b75346 rpi3: lets play with sed a bit 2018-07-03 00:06:18 -05:00
Steev Klimaszewski
a19c205b55 rpi3: seriously though, why are loop devices so annoying. 2018-07-02 23:06:57 -05:00
Steev Klimaszewski
84ce920957 rpi3: try a different way 2018-07-02 22:33:41 -05:00
Steev Klimaszewski
c437cae642 rpi3: attempt a to detect loop device better 2018-07-02 22:03:50 -05:00
Steev Klimaszewski
23f87bff04 p4wnp1: Attempt to exit on failure
Still attempting to work around the issue of a package failing to
install properly.
2018-07-02 17:33:26 -05:00
Steev Klimaszewski
e1748c25c1 chromebooks: Set the nameserver at end of build 2018-07-02 16:48:39 -05:00
Steev Klimaszewski
5c86cd0b97 rpi3: And we should install the tools... 2018-07-02 16:47:08 -05:00
Steev Klimaszewski
92e1a07f46 rpi3: let's install the desktop packages too 2018-07-02 16:44:35 -05:00
Steev Klimaszewski
9f4cd5745f odroid-c2: Latest version of the odroid-c2 script 2018-07-02 16:28:33 -05:00
Steev Klimaszewski
11a4afff5d rpi3: move firmware to /boot
Debian's raspi3-firmware package installs it into /boot/firmware because
reasons.  So we have to move it into /boot so that we boot.
2018-07-02 14:57:33 -05:00
Steev Klimaszewski
57d6c70d35 p4wnp1: mirror issue, not quoting issue 2018-07-02 14:30:36 -05:00
Steev Klimaszewski
dfb02505af p4wnp1: use kali-last-snapshot 2018-07-02 14:16:57 -05:00
Steev Klimaszewski
a598bfeefe build-deps: Moar waiting.
When building 2 images close together, we can race with the dpkg lock
so let's slap more waits in to work around it.
2018-07-02 13:14:14 -05:00
Steev Klimaszewski
36c9737272 p4wnp1: Try quoting third-stage 2018-07-02 13:09:12 -05:00
Steev Klimaszewski
2945aeae6b rpi: Set resolv.conf at the end of the build
Functionally these are all the same, the one difference is the rpi3
because we build nexmon near the end, so we just put the new resolv.conf
into the rsynced folder rather than in place before rsyncing.
2018-07-02 12:17:40 -05:00
Steev Klimaszewski
a87c2d9a2d veyron: die if packages can't be installed 2018-07-02 11:36:27 -05:00
Steev Klimaszewski
90600a8087 nyan: die if packages can't be installed 2018-07-02 11:36:12 -05:00
Steev Klimaszewski
051d999bc9 rpi3: Replace resolv.conf contents
resolv.conf was getting the build systems settings, so we do this at the
end as well to work around the issue.
2018-07-02 11:34:22 -05:00
Steev Klimaszewski
d519fb9174 rpi: Add a die statement to package installation
This causes the build to fail if the fix for failed packages doesn't
work, instead of continuing the installation and failing later on.
2018-07-02 11:21:06 -05:00
Steev Klimaszewski
53802c90e2 exynos: Update exynos script to latest 2018-07-02 11:09:13 -05:00
Steev Klimaszewski
b3960be88c rpi3: Correct raspi3-firmware package name 2018-07-02 11:07:40 -05:00
Steev Klimaszewski
77166a933d p4wnp1: Move where config.txt is copied.
During the p4wnp1 script install, it tries to write to config.txt but we
don't copy it in yet, so let's move it being copied to before we run the
install.
2018-07-02 11:05:11 -05:00
Steev Klimaszewski
7f2e72f6fe rpi3: Add commented out usb_boot_mode option
This adds a commented out option into the config.txt file that is in
/boot.  If a user uncomments this, it will enable booting an rpi3 from
USB as well as microsd card.

Some USB sticks will be incompatible, however, microSD cards always take
priority over USB so it will still be bootable even if this option is
enabled.
2018-07-02 10:58:22 -05:00
Steev Klimaszewski
185eea3739 veyron: Update to latest build script 2018-07-02 10:51:37 -05:00
Steev Klimaszewski
c8a0201ddc nyan: Update the nyan build script 2018-07-02 10:50:52 -05:00
Steev Klimaszewski
6b8f132ddf rpi3: Make sure /boot/overlays exists 2018-07-02 10:45:13 -05:00
Steev Klimaszewski
d7000b70b9 rpi3: Use the rpi3-firmware package instead of cloning git 2018-07-02 10:16:16 -05:00
Steev Klimaszewski
d6f0a50404 p4wnp1: Do the update init on one line 2018-07-02 09:56:36 -05:00
Steev Klimaszewski
3df830f7ac rpi: Check to make sure we only use armel
The rpi is only supported by armel with Debian packages, so make sure we
don't let people change the architecture to armhf and add a comment
about it.
2018-07-02 09:55:28 -05:00
Steev Klimaszewski
769f80c1ef rpi3: Path fixes
Add a few path fixes for the future in case people move things around so
that things always end up the correct place.  Add in a cd to basedir
after creating the kernel symlinks that got dropped somewhere.
2018-07-02 08:41:39 -05:00
Steev Klimaszewski
8867a3c4ba rpi0w: basedir cleanups
Add one that was dropped... and remove the one that was randomly in
there.
2018-07-02 08:40:43 -05:00
Steev Klimaszewski
cdc62545a6 p4wnp1: Add missing cd into basedir 2018-07-02 08:39:52 -05:00
Steev Klimaszewski
57813cfe91 And fix the path 2018-07-02 08:17:09 -05:00
Steev Klimaszewski
680a06b3a0 Fix quoting of the buildnexmon script 2018-07-02 07:53:13 -05:00
Steev Klimaszewski
4f2a374dfd Remove the multiline comment attempt 2018-07-02 07:10:19 -05:00
Steev Klimaszewski
93a534c610 Add commented out nexmon build script
Doesn't actually build properly, need to look into why
2018-07-02 02:00:44 -05:00
Steev Klimaszewski
3006df7f72 Make sure the brcm firmware directory exists 2018-07-02 02:00:29 -05:00
Steev Klimaszewski
8b4007a230 Move where the sync happens 2018-07-02 01:32:56 -05:00
Steev Klimaszewski
2cd51346f8 Sync before unmounting to be sure everything is flushed to the system 2018-07-02 01:32:33 -05:00
Steev Klimaszewski
814375cd7a Update comments 2018-07-02 01:23:49 -05:00
Steev Klimaszewski
5a2b5246ea Whitespace cleanup 2018-07-02 01:18:12 -05:00
Steev Klimaszewski
3fe89391ad Add back pi_bluetooth that was lost in the shuffle 2018-07-02 01:17:52 -05:00
Steev Klimaszewski
730676dd9d Comment out copying the firmware into rpi3-nexmon
We're building the firmware so lets comment out the copying to make sure
we're using the correct firmware.
2018-07-02 01:11:50 -05:00
Steev Klimaszewski
5e63b31d27 We also don't need to && in a script 2018-07-01 22:53:10 -05:00
Steev Klimaszewski
3753169153 Don't need to sudo when we're already root 2018-07-01 22:48:27 -05:00
Steev Klimaszewski
39ee10f72e Move where pi-bluetooth is installed from.
systemd-nspawn wipes /tmp at the start so move the deb file somewhere it
can be found so we can install it.
2018-07-01 22:44:47 -05:00
Steev Klimaszewski
d17fac6236 Move the p4wnp1 stuff further down 2018-07-01 22:23:47 -05:00
Steev Klimaszewski
b75bc2f68c Fix path to wiggle 2018-07-01 21:51:55 -05:00