Commit Graph

41 Commits

Author SHA1 Message Date
Arszilla
2ede67e9ea Update and fix usb-armory-mkii.sh 2022-08-30 00:04:29 +03:00
Steev Klimaszewski
f4e97fd5d6 remove test only comment and nobh has gone away 2022-07-22 16:38:06 -05:00
Steev Klimaszewski
c7be9d7b76 dailies: Add mount options
Let's add the mount options to all the scripts that run daily, to see if
this helps at all...
2022-07-21 14:34:30 -05:00
Steev Klimaszewski
c92cbc799e usbarmory*: Bump u-boot version 2022-06-15 14:58:16 -05:00
Steev Klimaszewski
05175d4075 usbarmory: Fix the builds
The kernel was bumped to 5.15, so we patch the 5.15 wifi injection in.
Also, the defconfig file needs to be named _defconfig for copying it in and using it as a target.
With newer u-boot, we don't seem to need the patch for usbarmory mki
Patch from upstream for mkii u-boot requires newer u-boot as well, so bump it.
2022-04-14 16:03:16 +00:00
Steev Klimaszewski
34cf5e3f0e usbarmory: Bump to the upstream 5.15 kernel
Also alphabetize the dts files to make it quicker to compare upstream.
2022-04-09 18:05:47 -05:00
Ben Wilson
0912a2303e Synchronise script filename, output file and kali-docs URL 2022-01-27 18:41:32 +00:00
Steev Klimaszewski
762b1ce020 usbarmory*: Remove patch finally applied upstream 2021-11-21 11:02:40 -06:00
Steev Klimaszewski
ed2a3c1644 usbarmory*: Update u-boot, fix up u-boot builds and update kernel compiles.
The usbarmory mk ii u-boot wasn't actually building for the usbarmory mkii, so we grab the patch from the git repo and enable usbarmory mk ii build support.

Add in patch for usbarmory mk1's microsd card detection in u-boot.

Update the github repo to point to the new repos instead of relying on github to redirect us.

Remove a removed dts file upstream for the usbarmory mkii.

Bump the u-boot used by both to 2021.07.
2021-11-13 16:54:25 -06:00
Fran
b997856338 status condition 2021-11-07 22:27:24 +01:00
Fran
ef8c6cca2b convert make_loop 2021-11-07 10:55:31 +01:00
Fran
8feeaddd23 basic network config 2021-11-06 15:45:57 +01:00
Fran
b7195ef6fa usb-armony convert mkfs_partitions 2021-11-06 13:30:14 +01:00
Fran
2e096c3d0f Fix name basedir change arch wich argument 2021-11-05 13:53:24 +01:00
Fran
ab8773c9fb duplicate line 2021-11-05 10:09:20 +01:00
Fran
4ffc5be456 usb-armony-mkii.sh fstab convert 2021-11-04 18:19:00 +01:00
Steev Klimaszewski
3be9542bd0 update-alternatives for wireless-regdb to point to upstream signature
Since we do not have the debian keys in custom kernels, wireless-regdb doesn't properly load and without this you can't set the regdomain, so on boards that have a custom kernel, make sure to point to the upstream regulatory.db not the debian signed one.

