Commit Graph

7 Commits

Author SHA1 Message Date
classabbyamp 06fe42b5f2 mklive.sh: use lib.sh more
but don't use it for everything, as some things seem a bit broken with
mklive specifically

closes: #322
2025-01-01 14:52:10 -05:00
classabbyamp 66d1c54261 lib.sh: update binfmt handling, add riscv
recent qemu updates mean we don't need to hardcode the binfmts, as they
are shipped as files generated by qemu, importable by update-binfmts.

ref: #386
2025-01-01 14:52:10 -05: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 a11db74f39
lib.sh: support sourcing with set -u 2023-11-19 15:50:14 -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