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.
- also clean up indentation
- set timeout to 15 seconds
- play a sound on pc speaker when at grub menu, for accessibility
- screenreader option can be selected with `s` hotkey
- made more things externally settable
- added a target for checksumming
- platformfs targets require the respective rootfs
- if the env var $CI is set (automatic in github CI), prints github ci
magic strings for grouping output
- added targets for building live isos
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
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.
Running mklive.sh without any arguments produces a minimal image that
doesn't have dialog installed which is required for installer.sh. Let's
move installing the installer script up a level to
build-x86-64-images.sh which already adds a dialog dependency.
There used to be a package that provided the installer, it was removed
in 2013 and replaced by the installer.sh script in the void-mklive repository,
so this code path doesn't make sense on modern void systems.
59a5c8461e
espeakup is a screenreader for console environments
they are a minimal increase to the size of the live images, but I think
they are an important accessibility feature to add.
from dateiexplorer:
Another bug with the SOURCE_DONE is also fixed. Previous the local image
was installed instead of the net packages if installation process was
aborted and later continued by the user.
Co-authored-by: dateiexplorer <justus.roederer@dateiexplorer.de>
If a user configures the partitions the installer displays the fstypes
after the installation with the current configuration instead of the current
fstypes.
fixes#130
Co-authored-by: dateiexplorer <justus.roederer@dateiexplorer.de>
also make the description of the USERNAME (comment/GECOS) more
informative
from dateiexplorer:
The issue with the various USER_DONE variables is that they are reset if
the installation process was aborted and then restarted. The configuration
were still there but the user wasn't created because of the DONE variables.
Instead of checking the DONE variables now the actual user settings are
checked for existence.
Co-authored-by: dateiexplorer <justus.roederer@dateiexplorer.de>
without unmounting recursively, unmounting fails because some mounts
aren't unmounted before their parents and /mnt/target doesn't get unmounted
This also removes the need to unmount anything manually
Closes: #336 [via git-merge-pr]