Commit Graph

19 Commits

Author SHA1 Message Date
classabbyamp c99cafb613 mklive.sh: ensure dash is /bin/sh if installed 2025-01-01 14:52:10 -05:00
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 20b42c6218 platforms: add pinebookpro 2025-01-01 14:52:10 -05:00
classabbyamp 5931d6640b mklive, grub: add support for "platforms" in live isos
this can be used to define special platform-specific support things,
like extra packages, a device tree, and cmdline. This allows creating
live isos that support generic arm64 UEFI as well as ones that require
special care (like the x13s)
2025-01-01 14:52:10 -05:00
classabbyamp a78af02a01 mklive, mkiso: support aarch64 2025-01-01 14:52:10 -05:00
classabbyamp 41ccf5e202 build-x86-images: rename to mkiso 2025-01-01 14:52:10 -05:00
classabbyamp be5844985f
mklive: use xbps-query cmd and proper arch
fixes mistake in 6a56ad6
2024-12-21 12:44:09 -05:00
classabbyamp 76018f0a95
mklive: load dm-raid on boot if exists as a module
fixes: #239
2024-12-21 11:59:23 -05:00
classabbyamp 6a56ad61bb
mklive: fix inclusion of some dkms modules
dkms makes `/var/lib/dkms` during xbps's package configuration, so if
a dkms module comes *before dkms alphabetically*, it fails `dkms add`
with `Error! No write access to DKMS tree at /var/lib/dkms` (which is
silenced by the xbps trigger)... because `/var/lib/dkms` doesn't exist
yet.

fixes: #358
2024-12-21 10:34:27 -05:00
classabbyamp 5ae016556d mklive: don't install linux if -v is passed
also support passing linux metapackages

fixes: #128
fixes: #387
fixes: #388
2024-12-21 09:50:55 -05:00
meator 056412afef mklive.sh: Make default shell configurable
This commit add a -S option that changes the default root shell of
the iso. It also mentions the live.shell kernel option that changes
the shell of the unprivileged user (anon).
2024-12-20 00:27:00 -05:00
Piraty 1c819294d9
mklive: fix memtest86+ install
see void-packages/b46a87070cb ("memtest86+: update to 7.20.")
2024-12-06 22:07:28 +01:00
classabbyamp 9708d22136
mklive: check if pseudofs exists before umounting it 2024-02-22 21:48:45 -05:00
classabbyamp 44a30c43f6
mklive.sh: fix issues with error handling and unmounting pseudofs
- add some error handling to `umount_pseudofs`
- disable the trap before running `error_out` to stop it running multiple times
- add `--one-file-system` to ensure that the `rm -rf` can't screw you

fixes #364
2024-02-16 06:21:57 -05:00
classabbyamp e0805d49aa mklive: add option to ignore packages
fixes #290
2024-02-10 12:18:18 -05:00
classabbyamp 65b9796340 *.sh: clean up help output 2023-11-19 16:02:06 -05:00
classabbyamp cbe785bfba mklive: add memtest86+ to images
closes #346

also add reboot and poweroff syslinux files for menuentries
2023-06-28 01:07:22 -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