| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-01-24 | Update ROOT_MARGIN | Serge Schneider | |
| 2019-09-25 | Use 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-27 | Updated export-image to not depend on fake-hwclock and hardlink. (#326) | Russ Kubes | |
| 2019-08-14 | Revert "export-image: Remove interfaces.dpkg-old" | Serge Schneider | |
| This reverts commit a016561600292047971b65d034f0e6eaeadd1122. | |||
| 2019-08-14 | export-image: Remove interfaces.dpkg-old | Serge Schneider | |
| 2019-06-07 | Disable ld.so.preload while building | Serge Schneider | |
| 2019-06-07 | export-image: remove /etc/network/interfaces.dpkg-old | Serge Schneider | |
| 2019-06-07 | export-image: Set /boot size to 256MB | Serge Schneider | |
| 2019-06-07 | Remove Oracle Java | Serge Schneider | |
| 2019-06-07 | Update to Buster | Serge Schneider | |
| Remove ui and staging components | |||
| 2019-04-25 | Do 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-18 | Switch to using parted's machine parseable output (#270) | Andrew Scheller | |
| 2019-02-18 | Use different rsync options for boot and root | Sam Tygier | |
| When copying files to boot, options that are not supported on fat32 can cause errors. For example owner, group and xattrs. | |||
| 2019-01-30 | Decrease zerofree verbosity | Louis Matthijssen | |
| Fixes #251 | |||
| 2019-01-30 | Add a DEPLOY_ZIP setting | Louis Matthijssen | |
| 2019-01-23 | Update 00-run.sh | XECDesign | |
| Fix typo | |||
| 2019-01-22 | IMG_SUFFIX evaluation in export image (fix #241) | Błażej Sowa | |
| 2019-01-15 | Fixed a hard reference to the 'pi' user name | rkubes | |
| 2018-12-21 | Allow custom deploy zip filename | Błażej Sowa | |
| 2018-12-21 | Allow custom image filename | Błażej Sowa | |
| 2018-06-04 | export-image: clean additional backup files (#186) | Hugo Hromic | |
| 2018-03-26 | Fix some quoted globs in export-image cleanup (#173) | David Steele | |
| 2018-03-13 | shellcheck | Serge Schneider | |
| 2018-03-01 | export-image: don't round up if already a multiple of 4MB | Serge Schneider | |
| Fixes #156 | |||
| 2018-03-01 | make root filesystem 4M aligned (#154) | James Ruan | |
| 2018-03-01 | Remove ld.so.preload and policy-rc.d changes | Serge Schneider | |
| 2017-11-24 | Round image size up to nearest 4M block | Serge Schneider | |
| 2017-11-22 | Remove /etc/vnc/updateid when finalising | Andrew Wedgbury | |
| 2017-11-07 | Fix typo in export-image | XECDesign | |
| Fixes #132 | |||
| 2017-11-06 | Label root partition | XECDesign | |
| Fixes #131 | |||
| 2017-09-14 | [adding] qemu emulation layout to test images with qemu | Jacen | |
| 2017-08-31 | export-image: when work in a non-English locale environment the PARTUUID ↵ | James Ruan | |
| will silently fail, resulting to an unbootable image file. (#96) * use dd and xxd to get disk identifier * add xxd as dependency | |||
| 2017-08-11 | Disable 64bit filesystem feature | Serge Schneider | |
| 2017-07-28 | export-image: generate .info file | Serge Schneider | |
| 2017-07-28 | Switch to Stretch | Serge Schneider | |
| 2017-07-27 | Corrected various typos (#91) | TJ Rana | |
| * Rename License.md to LICENSE * Correct typos * Clean up code layout Organize layout with extra lines | |||
| 2017-07-17 | Export-image: Only disable metadata_csum feature if it's possibly enabled. | Russ Kubes | |
| 2017-07-03 | Export-image: disable metadata_csum for compatibility with older SD card copiers | Serge Schneider | |
| 2017-06-21 | export-image: increase free space padding | Serge Schneider | |
| 2017-06-21 | export-image: switch from fallocate to truncate | Serge Schneider | |
| 2017-06-20 | export-image: use apparent size when calculating disk usage | Serge Schneider | |
| 2017-05-15 | stage4: add /etc/mtab symlink | Serge Schneider | |
| 2017-04-03 | Clean up clean up | Serge Schneider | |
| 2017-03-07 | Switch to PARTUUID | Serge Schneider | |
| 2017-03-06 | export-image: Format /boot as FAT32 | Serge Schneider | |
| 2017-01-23 | Added Docker support (#40) | Claus F. Strasburger | |
| * Added Docker support - replaced necessity for devicemapper (through kpartx) by using parted and losetup with offsets - added Dockerfile - added dependency for parted and grep - added hints to README.md - common: loop through unmounts, fix shellcheck warnings * stage2: use debconf instead of console-setup patch. Fixes #41 | |||
| 2016-11-14 | Use capsh to ensure file capabilities aren't set | Serge Schneider | |
| 2016-11-14 | Fix .config permissions | Serge Schneider | |
| 2016-10-09 | rsync single file system (#25) | chz^3 | |
| If proc is mounted in rootfs (e.g., via chroot), rsync will try copying kcore when permitted to cross file system boundaries. | |||
| 2016-05-19 | hardlink documentation | Serge Schneider | |
