Commit Graph

94 Commits

Author SHA1 Message Date
classabbyamp 380f0fd3c4 grub, isolinux: add nomodeset menuentries, more hotkeys
add hotkeys for:
- speech + nomodeset (g)
- memtest (m)
- uefi firmware (f)
- reboot (b)
- poweroff (p)

the nomodeset entry will be useful in cases like the nvidia 6.6 issue,
where boot fails due to graphics drivers issues.

dracut/vmklive: add hook that disables display manager services if
nomodeset is set

fixes: #160
2024-12-21 09:50:55 -05:00
classabbyamp 4e1edcfb88 build-x86-images, dracut/vmklive, installer: add support for brltty 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 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 129aa5cbc6 dracut/vmklive: enable espeakup if live.screenreader is in kcl 2023-05-20 22:17:23 -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
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 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
Toyam Cox c9dbeed8a4 autoinstaller: make wheel permission come first, fix permissions
visudo -c shows perms need 0440

Also w is late in the alphabet, hard to alter ordering
2022-10-11 23:07:58 -05:00
Michal Vasilek e132ea26f2 require explicitly listing enabled services
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]
2022-09-25 13:35:03 -05:00
classabbyamp 71f46a0158 installer.sh, various: use /etc/sudoers.d, ALL:ALL
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
2022-09-02 22:11:49 -05:00
Toyam Cox bdcc109f8b Allow multiple packages to be installed 2022-09-02 20:36:55 -05:00
Cameron Nemo 5fabad111d replace default repository URL
http -> https
alpha.de.repo.voidlinux.org -> repo-default.voidlinux.org
2022-07-10 20:58:27 +02:00
Leah Neukirchen 4debf48359 use mount --rbind to propagate mounts into the chroot
Else things like efivarfs will not be passed down into the chroot,
which makes installing grub fail.

Closes #231.
2022-02-08 13:28:46 -06:00
salahdin-ahmed 7cd19aff06 dracut/adduser: fix autologin kernel option
The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
2021-09-04 15:59:37 -05:00
q66 51d4a5f4c2 enable serial console in live when requested
also blacklist more agettys to fix the hvc0/hvsi0 issue

Closes https://github.com/void-linux/void-mklive/pull/194
2021-03-05 01:23:56 +01:00
Érico Rolim 09512f6f05 autoinstaller: add comment about swapsize.
Relevant: #37.
Closes: #191 [via git-merge-pr]
2021-02-19 22:14:52 -08:00
Michael Aldridge 4332c72896 dracut: Fix autoinstaller 2020-07-22 21:33:03 -07:00
John Zimmermann 9bcbbc95e0 display-manager-autologin.sh: fix sddm detection
sddm doesn't ship with a /etc/sddm.conf as default so the old check
returned false.
2019-05-30 19:22:38 -07:00
Michael Aldridge 6ce4732bbc release.sh.in: Make an easy release script 2019-05-27 20:16:15 -07:00
Cameron Nemo 53b58fef3f Remove defunct systemd support
Closes: #70 [via git-merge-pr]
2019-05-25 13:36:49 -07:00
Cameron Nemo d2c6fdf1a7 dracut: use .org website, use https 2019-02-16 21:45:33 -08:00
Michael Aldridge beaa74f4fc Update remaining mirror references 2018-09-14 02:00:05 -07:00
Unknown c70eb89d6b display-manager-autologin.sh: configure sddm autologin for kde live iso. 2018-08-15 17:03:35 -07:00
mobinmob 4f68da9ac8 display-manager-autologin.sh: remove kdm autologin configuration 2018-08-15 17:03:35 -07:00
cr6git b06fb08e5d display-manager-autologin.sh: add fluxbox support
Closes: #136 [via git-merge-pr]
2018-03-25 12:47:09 -07:00
Michael Aldridge fc80523768 Control PXE tarball builds with Makefile 2017-08-28 22:56:38 -07:00
Michael Aldridge 414ebf318f Add netboot generator script 2017-08-06 21:03:55 -07:00
Juan RP 7e21c2f151 dracut/adduser.sh: remove double whitespace from sudoers.
This lets the installer remove the anon rule from etc/sudoers.
2016-04-29 09:24:01 +02:00
Juan RP cb2510b379 dracut/services: don't autostart dmeventd, lvmetad and mdadm. 2015-10-09 09:05:24 +02:00
Juan RP eddedc275d dracut/dm-autologin: autostart lxqt if available. 2015-07-30 07:41:47 +02:00
Juan RP c4ca2a33fa dracut/display-manager-autologin: autologin to lxde if found via lxdm. 2015-05-29 17:00:50 +02:00
Juan RP b1e2685aef dracut/display-manager-autologin: autologin to i3 if found. 2015-05-25 09:22:27 +02:00
Juan RP 5962f489e0 dracut/display-manager-autologin.sh: enable kdm autologin. 2015-05-24 07:36:42 +02:00
Juan RP 0493378c0c dracut: only install memdisk stuff if /usr/bin/memdiskfind exists. 2015-05-08 17:55:36 +02:00
Christian Neukirchen 929175a025 Support for MEMDISK
The .iso can now be booted using Grub (memdisk from Syslinux package):

	linux16 /memdisk
	initrd16 /path/to/iso

As well as from Syslinux:

	LINUX memdisk
	INITRD path/to/iso
2015-05-02 12:16:21 +02:00
Juan RP 1c6321d1da dracut/services: do not enable the pulseaudio service. 2015-04-29 17:17:48 +02:00
Juan RP f0592dcd5e dracut/services: do not enable wpa_supplicant. 2015-04-07 10:23:33 +02:00
Juan RP ca8d1ff70b dracut/adduser: add user to the audio/video groups. 2015-02-14 12:44:10 +01:00
Juan RP 45ea7a94e3 dracut/services: do not enable agetty on serial by default. 2015-02-14 11:40:57 +01:00
Juan RP 8de43b1f99 dracut/display-manager-autologin: autostart cinnamon if found. 2015-01-25 08:38:38 +01:00
Juan RP 289136e02e dracut/services: do not enable agetty-serial. 2015-01-25 08:38:18 +01:00
Juan RP bfd7188589 dracut/service: do not enable agetty-generic; misc tweaks. 2014-12-04 10:08:13 +01:00
Juan RP ee37a611e9 dracut/display-manager-autologin: autostart mate via lxdm if mate-session exists. 2014-12-03 11:29:43 +01:00
Juan RP ef1c3e6766 dracut/display-manager-autologin: start xfce4 if startxfce4 exists. 2014-12-03 09:15:43 +01:00
Juan RP 32e9d6e04a dracut/services: do not auto enable ip{,6}tables. 2014-12-02 21:19:12 +01:00
Juan RP ca99f9f5bb New dracut module helper to enable runit services. 2014-12-02 21:03:58 +01:00
Juan RP a30890cffc dracut/adduser: autologin if live.autologin is set in the kernel cmdline. 2014-12-02 19:53:04 +01:00
Juan RP 1a167e371a dracut/adduser.sh: set live.user shell to /bin/bash if exists. 2014-09-24 08:22:49 +02:00