See https://github.com/beagleboard/Latest-Images/issues/33 for more info
2021-10-19 14:08:37 +00:00
Steev Klimaszewski
587cedc622 Ensure we are in repo_dir before finishing the image 2021-10-13 13:58:07 -05:00
Steev Klimaszewski
71c7b42ac5 all: Rename current_dir to repo_dir to make it easier to think of.
I dislike calling it current_dir since the current dir would be whatever we are in, when we are really talking about the base directory of the repository, so lets call it repo_dir.
2021-10-12 17:04:33 -05:00
Ben Wilson
121a5dc3e4 Add missing links 2021-10-12 22:10:32 +01:00
g0t mi1k
0b9c8c059a Reduce the amount of duplicate code (base_image) 2021-10-12 20:56:41 +00:00
Ben Wilson
2c83e22ee8 Add done status 2021-09-28 00:00:33 +00:00
Ben Wilson
08c1e9a9f0 Add if 32-bit or 64-bit 2021-09-28 00:00:33 +00:00
Steev Klimaszewski
c70a040cae most: Install systemd-timesyncd
Most of the arm boards don't have a realtime clock, and if the time is too far out of sync, networking doesn't work.  systemd-timesyncd doesn't show the same issue so lets go ahead and install it in most of the images that weren't already doing so.
2021-09-26 12:36:07 -05:00
Steev Klimaszewski
56a1b31f25 all: python->python3 since it's 2021 and python2 is EOL 2021-09-26 08:09:20 -05:00
Steev Klimaszewski
6730195866 all: Remove download of ca-certificates package.
We don't use this anymore as we simply dpkg-reconfigure in the runonce scripts.  So lets save a bit of time from doing the download and space of storing a package that never gets used.
2021-09-26 08:02:25 -05:00
Steev Klimaszewski
a447e00223 usbarmory: make olddefconfig
This allows us to accept any new symbols with their default values.
2021-09-23 14:40:08 -05:00
Steev Klimaszewski
4fb9678a3d *: Enable ssh, ext4 filesystem default now. Use growpart for growing the partition.
We use growpart from the cloud-guest-utils package (actually from Canonical's repo on github), and this allows us to resize all of the filesystem without random dropping journals.
Tested on rpi0w, rpi4 (32bit and 64bit), pinebook, pinebook-pro, nanopi neoplus2, rpi2, odroid-c2.  So I am thinking it's in a spot to make it available everywhere.

Also, somehow enabling ssh was dropped, likely due to misreading the purpose of "enable-ssh" service, which is a feature parity thing from raspbian where you could drop a "ssh" or "ssh.txt" file on /boot and it would enable ssh.  We decided long ago however, to always eable ssh on the arm images.
2021-09-23 12:23:25 -05:00
Ben Wilson
10dd646b37 Update EOF to all match 2021-09-19 20:03:59 +01:00
Ben Wilson
34c05d52c4 Merge branch 'master' into consistency
# Conflicts:
#	banana-pi.sh
#	banana-pro.sh
#	common.d/clean_system.sh
#	common.d/packages.sh
#	common.d/proxy_apt.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	odroid-c2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w.sh
#	rpi1.sh
#	usb-armory-mkii.sh
2021-09-19 20:02:43 +01:00
Ben Wilson
f7fc1856e9 Change image_dir location 2021-09-19 13:45:29 +01:00
Ben Wilson
07054205c4 Typos 2021-09-19 11:34:26 +01:00
Ben Wilson
6b3475c046 Few missed brackets 2021-09-19 10:59:35 +01:00
Ben Wilson
018fe965ee Add status out 2021-09-19 10:56:45 +01:00
Ben Wilson
e4fa270582 basedir -> base_dir \ imagename -> image_name 2021-09-19 10:11:39 +01:00
Ben Wilson
228ccb1ce5 Merge branch 'master' into consistency
# Conflicts:
#	.gitignore
#	banana-pi.sh
#	banana-pro.sh
#	beaglebone-black.sh
#	chromebook-exynos.sh
#	chromebook-nyan.sh
#	common.d/builder.txt.example
#	common.d/compress_img.sh
#	common.d/variables.sh
#	cubieboard2.sh
#	cubietruck.sh
#	cubox-i4pro.sh
#	cubox.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	mini-x.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	nanopi2.sh
#	odroid-c.sh
#	odroid-c2.sh
#	odroid-u2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	riotboard.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w-p4wnp1-aloa.sh
#	rpi0w-pitail.sh
#	rpi0w.sh
#	rpi1.sh
#	trimslice.sh
#	usb-armory-mki.sh
#	usb-armory-mkii.sh
#	utilite-pro.sh
2021-09-18 05:55:38 +01:00
Ben Wilson
bd9b443dc9 Clean up on break out 2021-09-17 16:47:51 +01:00
Ben Wilson
5357408b17 Add more log output and script consistencies 2021-09-17 16:02:12 +01:00
Ben Wilson
ddde10ecee Add leading 0 on chmod 2021-09-17 10:42:05 +01:00
Ben Wilson
4a6d6f2673 Fix typo 2021-09-16 20:48:07 +01:00
Ben Wilson
dd9619b0e3 Rename scripts & output to match board 2021-09-16 19:53:57 +01:00