Commit Graph

7 Commits

Author SHA1 Message Date
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