Commit Graph

712 Commits

Author SHA1 Message Date
Serge Schneider ccc23c6738 Merge branch 'master' into arm64 2024-10-30 11:33:22 +00:00
Serge Schneider 9dbd88221c README.md: Fix TIMEZONE_DEFAULT description 2024-10-30 11:33:11 +00:00
Serge Schneider 536dd583b4 README.md: Clarify early on that armhf and arm64 images should be build from different branches. 2024-10-30 11:32:47 +00:00
Serge Schneider 1baee51b8c Improve PAGESIZE check and recommendation
Setting kernel=kernel8.img while auto_initramfs=1 currently still loads initamfs_2712.
This can cause issues on systems which require drivers compiled as modules to boot.
Until this is fixed in the bootloader, users should specify initramfs options as well.

Also, move the PAGESIZE check before the arch-test checks to make the output clearer.
2024-10-30 10:12:21 +00:00
Serge Schneider 150246acda Merge branch 'master' into arm64 2024-10-29 15:33:28 +00:00
Serge Schneider df6d0e2a25 Add kernel page size check 2024-10-29 15:32:19 +00:00
Serge Schneider 2aa7133eea Create WORK_DIR earlier
The exit trap uses the log function which writes to a log file in WORK_DIR.
2024-10-29 15:30:58 +00:00
Serge Schneider 19fd60cef7 Merge branch 'master' into arm64 2024-10-29 10:16:06 +00:00
Matthew Lear b8e497cf21 Allow export image customisation (#801)
* Allow export image customisation

Add new variable EXPORT_CONFIG_DIR to set the location of the scripts
pigen will run when exporting an image. Setting this is optional. If
not specified, the current location is retained.

By utilising STAGE_LIST AND EXPORT_CONFIG_DIR, a user can construct
custom images out-of-tree without modification to any defaults.

(cherry picked from commit e5e6ceeaf46f52f77b759d3d35aef8bbd0a69c8b)

* Shellcheck and style fixes

Fixed shellcheck warnings and made the changes more consistent with the surrounding code

---------

Co-authored-by: Serge Schneider <serge@raspberrypi.com>
2024-10-29 10:15:10 +00:00
Serge Schneider 6453828cce Merge branch 'master' into arm64 2024-10-28 15:00:29 +00:00
Serge Schneider 9dfbb1546d Update release notes 2024-10-28 14:58:23 +00:00
Serge Schneider f165f8a3a8 Update release notes 2024-10-28 14:58:23 +00:00
Serge Schneider 9e65ea75d8 Update release notes 2024-10-28 14:58:23 +00:00
Serge Schneider 8f88b83a9a stage4: install squeekboard 2024-10-28 14:58:23 +00:00
Serge Schneider 674c30e864 Replace python3-rpi.gpio with python3-rpi-lgpio 2024-10-28 14:58:23 +00:00
Serge Schneider a766e71ff1 stage3: switch from arandr to raindrop 2024-10-28 14:58:23 +00:00
Serge Schneider 40a5c1ceed stage3: switch to labwc by default 2024-10-28 14:58:23 +00:00
Serge Schneider 7fe9ae553c stage3: Switch chromium package and remove unnecessary steps 2024-10-28 14:58:23 +00:00
Serge Schneider 21e8e54d22 export-image: generate sbom file if syft is available 2024-10-28 14:58:23 +00:00
Serge Schneider 9aa52c467b Merge branch 'master' into arm64 2024-10-28 08:27:07 +00:00
Serge Schneider b040e0a64e Update release notes 2024-10-28 08:26:59 +00:00
Serge Schneider 17c8e48534 Merge branch 'master' into arm64 2024-10-28 08:15:53 +00:00
Serge Schneider 7c7d74f210 Update release notes 2024-10-28 08:11:44 +00:00
Serge Schneider ecda2579eb Merge branch 'master' into arm64 2024-10-07 15:16:24 +01:00
Serge Schneider 94f7acf599 Update release notes 2024-10-07 15:16:04 +01:00
Serge Schneider 4cfc6758ff Merge branch 'master' into arm64 2024-09-25 11:58:30 +01:00
Serge Schneider fd5a1e93cd stage4: install squeekboard 2024-09-25 11:57:45 +01:00
Serge Schneider c94d23e165 Replace python3-rpi.gpio with python3-rpi-lgpio 2024-09-25 11:57:45 +01:00
Serge Schneider cdc1467e13 stage3: switch from arandr to raindrop 2024-09-11 13:39:38 +01:00
Serge Schneider def6e65ffb stage3: switch to labwc by default 2024-09-11 13:38:16 +01:00
Serge Schneider 36048218e0 Merge branch 'master' into arm64 2024-08-27 13:01:06 +01:00
Serge Schneider 98f522e64d stage3: Switch chromium package and remove unnecessary steps 2024-08-27 13:00:07 +01:00
Serge Schneider 0668700902 Merge branch 'master' into arm64 2024-07-28 21:06:21 +01:00
Serge Schneider 291f869713 export-image: generate sbom file if syft is available 2024-07-28 21:06:03 +01:00
Sébastien Le Ray dca93d24c7 README: add specific stage build for Docker (#777) 2024-07-09 10:08:38 +01:00
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