Commit Graph

562 Commits

Author SHA1 Message Date
Serge Schneider def6e65ffb stage3: switch to labwc by default 2024-09-11 13:38:16 +01:00
Serge Schneider 98f522e64d stage3: Switch chromium package and remove unnecessary steps 2024-08-27 13:00:07 +01:00
Serge Schneider 291f869713 export-image: generate sbom file if syft is available 2024-07-28 21:06:03 +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 75fe47c757 Increase default swap size to 200 2024-05-27 13:48:11 +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 9917c869a7 README.md: Consistent formatting of 'Default' values 2024-05-13 16:41:17 +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 f1c166a283 export-image: run du with -x to avoid crossing filesystem boundaries
Fixes #537
2024-04-29 14:37:36 +01:00
Kristof Nachtergaele 5780b1ff64 export stage list 2024-04-29 10:52:50 +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 c70f96f146 stage5: smartsim has been removed from recommended apps 2024-04-09 15:51:44 +01:00
Serge Schneider 7ce2538bca Revert "Added docker-compose.yml for easy apt-cacher-ng startup"
This reverts commit fe45b73987.

It's probably a bad idea to reference docker containers from unofficial sources
2024-04-09 15:27:24 +01:00
Serge Schneider 1109642814 Update release notes 2024-03-15 14:54:55 +00:00
Serge Schneider af5a88a20a stage4: add openocd 2024-03-13 19:53:05 +00:00
Serge Schneider 3b5e214f5e export-image: format boot partition with appropriate FAT size 2024-03-13 18:16:30 +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 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 57c641a64d Update release notes 2024-03-07 23:17:56 +00:00
Serge Schneider 1ce1f1c913 Replace libcamera-apps with rpicam-apps 2024-03-04 08:54:17 +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 c20ce09fac export-image: make sure initramfs is created
Fixes #749
2024-01-30 14:43:17 +00:00
Serge Schneider 0425477d19 stage2: rc.local drop-in no longer required, since Debian ships its own version 2024-01-23 15:13:46 +00:00
Serge Schneider a125344731 Remove cmdline.txt and config.txt symlinks 2024-01-22 14:48:55 +00:00
Serge Schneider e682f62aed stage3: add vulkan support 2024-01-17 17:34:49 +00:00
Serge Schneider 30fa760eb1 stage0: prevent kernel packages from creating useless symlinks 2024-01-17 17:34:18 +00:00
Serge Schneider a143895f0a stage0: Check whether foreign architecture is needed 2024-01-17 16:20:55 +00:00
Serge Schneider ec04064a55 stage0: Only disable initramfs updates if update-initramfs.conf exists 2024-01-17 16:20:55 +00:00
Serge Schneider c5fdb01eac Update release notes 2024-01-17 16:20:55 +00:00
Vasilis Tsiligiannis 1377e903b8 Ensure loop device partition nodes are created (#741)
Although the loop block device is created before attaching the image
to it, the devices for the partition that the image contains are still
not created. This patch creates those devices as well, when they are
not already available.

Fixes #482

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2024-01-04 11:05:51 +00:00
Serge Schneider 02b371de1a stage4: Update beginner's guide URL, assuming the latest version is always first 2023-11-29 16:14:37 +00:00
Serge Schneider e07ee9b988 Update release notes 2023-11-29 01:34:04 +00:00
Serge Schneider ae81834945 export-image: Add issue.txt symlink 2023-11-29 01:32:10 +00:00
Serge Schneider 399a5c2bcd stage2: install python3-venv 2023-11-29 01:29:33 +00:00
Serge Schneider 193bae2659 Remove obsolete packages 2023-11-28 14:25:26 +00:00
Serge Schneider 5b22a55361 Update release notes 2023-11-27 15:34:24 +00:00
Serge Schneider 95c9fa8cb9 stage2: include gpiod binary tools 2023-11-27 15:24:41 +00:00
Ponj 19acff0238 Fix typo (#725)
depoy > deploy
2023-11-22 13:59:13 +00:00