The installer was originally written when the dhcpcd wpa_supplicant hook
was enabled. In early 2019, the hook was disabled and it appears that
the installer has been unable to configure WiFi since then.
To address this, enable the wpa_supplicant service, configure it, and
reload the service when dhcpcd is used for network connectivity.
Closes#5
Also changes to a better file for checking if the network is working.
Previously all services were enabled with some exceptions. That way some
services got enabled unintentionally when they were added somewhere in
the dependency tree.
This commit requires explicitly listing enabled services with the
exception of DEFAULT_SERVICE_LIST in mklive.sh - agetty-tty1-6, udevd.
difference from the generated images before this commit:
plain mklive: -acpid -dhcpcd -sshd -uuidd
base: -uuidd
enlightenment: -uuidd -acpid -rtkit
xfce: -uuidd -acpid -rtkit
mate: -uuidd -acpid -rtkit
cinnamon: -uuidd -acpid -rtkit -colord
gnome: -uuidd -acpid -rtkit -colord -bluetoothd -brltty
lxde: -uuidd -rtkit
lxqt: -uuidd -acpid -rtkit
kde: -uuidd -acpid -bluetoothd -boltd -tcsd
Closes: #267 [via git-merge-pr]
instead of editing /etc/sudoers directly, which is more fragile
ALL:ALL in sudoers rules allows those that match the rule to impersonate
any user and any group. This matches closer to the default/suggested
configurations in /etc/sudoers
For f2fs, set fs_passno also to 0 if not a root filesystem. For btrfs
and xfs, set fs_passno to 0 in all cases. See fsck.btrfs(8) and
fsck.xfs(8) for more information. f2fs still seems to have issues [0].
[0] https://wiki.archlinux.org/title/F2fs#Known_issues
* rename e to enlightenment
* enable building kde by default
* allow building multiple, but not all images (ex. -b "base xfce")
* run the script with set -e (exit when there is an error)
* do not allow invalid variants
* do not allow invalid commandline options
* exit with status code 0 when build-x86-images.sh -h is ran
The gnome metapackage has gnome-terminal in dependencies, so there isn't
a reason to explicitly install it and gnome-terminal might be replaced
by gnome-console in the future.
A -S option was added in 7d89972c57. This
option was removed in 77442599ce. This
option was not removed completely. This removes the -S option from
getopts.
the build runs out of space with only 1G, furthermore it was
doing a hard reset without any sync, so many files touched in
the cloud.sh script were empty on the image
Most of these aren't in void-packages anymore, the awk dependency
resolution is done via base-* packages, and the openssl entry was making
a XBPS bug apparent after the OpenSSL switch, where 'xbps-remove -o'
tries to remove the 'openssl' package.
To help account for filesystem compression and such (particularly ZFS-on-root with compression enabled), bump the initial size reservation from (7/6) * X to 2 * X
It could probably be a bit lower, but it is probably better to avoid getting too specific to particular compression rates or filesystem optimizations.
Sponsored by: Project Trident