summaryrefslogtreecommitdiff
path: root/build.sh
AgeCommit message (Collapse)Author
2026-03-02Merge branch 'master' into arm64Serge Schneider
2026-03-02Add PASSWORDLESS_SUDO optionSerge Schneider
raspberrypi-sys-mods no longer ships 010_pi-nopasswd. This adds an option to re-enable passwordless sudo.
2025-09-30Merge branch 'master' into arm64Serge Schneider
2025-09-30Add cloud-init supportpaulober
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2025-09-12Merge branch 'master' into arm64Serge Schneider
2025-09-05build.sh: log skipped non-executable run.sh filesSerge Schneider
2025-08-19Merge branch 'master' into arm64Serge Schneider
2025-08-19bookworm -> trixieSerge Schneider
2025-05-06Merge branch 'master' into arm64Serge Schneider
2025-04-15Add TEMP_REPO variableSerge Schneider
2024-10-30Merge branch 'master' into arm64Serge Schneider
2024-10-30Improve PAGESIZE check and recommendationSerge Schneider
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-29Merge branch 'master' into arm64Serge Schneider
2024-10-29Add kernel page size checkSerge Schneider
2024-10-29Create WORK_DIR earlierSerge Schneider
The exit trap uses the log function which writes to a log file in WORK_DIR.
2024-10-29Merge branch 'master' into arm64Serge Schneider
2024-10-29Allow export image customisation (#801)Matthew Lear
* 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-05-15Merge branch 'master' into arm64Serge Schneider
2024-05-15Expand trap cleanup function (#773)Tom Dewey
* 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-13build.sh: set ARCH to arm64Serge Schneider
2024-05-13build.sh: Warn user of unsupported build environment architecture and fail ↵Serge Schneider
early if binfmt_misc isn't working as expected
2024-05-13Set a default IMG_NAMESerge Schneider
This also adds the 'ARCH' environment variable, which will help reduce the delta between master and arm64 branches.
2024-04-29export stage listKristof Nachtergaele
2024-02-23Remove QCOW2 build mechanism (#648)Mark Spatz
2023-10-23README.md: add PI_GEN_RELEASE (#720)Stefan Becker
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-09-25Remove dhcpcd and associated optionsSerge Schneider
2023-09-25Switch to BookwormSerge Schneider
2022-11-08Add parameter to keep cap_setfcapSerge Schneider
Fixes #643
2022-11-08Updates to avoid common pitfalls when changing the RELEASE variableSerge Schneider
Fixes #635, fixes #645, fixes #632
2022-10-14apt/retries: specify option from the Acquire group (#638)kralo
per man apt.conf, Acquire group is not part of the apt group
2022-06-17Create a `DISABLE_FIRST_BOOT_USER_RENAME` flag to be set in config (#618)Romain Bazile
Closes #614
2022-03-18Remove default passwordSerge Schneider
2022-03-01Addition of a `DEPLOY_COMPRESSION` option to the configuration (#592)Romain Bazile
2022-02-02Add check and warning for a space presence in the base pathRomain Bazile
2022-02-02Strip trailing spacesSerge Schneider
2021-11-08Do not use qcow2 images by defaultSerge Schneider
2021-10-05Switch to bullseyeSerge Schneider
2021-09-21Remove IMG_DATE from work directoriesSerge Schneider
2021-02-10Add QCOW2 build mechanism (#349)Holger Pandel
2020-09-08Enable adding SSH pubkey and setting pubkey only (#380)Daniel F. Dickinson
This commit add the ability to specify an SSH public key as well as the option to disable password authentication and only allow public key authentication for SSH. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2020-02-26Exposed RELEASE as a configurable variable (#391)DragonEagle
Exposed RELEASE as a configurable variable and updated README.md. As a bonus, there is only on place to change the release name when the next release is stable now.
2020-02-20Retry apt downloads 3 timesLuigi F. Cruz
Fixes #194
2020-01-21Rename HOSTNAME variable to TARGET_HOSTNAMESerge Schneider
Bash sets the HOSTNAME variable, overriding our default
2020-01-08WPA_PASSWORD length check should only occur if setSam Tygier
Test if WPA_PASSWORD is set before check that it has a valid length.
2020-01-07Check WPA_PASSWORD length earlySam Tygier
WPA_PASSWORD needs to be between 8 adn 63 characters. Check early to avoid hitting error in stage2.
2019-11-26Explicitly check if postrun script exists in BASE_DIR (#351)Leander
2019-11-18Remove accidental trailing brace (#348)Leander
2019-11-18Export base directory before loading config file (#347)Leander
2019-11-05Added hostname parameterRene Klootwijk
2019-08-14Support regional config settings (#323)Joshua Bussdieker