summaryrefslogtreecommitdiff
path: root/export-image
AgeCommit message (Collapse)Author
2026-03-27export-image: Use 1 sector per cluser for bootfsSerge Schneider
2025-10-28export-image: fix timesync typoSerge Schneider
2025-08-22export-image: pre-populate apt-listchanges databaseSerge Schneider
2025-08-19Remove fake-hwclockSerge Schneider
2025-08-19Set machine-id to "uninitialized" to signal first bootSerge Schneider
2025-05-13export-image: Check if bmap file exists before copyingSerge Schneider
2025-04-29export-image: Do not compress the bmap fileSerge Schneider
2025-04-28export-image: remove image_ prefix from non-image filesSerge Schneider
2025-04-15Add TEMP_REPO variableSerge Schneider
2025-04-15Remove old qemu-arm-static referenceSerge Schneider
2025-03-14export-image: generate bmap file if bmaptool is availableRichard Oliver
2025-03-13Align partition start boundaries to 8MJonathan Bell
Higher-capacity cards (particularly Raspberry Pi 128GB A2) have an 8MB preferred erase size, which is a good indication of the flash block size. Other large cards may also benefit. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
2024-10-31Build initial initramfs with 'most' modules, then change the setting to 'dep'Serge Schneider
2024-10-28export-image: generate sbom file if syft is availableSerge Schneider
2024-05-15Compare mount output using base of dirname (#771)Pev
* 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-04-29export-image: run du with -x to avoid crossing filesystem boundariesSerge Schneider
Fixes #537
2024-03-13export-image: format boot partition with appropriate FAT sizeSerge Schneider
2024-02-23Remove QCOW2 build mechanism (#648)Mark Spatz
2024-01-30export-image: make sure initramfs is createdSerge Schneider
Fixes #749
2024-01-04Ensure loop device partition nodes are created (#741)Vasilis Tsiligiannis
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>
2023-11-29export-image: Add issue.txt symlinkSerge Schneider
2023-09-25Switch to new kernel and firmware packagesSerge Schneider
2023-09-25export-image: auto-remove and purge packages on dist-upgradeSerge Schneider
2023-08-17Adds call to mknod if loop dev does not exist after call to `losetup -f` (#483)bamartin125
2023-02-14export-image: change boot partition lable to 'bootfs'Serge Schneider
Fixes #669
2022-11-11use a single partitioned loop device (#641)rfc6919
2022-09-22Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is setSerge Schneider
2022-06-17Adjust partition formatting and mount optionsSerge Schneider
Format the root partition with the metadata_csum option Format the boot partition with 4 sectors per cluster for a slight performance boost Remove 'flush' mount option from the boot partition
2022-06-17Create a `DISABLE_FIRST_BOOT_USER_RENAME` flag to be set in config (#618)Romain Bazile
Closes #614
2022-03-21Enable userconf-pi on first bootSerge Schneider
2022-03-01Addition of a `DEPLOY_COMPRESSION` option to the configuration (#592)Romain Bazile
2021-02-10Add QCOW2 build mechanism (#349)Holger Pandel
2020-11-17export-image: get apt lists from public repoSerge Schneider
2020-09-23workaround build failure on AWS M6g instances (#449)kdoren
2020-01-24Update ROOT_MARGINSerge Schneider
2019-09-25Use parted for partitioning (#285)Matthijs Kooijman
Previously, fdisk was used by sending commands into its stdin, which is not very robust (since it heavily relies on the interactive prompts offered by fdisk as well as the default values it offers, which seem prone to changing in future version). It seems likely that in the past, fdisk was easier than parted since it provides default values that make it easier to create adjacent partitions, without precalculating all positions in the script. However now that partitions are manually being aligned, all data must be calculated anyway. This commit changes the partition generation to use parted rather than fdisk. For this, it rewrites various calculations and renames variables to be easier to read as well. All values are now in number of bytes, rather than mixing bytes and sectors. This commit also makes makes sure that the boot partition and root partition are always adjacent (previously the root partition was aligned without also rounding the boot partition size, leaving some empty space in between). As a side effect of using parted, this also causes the "bootcode" part of the MBR to be filled with some default x86 bootcode. This is totally irrelevant for booting the Raspberry Pi, but it does prevent triggering a bug in parted. When using parted to change the partition table (e.g. when resizing the root partition on first boot by raspi-config's init_resize.sh), the disk identifier would be changed due to this bug, which would change the PARTUUID of all partitions. The init_resize.sh script would work around this by updating the PARTUUID in e.g. fstab, but that's fragile at best. This commit prevents the bug from triggering and keeps the disk identifier the same. See https://debbugs.gnu.org/35714 for details about this parted bug. This commit fixes #284.
2019-08-27Updated export-image to not depend on fake-hwclock and hardlink. (#326)Russ Kubes
2019-08-14Revert "export-image: Remove interfaces.dpkg-old"Serge Schneider
This reverts commit a016561600292047971b65d034f0e6eaeadd1122.
2019-08-14export-image: Remove interfaces.dpkg-oldSerge Schneider
2019-06-07Disable ld.so.preload while buildingSerge Schneider
2019-06-07export-image: remove /etc/network/interfaces.dpkg-oldSerge Schneider
2019-06-07export-image: Set /boot size to 256MBSerge Schneider
2019-06-07Remove Oracle JavaSerge Schneider
2019-06-07Update to BusterSerge Schneider
Remove ui and staging components
2019-04-25Do not assume the changelog file is always present for the info file (#280)Hugo Hromic
The `(..)/raspberrypi-kernel/changelog.Debian.gz` file is not guaranteed to be present in the built `ROOTFS_DIR`, for example when building very minimal images without package documentation. In these cases, the `firmware` variable will be left empty and the subsequent calls to `curl` will return large 404 HTML content from GitHub. Instead, simply check if the changelog file exists before using it.
2019-03-18Switch to using parted's machine parseable output (#270)Andrew Scheller
2019-02-18Use different rsync options for boot and rootSam Tygier
When copying files to boot, options that are not supported on fat32 can cause errors. For example owner, group and xattrs.
2019-01-30Decrease zerofree verbosityLouis Matthijssen
Fixes #251
2019-01-30Add a DEPLOY_ZIP settingLouis Matthijssen
2019-01-23Update 00-run.shXECDesign
Fix typo