Commit Graph

102 Commits

Author SHA1 Message Date
e623db2e4b Fixes 2026-04-03 02:26:38 -07:00
235a12a5ed Improve build system, use configs for more control 2026-03-29 20:33:58 -07:00
8a573b2607 fix typo in TZ 2026-03-29 03:33:34 -07:00
135c13cada new base? 2026-03-10 06:30:47 -07:00
74e2382e56 Fix raspbian sources 2026-03-07 04:06:46 -08:00
0666b4d8ce Restructure 2026-03-05 08:32:01 -08:00
6ff686f46a export squashfs instead of ISO for now 2026-03-05 06:25:58 -08:00
ee1ff065d7 Closer: Part 2 2026-03-05 04:33:50 -08:00
86538fe574 Fixes 2026-03-05 02:27:49 -08:00
104e7bd4cc Test 2026-03-05 02:16:50 -08:00
oxmc
07b8db1a74 Trixie base 2025-12-26 02:48:07 -08:00
468ddd3807 Stable OS release with recovery partition 2025-05-13 06:36:48 -07:00
cac89696cc Fix rootfs issue 2025-04-29 00:01:36 -07:00
ab106ee155 Fiexs, and branch rename 2025-04-28 12:43:11 -07:00
39e1107a77 Fixes? 2025-04-24 01:40:34 -07:00
3c059bd298 Remove arm only EXPORT_IMAGE check 2025-04-23 03:54:33 -07:00
a03e3afc9d AMD support part 2 2025-04-23 03:08:09 -07:00
f38d992317 Add back build.sh (whoops) 2025-04-22 22:36:38 -07:00
dc04dc1780 AMD fix 1 2025-04-22 22:35:19 -07:00
374c3ff1a8 Recovery and AMD64 builds? 2025-04-22 18:29:27 -07:00
b5e19a5623 Add splash 2025-03-31 03:29:23 -07:00
0b25510108 First full build 2025-03-24 16:35:33 -07:00
c66784a6a0 First Stable OS 2025-03-21 10:25:29 -07:00
Serge Schneider
ccc23c6738 Merge branch 'master' into arm64 2024-10-30 11:33:22 +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
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
Serge Schneider
72b2dfd634 build.sh: set ARCH to arm64 2024-05-13 16:28:34 +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
Kristof Nachtergaele
5780b1ff64 export stage list 2024-04-29 10:52:50 +01:00
Mark Spatz
502e5fa0e3 Remove QCOW2 build mechanism (#648) 2024-02-23 04:19:10 +00:00
Stefan Becker
d966897395 README.md: add PI_GEN_RELEASE (#720)
This is the text written to "/etc/issue.txt" by update_issue(). The
default is the name used by official Raspberry Pi builds.

Fixes #719
2023-10-23 12:11:43 +01:00
Serge Schneider
8dd23cbc1d Remove dhcpcd and associated options 2023-09-25 15:04:19 +01:00
Serge Schneider
6aca615037 Switch to Bookworm 2023-09-25 15:04:19 +01:00
Serge Schneider
c3083ecd50 Add parameter to keep cap_setfcap
Fixes #643
2022-11-08 12:04:12 +00:00
Serge Schneider
549681f6e2 Updates to avoid common pitfalls when changing the RELEASE variable
Fixes #635, fixes #645, fixes #632
2022-11-08 11:29:37 +00:00
kralo
f00b72208c apt/retries: specify option from the Acquire group (#638)
per man apt.conf, Acquire group is not part of the apt group
2022-10-14 14:48:30 +01:00
Romain Bazile
01b2432007 Create a DISABLE_FIRST_BOOT_USER_RENAME flag to be set in config (#618)
Closes #614
2022-06-17 15:45:08 +01:00
Serge Schneider
95ac3cfb3b Remove default password 2022-03-18 15:03:23 +00:00
Romain Bazile
5d044ba71b Addition of a DEPLOY_COMPRESSION option to the configuration (#592) 2022-03-01 16:23:42 +00:00
Romain Bazile
8862e4d9ff Add check and warning for a space presence in the base path 2022-02-02 14:12:39 +00:00
Serge Schneider
c393ef105e Strip trailing spaces 2022-02-02 14:04:25 +00:00
Serge Schneider
68fee340f9 Do not use qcow2 images by default 2021-11-08 08:44:36 +00:00
Serge Schneider
d9b4a4a985 Switch to bullseye 2021-10-05 16:59:28 +01:00