Commit Graph

6 Commits

Author SHA1 Message Date
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
classabbyamp a7698238e2
mkplatformfs, mkrootfs: show help if no args 2024-02-16 06:21:59 -05:00
classabbyamp 0783160128
mkrootfs: base-voidstrap -> base-container-full 2023-12-01 21:00:30 -05:00
classabbyamp 65b9796340 *.sh: clean up help output 2023-11-19 16:02:06 -05: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