727 Commits

Author SHA1 Message Date
Serge Schneider
48efb5fc54 Merge branch 'master' into arm64 2024-06-24 14:01:51 +01:00
Serge Schneider
0b115f302a stage4: Pre-install rpi-connect 2024-06-24 14:01:25 +01:00
Serge Schneider
ca5eb625d8 Enable DWC2 host mode support for CM5 by default 2024-06-24 10:43:37 +01:00
Serge Schneider
9b17be9621 Update release notes 2024-06-19 12:22:39 +01:00
Serge Schneider
07ab464853 stage4: Pre-install labwc 2024-06-19 12:22:22 +01:00
Serge Schneider
a63eb86d7b Merge branch 'master' into arm64 2024-05-27 13:48:46 +01:00
Serge Schneider
75fe47c757 Increase default swap size to 200 2024-05-27 13:48:11 +01:00
Serge Schneider
0755b07f06 Merge branch 'master' into arm64 2024-05-15 15:52:53 +01:00
Tom Dewey
fb48183f0d
Expand trap cleanup function (#773)
* build.sh: Unmount intermediates on trap

Iterate through image files which might be in use and detach them

Avoid silent failures - let the user know whether the build failed

* common: update unmount_image

Use udevadm settle instead of sleep if possible

Use losetup's -j option to find the loop device associated with a give image file

* build.sh: update clean-up trap term

---------

Co-authored-by: Serge Schneider <serge@raspberrypi.com>
2024-05-15 15:50:40 +01:00
Pev
d790fed832
Compare mount output using base of dirname (#771)
* Compare mount output using base of dirname

If you're building from a bind-mounted directory, the build will
fail as it will find two entries to unmount, but a single unmount
will remove them both causing an error. Adding a space means that
the mountpoint will only match with a single mount entry ; the
expected path, rather than the pre bind-mount.

* Switch to awk instead of mount, grep, cut pipes

Retry unmount 5 times and give up, letting the user know that they need to resolve the issue manually

---------

Co-authored-by: David Peverley <pev@analogue-micro.com>
Co-authored-by: Serge Schneider <serge@raspberrypi.com>
2024-05-15 15:45:43 +01:00
Serge Schneider
97aa847ea8 Merge branch 'master' into arm64 2024-05-13 16:41:38 +01:00
Serge Schneider
9917c869a7 README.md: Consistent formatting of 'Default' values 2024-05-13 16:41:17 +01:00
Serge Schneider
72b2dfd634 build.sh: set ARCH to arm64 2024-05-13 16:28:34 +01:00
Serge Schneider
2327c5e28d Merge branch 'master' into arm64 2024-05-13 16:28:00 +01:00
Serge Schneider
d87f764fcb build.sh: Warn user of unsupported build environment architecture and fail early if binfmt_misc isn't working as expected 2024-05-13 16:10:11 +01:00
Serge Schneider
e95e00f879 Set a default IMG_NAME
This also adds the 'ARCH' environment variable, which will help reduce the delta between master and arm64 branches.
2024-05-13 16:10:11 +01:00
Serge Schneider
64e205739c Merge branch 'master' into arm64 2024-04-29 14:38:09 +01:00
Serge Schneider
f1c166a283 export-image: run du with -x to avoid crossing filesystem boundaries
Fixes #537
2024-04-29 14:37:36 +01:00
Serge Schneider
2c29fc27c5 Merge branch 'master' into arm64 2024-04-29 10:53:31 +01:00
Kristof Nachtergaele
5780b1ff64 export stage list 2024-04-29 10:52:50 +01:00
Serge Schneider
7dd5b7dd59 Merge branch 'master' into arm64 2024-04-18 11:35:15 +01:00
Serge Schneider
165e960237 Fix keyboard configuration
keyboard-configuration scripts ignores debconf settings if it doesn't
detect an attached keyboard. Instead, it sets XKBOPTIONS to
lv3:ralt_switch, which is not a desired option. It also considers an
empty XKBOPTIONS string to be unset. This workaround sets it to a
placeholder value which is removed later. dpkg-reconfigure is run
so that debconf-get-selections prints the correct values.
2024-04-18 11:29:40 +01:00
Serge Schneider
8056aa3bec Merge branch 'master' into arm64 2024-04-09 15:51:52 +01:00
Serge Schneider
c70f96f146 stage5: smartsim has been removed from recommended apps 2024-04-09 15:51:44 +01:00
Serge Schneider
56916d4d84 Merge branch 'master' into arm64 2024-04-09 15:30:05 +01:00
Serge Schneider
7ce2538bca Revert "Added docker-compose.yml for easy apt-cacher-ng startup"
This reverts commit fe45b739871c2eba65ec520e00816299abbfbc5b.

It's probably a bad idea to reference docker containers from unofficial sources
2024-04-09 15:27:24 +01:00
Serge Schneider
f19ee211dd Merge branch 'master' into arm64 2024-03-15 14:55:13 +00:00
Serge Schneider
1109642814 Update release notes 2024-03-15 14:54:55 +00:00
Serge Schneider
8273e8553b Merge branch 'master' into arm64 2024-03-13 19:53:20 +00:00
Serge Schneider
af5a88a20a stage4: add openocd 2024-03-13 19:53:05 +00:00
Serge Schneider
dd93d6280f Merge branch 'master' into arm64 2024-03-13 18:17:33 +00:00
Serge Schneider
3b5e214f5e export-image: format boot partition with appropriate FAT size 2024-03-13 18:16:30 +00:00
Serge Schneider
3358eb36e1 Merge branch 'master' into arm64 2024-03-13 15:46:15 +00:00
Serge Schneider
b829737d2a Update release notes 2024-03-13 15:46:00 +00:00
Serge Schneider
d92bef11f4 stage4: add meson 2024-03-13 15:45:15 +00:00
Serge Schneider
99e19802c3 stage4: remove disable-pwr-button substage
Desktop is now started with systemd-inhibit
2024-03-13 15:14:08 +00:00
Serge Schneider
9a13a81115 Merge branch 'master' into arm64 2024-03-11 14:53:03 +00:00
Serge Schneider
e8d8670b6c Update release notes 2024-03-11 14:52:14 +00:00
Serge Schneider
4ce1f1fa89 stage3: Remove fbturbo 2024-03-11 14:49:23 +00:00
Serge Schneider
ff2fd5007f Merge branch 'master' into arm64 2024-03-07 23:18:15 +00:00
Serge Schneider
57c641a64d Update release notes 2024-03-07 23:17:56 +00:00
Serge Schneider
6fb311e7fb Merge branch 'master' into arm64 2024-03-04 08:54:54 +00:00
Serge Schneider
1ce1f1c913 Replace libcamera-apps with rpicam-apps 2024-03-04 08:54:17 +00:00
Serge Schneider
b4f2aeabde Merge branch 'master' into arm64 2024-02-26 14:15:02 +00:00
Christian Kuhtz
82e5642ad1
README.md: Add xxd dependency (#750) 2024-02-26 14:12:43 +00:00
Serge Schneider
c029146a13 ensure_loopdev_partitions: let udev settle 2024-02-26 14:04:17 +00:00
Serge Schneider
94cbf476a5 Create .gitlab-ci.yml file 2024-02-26 14:04:17 +00:00
Mark Spatz
502e5fa0e3
Remove QCOW2 build mechanism (#648) 2024-02-23 04:19:10 +00:00
Tom Dewey
69037ce9fe
Update README.md (#755)
Remove references to 'Raspbian', and instead refer to 'Raspberry Pi OS'.

Additionally, a first pass of editing for conciseness.

Replace bookworm instructions with bullseye
2024-02-19 14:32:58 +00:00
Serge Schneider
57149546cf Merge branch 'master' into arm64 2024-01-30 14:43:42 +00:00