summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* kernel/livecd-amd64.config: Disable DRMHEADmasterIan Jordan2024-06-091-0/+21
| | | | | | | Disable DRM from being built to save on space and boot time errors on Dist Kernel livecds Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add keymaps and Dracut module2.11Christopher Fore2024-05-1492-0/+144
| | | | | | | | | | | | | | | | | | | | | This will individually package the keymaps folder found in genkernel to allow for easier conversion to using the Distribution Kernel in the official live media. Also due to recent events with regards to Xz and potential concerns about adding binary files, the following command will verify the checksums of the keymaps to the ones found in genkernel: diff <(sha256sum lib/keymaps/* | awk '{print $1}') \ <(sha256sum path/to/genkernel/defaults/keymaps/* | awk '{print $1}') There should be no output and an exit code of 0. Genkernel commit tested on: 361810b23acd9452218368acecc7cc5262f00c74 Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/livecd-tools/pull/1 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* init.d/autoconfig: allow nogui in addition to noxBen Kohler2024-02-271-0/+3
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* init.d/fixinittab: auto-enable arm64 ttyAMA0 console2.10Georgy Yakovlev2021-07-281-1/+2
| | | | | | | | | | | | | | | | our sysvinit package adds the following line in /etc/inittab on arm64: f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100 adjust fixinittab to comment out that entry, and automatically configure console on ttyAMA0 with proper baud rate returned by stty. if the line is left uncommented init will spawn a reular login on that console, that may conflict with console= option user passed. if the user passes console=***, automatic configuration is omitted. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* autoconfig: mostly revert "Fix logic error"2.9Ben Kohler2021-02-251-1/+1
| | | | | | | | This particular piece of logic was correct already, having been reworked a few times since the original bug report about it. The intent is to kill existing an existing dhcpcd instance if the pidfile is found. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* unmute: Rewrite without awk2.8Matt Turner2020-11-051-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* autoconfig: Fix logic error2.7Matt Turner2020-11-051-2/+2
| | | | | | | | | When the system starts, the PID file will not exist because we haven't started dhcpcd. Also update /var/run -> /run while we're here. Closes: https://bugs.gentoo.org/198083 Closes: https://bugs.gentoo.org/439912 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* autoconfig: don't autostart gpm if /dev/input/mice is not presentGeorgy Yakovlev2020-11-051-1/+4
| | | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* remove hwsetup usageGeorgy Yakovlev2020-11-052-33/+2
| | | | | | | | | it requires beyond ancient libkudzu and mostly obsoleted by udev. also libkudzu no longer builds on stable glibc-2.32 (bug 713946) Bug: https://bugs.gentoo.org/408535 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* remove special mouse handling and pre-gpm scriptGeorgy Yakovlev2020-11-052-42/+0
| | | | | | | | | | | | | | | | | nowadays mice are available via /dev/input/mice, which gpm defaults to open at startup. INPUT_MOUSEDEV description: Say Y here if you want your mouse to be accessible as char devices 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an emulated IntelliMouse Explorer PS/2 mouse. That way, all user space programs (including SVGAlib, GPM and X) will be able to use your mouse. The data available through /dev/psaux is exactly the same as the data from /dev/input/mice. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* save a grep and a countRick Farina (Zero_Chaos)2020-04-231-1/+1
| | | | | | coreutils has a whole utility just to tell you the cpu count, use it Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
* move secureconsole boot arg detection to the right placeRick Farina (Zero_Chaos)2019-09-262-6/+3
|
* reap dead code from livecd-functionsRick Farina (Zero_Chaos)2019-09-261-211/+0
|
* fixinittab: Support SPARC's ttyHV0 console device2.6Matt Turner2019-09-191-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* fixinittab: Refactor HW-specific serial console supportMatt Turner2019-09-191-9/+19
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ppc: Move the hvc0 console logic outside2.5Luca Barbato2018-09-131-10/+10
| | | | | Make so also ppc64le is supported and allow to override its configuration by specifying another console as kernel param.
* remove redundant agetty settingsRick Farina (Zero_Chaos)2018-08-241-1/+1
| | | | | | | agetty baud rate doesn't matter on linux vt and is ignored per manual agetty term type is default set to linux on vt per manual thanks to grknight for pointing it out
* fix typos, reenable remaining vt (no autologin)2.4Rick Farina (Zero_Chaos)2018-03-151-1/+5
|
* add some comments when writing make.confRick Farina (Zero_Chaos)2018-03-151-3/+9
| | | | decrease ambiguity with some comments
* add secureconsole boot optionRick Farina (Zero_Chaos)2018-03-151-4/+14
| | | | don't log in every console if the user requests secureconsole
* autoconfig: fix the indentationWilliam Hubbs2018-03-141-11/+12
|
* update make.conf with some nice defaults for emergeRick Farina (Zero_Chaos)2018-03-141-3/+20
| | | | just for fun, try to sane up the EMERGE_DEFAULT_OPTS for livecd users
* log in as user when possibleRick Farina (Zero_Chaos)2017-08-281-3/+3
| | | | | catalyst can create a user, if the cd is built like that it wasn't an accident, use that user to log in instead of root
* net-setup: Fix zero argument modeBrian Evans2017-03-071-8/+6
| | | | | | | | | | | | | The grepped output of 'ifconfig -a' included a colon after each interface. This broke subsequent calls for information on the interface. Also, instead of flashing an error when a path did not exist, check that it does exist before calling basename. Skip sit0 as it cannot be configured. Finally, check the return value of the dialog call. Only zero means an interface was selected to be processed.
* autoconfig: EVMS is long dead.2.3Robin H. Johnson2017-02-242-8/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Cleanup old ChangeLog; full history in Git.Robin H. Johnson2017-02-241-40/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* autoconfig: protect password in /proc/cmdline.Robin H. Johnson2017-02-241-0/+1
| | | | | | | | | | | | | | If passing a root password in /proc/cmdline, we should protect /proc/cmdline from non-root users. If root mounts a NEW /proc fileystem, this will be exposed again, but that's out of our control. The kernel boot parameter hidepid= only affects /proc/$PID/cmdline, so cannot be used in this case. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=610840 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net-setup: add WPA{,2}-PSK setup optionBrian Evans2016-11-041-4/+40
|
* convert shebangs from runscript to openrc-run2.2William Hubbs2016-07-085-5/+5
|
* Replace nfsmount with nfsclient2.1Rick Farina (Zero_Chaos)2015-12-111-1/+1
| | | | | nfsmount is deprecated and partially replaced by nfsclient...but should we also add netmount?
* Allow nfs to be activated from the kernel command lineRick Farina (Zero_Chaos)2015-12-111-0/+3
|
* Disable nfs by defaultRick Farina (Zero_Chaos)2015-12-111-1/+1
| | | | | nfs shouldn't be on by default for a livecd. this causes rpcbind et al to start for no reason
* no more arrays in conf.d/netRick Farina (Zero_Chaos)2015-11-011-1/+1
|
* net-setup: read the bus name from the subsystem symbolic linkWilliam Hubbs2015-10-171-1/+1
| | | | | The /sys/class/net/${device}/bus path doesn't appear to be valid, so moving to the new link.
* Allow users to specify the network config using ipfconfig or iproute2 syntax.Jorge Manuel B. S. Vicetto (jmbsvicetto)2015-10-181-22/+53
| | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* Encorporate code from livecd-functionsWilliam Hubbs2015-02-221-8/+97
| | | | | | These functions only seem to be used by the net-setup script, so I do not see a reason to source livecd-functions when we can encorporate them directly.
* Drop the use of bash arraysJorge Manuel B. S. Vicetto (jmbsvicetto)2015-01-141-3/+3
|
* remove execute permissions from most filesWilliam Hubbs2015-01-146-0/+0
| | | | | All of the files in init.d and conf.d in this repository do not need execute permissions.
* Add a missing "\" in net-setup script.EmanueL Czirai2015-01-141-1/+1
| | | | | | | | Gentoo-Bug: 536432 Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536432 X-Patch-URL: https://536432.bugs.gentoo.org/attachment.cgi?id=393846 Signed-off-by: EmanueL Czirai <emanueLczirai@cryptoLab.net> Signed-off-by: Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
* remove firmware init script2.0.4Rick Farina (Zero_Chaos)2014-05-223-30/+1
| | | | | | The tarballing and subsequent unpacking of the firmware has been a source of issues which are being eliminated. Bugs 511040, 498986, plus probably some more.
* net-setup: make dialog calls more readableWilliam Hubbs2013-07-071-15/+44
| | | | | This splits the dialog calls onto multiple lines to make them more readable.
* net-setup: remove code hiding error messagesWilliam Hubbs2013-07-071-6/+0
| | | | | net-setup was hiding error messages for no given reason, so this removes the code that hides them.
* Move functions from livecd-functions.sh to net-setupWilliam Hubbs2013-07-062-190/+190
| | | | | | livecd_config_wireless, livecd_write_wireless_conf, livecd_config_ip, livecd_write_net_conf, show_ifmenu and show_ifconfirm are only used in net-setup, so this moves them into that script.
* fixinittab: Do not overwrite an existing backupRichard Farina2013-07-051-1/+4
|
* autoconfig: update network device name recognissionWilliam Hubbs2013-06-191-1/+12
| | | | | | | | | | | | The previous code assumed the old style network names such as eth* were the names of interfaces. With the new udev, this is not always the case, so this updates autoconfig to ignore lo and sit0 and assume that the rest are valid network interfaces. Also we now use /sys/class/net/* to detect interfaces instead of /proc/dev/net. Reported-by: alexeyk13@yandex.ru X-Gentoo-Bug: 471054 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=471054
* livecd-functions.sh: do not hard code the paths to lspci or iwconfigWilliam Hubbs2013-02-251-10/+7
| | | | | | Reported-by: jer@gentoo.org X-Gentoo-Bug: 454728 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=454728
* livecd-functions.sh: do not hard code the path to routeWilliam Hubbs2013-02-251-1/+1
|
* livecd-functions.sh: do not hard code the path to ifconfigWilliam Hubbs2013-02-251-2/+2
| | | | | | Reported-by: fdbugs@dupoux.com X-Gentoo-Bug: 454728 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=454728
* autoconfig: run one instance of dhcpcdWilliam Hubbs2013-01-031-14/+8
| | | | | | | | One instance of dhcpcd in standalone mode can control all detected interfaces. This should automatically get an address for any network where there is an active dhcp server. This will also fix bug #439912.
* use agetty's autologin function instead of bashloginlivecd-tools-2.0.3William Hubbs2012-10-102-12/+5
| | | | | X-Gentoo-Bug: 392685 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=392685