Commit Graph

790 Commits

Author SHA1 Message Date
classabbyamp 498083d936 mkimage: default to 256MiB boot instead of 64MiB
fixes #363
2024-02-10 21:08:01 -05:00
classabbyamp e0805d49aa mklive: add option to ignore packages
fixes #290
2024-02-10 12:18:18 -05:00
classabbyamp 0783160128
mkrootfs: base-voidstrap -> base-container-full 2023-12-01 21:00:30 -05:00
classabbyamp abbd6365b4
build-x86-images: enable chrony in images
closes #356
2023-11-19 16:40:43 -05:00
classabbyamp 76fcd713bb
build-x86-images: build base by default instead of no images
this matches what the help text says
2023-11-19 16:40:15 -05:00
classabbyamp 5f68211394 mkimage: use PARTUUID for root on rpi* images
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.
2023-11-19 16:02:38 -05:00
classabbyamp 0d1ab991f0 README.md: refactor
cleans up README.md, generates it from README.md.in with `make README.md`
to easily include help output of each script
2023-11-19 16:02:06 -05:00
classabbyamp 65b9796340 *.sh: clean up help output 2023-11-19 16:02:06 -05:00
classabbyamp 787ddeb9e1
build-x86-images: don't build all images by default
this can be done with `make live-iso-all`
2023-11-19 15:57:09 -05:00
classabbyamp 1c71416012
build-x86-images: force-create symlinks and clean up after each variant
fixes invocation without any args
2023-11-19 15:50:36 -05: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 2315b80e56 build-x86-images: show keymap selector in lightdm greeter
fixes #353
2023-09-05 18:58:43 -04:00
classabbyamp b195f14a64
installer: also remove xmirror
xmirror depending on dialog was preventing the uninstall from
succeeding, and xmirror not being removed was an omission
2023-08-06 11:28:40 -04:00
classabbyamp 93f5728656
version: bump 2023-06-28 02:05:13 -04:00
classabbyamp 91ae7e156b build-x86-images: add orca, graphical screenreader 2023-06-28 01:07:22 -04:00
classabbyamp dac90ffa0f build-x86-images.sh: switch to pipewire on non-base images
closes #301
2023-06-28 01:07:22 -04:00
classabbyamp 4e1edcfb88 build-x86-images, dracut/vmklive, installer: add support for brltty 2023-06-28 01:07:22 -04:00
classabbyamp 9e03bb6fbc build-x86-images.sh: add void-live-audio for a11y audio setup 2023-06-28 01:07:22 -04:00
classabbyamp b5a51edf94 grub: add menu entries for screenreader, memtest, efi fw setup, reboot, poweroff
- 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
2023-06-28 01:07:22 -04:00
classabbyamp faa72f6a33 isolinux: add menu entries for screenreader, memtest, reboot, poweroff
- set timeout to 15 seconds
- screenreader option can be selected with `s` hotkey
2023-06-28 01:07:22 -04:00
classabbyamp 3b113c5a29 dracut/vmklive: rename live.screenreader to live.accessibility 2023-06-28 01:07:22 -04: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 7f69fdcc84 build-x86-images: remove duplicate line
this was probably from resolving a merge conflict, it's basically a NOP
2023-06-28 01:07:22 -04:00
classabbyamp d5ef9ec033 .github/workflows/gen-images.yml: create CI workflow
for creation of images
2023-06-14 03:27:39 -04:00
classabbyamp 224d93b3e8 release.sh: replace with script that triggers CI 2023-06-14 03:27:39 -04:00
classabbyamp 50e541e326 Makefile: various changes to make CI easier
- 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
2023-06-14 03:27:39 -04:00
classabbyamp e73b635530 build-x86-images: allow external date to be set, add -t triplet
-t arch-date-variant allows for simpler makefile and easier CI
2023-06-14 03:27:39 -04:00
classabbyamp f80794ace0 dracut/vmklive/display-manager-autologin.sh: fix lightdm autologin
config file and directives were wrong
2023-05-21 23:21:02 -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
classabbyamp 3c75acb212 installer.sh: don't source version.sh 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
Michal Vasilek b28b64f5f6 mklive.sh: move installer.sh to build-x86-images.sh
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.
2023-05-21 15:09:41 -04:00
Michal Vasilek c6b3926f1e mklive.sh: remove installing local installer
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
2023-05-21 15:09:41 -04:00
Michal Vasilek a8b326f149 mklive.sh: allow passing multiple include dirs
mklive.sh is now bash because arrays make this easier
2023-05-21 15:08:18 -04:00
classabbyamp f5ef8795a8 README.md: add documentation of live iso kcl vars
also change the heading levels to make more sense
2023-05-20 22:20:53 -04:00
classabbyamp 1ff636a1c5 installer.sh.in: remove espeakup from local install if not enabled 2023-05-20 22:17:23 -04:00
classabbyamp 129aa5cbc6 dracut/vmklive: enable espeakup if live.screenreader is in kcl 2023-05-20 22:17:23 -04:00
classabbyamp 98ab76eeb7 build-x86-images: include console screenreader
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.
2023-05-20 22:17:23 -04:00
classabbyamp d96d597d74 installer.sh: fix indentation of messages
Co-authored-by: dateiexplorer <justus.roederer@dateiexplorer.de>
2023-05-20 21:25:21 -04:00
classabbyamp d8049f0355 installer.sh: ensure SOURCE_DONE is accurate
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>
2023-05-20 21:25:21 -04:00
classabbyamp b414330bc8 installer.sh: show_partitions: Display configured fstypes if available
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>
2023-05-20 21:25:21 -04:00
classabbyamp 9aec08b792 installer.sh: improve network testing
Co-authored-by: dateiexplorer <justus.roederer@dateiexplorer.de>
2023-05-20 21:25:21 -04:00
classabbyamp b0e010c87c installer.sh: fix USER*_DONE, validate user account
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>
2023-05-20 21:25:21 -04:00
classabbyamp 018343cd10 installer: check for network on source selection
the if condition is correct because test_network returns 1 on success

fixes #171
2023-05-20 20:03:46 -04:00
classabbyamp c820517fbc mkrootfs,mkplatformfs: preserve xattrs when compressing/extracting
things like capabilities were not being preserved

fixes #299
2023-05-20 18:58:03 -04:00
classabbyamp b5e8502717
dracut/autoinstaller: fix kcl parsing
regression caused by fce4ed6420
2023-05-20 15:55:51 -04:00
Toyam Cox fce4ed6420 autoinstaller: wrap dracut calls so they can error
It's nice that our stuff can be set -e but this is a regression on
dracut's side.
2023-05-19 00:05:07 -05:00
Michal Vasilek 3808462566 installer: properly unmount the whole /mnt/target
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]
2023-05-13 20:08:57 -05:00
classabbyamp a1ef2ae762 mk*.sh: use UTC date 2023-04-30 15:24:39 -04:00