Commit Graph

10 Commits

Author SHA1 Message Date
Tim Sandquist 85f8bcf2c6 Increase size of /boot for pinebookpro, rock64, and rockpro64
Size of two recent kernels and initramfs images exceeds 256M.
2024-08-06 17:16:08 -04:00
Tim Sandquist 9027ab13cd Add rockpro64 to image builder
Based on @tiemenwerkman's work on https://github.com/void-linux/void-mklive/pull/221
2024-08-06 17:16:08 -04:00
classabbyamp f5bdce3736 mkimage: reduce default total image size to 512 + 256 MiB
because growpart is now run at boot, we can make the base image smaller.
This does not provide any benefit when compressed (the image is still
81M compressed with xz 9), but this should be much faster to write to
the target SD card/USB drive for SBCs, where the throughput is rather
slow. Growpart will inflate the root partition to a reasonable size for
the user. Users who want more flexibility in partitioning should be
doing a chroot/PLATFORMFS install.
2024-07-25 21:21:49 -04:00
classabbyamp b9da2dc059 mkimage: include and enable growpart in images 2024-07-25 21:21:49 -04:00
classabbyamp 498083d936 mkimage: default to 256MiB boot instead of 64MiB
fixes #363
2024-02-10 21:08:01 -05:00
classabbyamp 5f68211394 mkimage: use PARTUUID for root on rpi* images
This makes it easier to set up an RPi SBC image for non-MMC boot by
ensuring that the right root partition is chosen. If the enumerated
(sdX-style) name changes, boot can fail.
2023-11-19 16:02:38 -05:00
classabbyamp 65b9796340 *.sh: clean up help output 2023-11-19 16:02:06 -05:00
classabbyamp ccf27aa90e *: remove support for cubie, bananapi, odroid, beaglebone, ci20 boards
see void-linux/void-packages #46493
2023-10-13 01:01:08 -04:00
classabbyamp 8871805dc5 *.sh: refactor new version method into lib.sh
no need to create a second file just for the version when it can be set
in lib.sh

git -c safe.directory is needed to be able to run rev-parse as root

also contains some minor refactors to arg parsing etc
2023-05-21 23:21:02 -04:00
Michal Vasilek 6a6caa7b31 Do not build .sh scripts from .sh.in
The build process only replaces @@MKLIVE_VERSION@@ with the correct
version string. This can also be done by simply sourcing a version.sh file.
This way it's simpler, avoids one unnecessary build step and people
won't accidentally run an old version of a script.
2023-05-21 15:42:36 -04:00