Commit Graph

729 Commits

Author SHA1 Message Date
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
classabbyamp
6ef4381f85 .dockerignore, hooks/: remove
was forgotten in b53cb28
2023-04-30 15:24:39 -04:00
classabbyamp
a6fcabc0ed installer: hide root group in the additional groups menu
regular users should not be using this group. instead, they should be
using wheel and/or sudo/doas/su
2023-04-29 20:50:46 -04:00
classabbyamp
e50aaaccc4 installer.sh.in: sort filesystems by mountpoint
fixes #131
fixes #323
2023-04-29 20:48:07 -04:00
Michal Vasilek
061606be11 installer: generalise enabling services 2023-04-15 14:25:13 +02:00
classabbyamp
794bc7527c installer.sh.in: remove autologin for live user from agetty-tty1
fixes #211
closes #212
2023-04-15 04:33:26 -04:00
classabbyamp
624cf96433 dracut/vmklive/adduser.sh: detect live.autologin properly
if just `live.autologin` is added to the KCL, it would not be detected
and the user would still need to log into the live image.
2023-04-15 04:33:26 -04:00
classabbyamp
8a04733dbf mklive.sh.in: fix step count 2023-04-15 04:33:26 -04:00
Michal Vasilek
2dfcb11662 build-x86-images.sh: use lightdm instead of lxdm
Lxdm is an old project with, the last release is from 2015 and users
sometimes report lxdm giving them a black unresponsive screen after
an update.

LightDM is much more maintained and much more common nowadays.

Also switch the lxqt image to sddm, other distributions which ship an
lxqt variant also seem to use sddm.
2023-04-15 04:26:58 -04:00
classabbyamp
c92e14595b
dracut/vmklive/display-manager-autologin.sh: fix autologin for sddm
if a non-default username is set, this won't work.
autologin for other DMs already use $USERNAME
2023-04-15 04:13:45 -04:00
classabbyamp
7e07be4c4c installer: add xmirror to installation process
closes #317
2023-04-15 03:20:22 -04:00
classabbyamp
c35369bfb1 build-x86-images: add xmirror 2023-04-15 03:20:22 -04:00