aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* remove obsolete root=/dev/ram0 init=/linuxrc from a few more placesBen Kohler2023-03-312-5/+5
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* bootloader-setup.sh: remove obsolete cmdline argsBen Kohler2023-03-311-1/+1
| | | | | | These haven't been needed since kernel 2.4 days, as far as I know. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Remove obsolete universal cd targetBen Kohler2023-03-315-21/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update: remove old evms codeBen Kohler2023-03-311-5/+0
| | | | | | Mostly obsoleted by LVM almost 20 years ago Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update, livecd-bashrc: remove archaic X autostarting setupBen Kohler2023-03-312-20/+0
| | | | | | | | | This was used by gamecd targets many many years ago to autostart X with a game on tty1 for this cd type. It was then still being "used" by generic targets by mistake, but some of the code is in ALL targets' bashrc, and causing some errors on login. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update.sh: replace local handbook with wiki handbookBen Kohler2023-03-311-19/+13
| | | | | | | | Code to look for a local html handbook is obsolete. Link to the wiki handbook instead, and install the entry unconditionally for gentoo targets. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update.sh: remove confusing "reduce tmpfs usage" hackBen Kohler2023-03-311-7/+0
| | | | | | | I don't believe this provides any real value now, and it makes the livecd layout confusing. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update.sh: remove net.eth[1234] symlinksBen Kohler2023-03-311-6/+0
| | | | | | | | I don't think these are providing any value to anyone, since interfaces don't get eth* names by default and very few livecd users will be using netifrc anyway. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update.sh: remove old devfsd codeBen Kohler2023-03-311-3/+0
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecdfs-update.sh: remove code obsoleted by sys-apps/hwids packageBen Kohler2023-03-311-24/+0
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* reorganize motd filesBen Kohler2023-03-314-8/+20
| | | | | | | | Having all 3 livecd targets inherit generic.motd.txt AND minimal.motd.txt was causing some duplication of messages. Now all 3 targets inherit generic and their own single motd file. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* remove gamecd motd fileBen Kohler2023-03-311-8/+0
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Add mips musl subarch definitionsAndreas K. Hüttel2023-03-051-0/+24
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Fixed typoStephen Reaves2023-02-271-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add aarch64_be subarch definitionAndreas K. Hüttel2023-01-171-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* targets/support/livecdfs-update.sh: set hostname= rather than HOSTNAME=Ben Kohler2023-01-021-1/+1
| | | | | | | | | | Apparently the use of HOSTNAME in /etc/conf.d/hostname has been deprecated in favor of hostname for a while. Support for that was completely removed recently. https://github.com/OpenRC/openrc/commit/d2b31440708bd0cb70e5317e05b8ae80e4866269 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* More i?86 fixes for x86Andreas K. Hüttel2022-12-272-2/+2
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Run grub-mkrescue also for i?86 subarchesAndreas K. Hüttel2022-12-271-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add -k to gensquashfs calls to preserve timestampsBen Kohler2022-12-212-2/+2
| | | | | | | | | | Without this flag, timestamps on all files in the squashfs image seem to be at 0 epoch (Jan 1 1970). This is messing with some apps at runtime and I don't think we ever would intend to have bogus timestamps. I've adjusted both places gensquashfs is called. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecd-stage2: add memtest86+ detection for x86/amd64Ben Kohler2022-12-012-0/+27
| | | | | | | When memtest86+ is detected, catalyst should now copy to the livecd and add it to grub menus. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* targets: Fix some indentationMatt Turner2022-11-221-5/+5
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: fix comparison operatorSam James2022-11-221-2/+2
| | | | | | | '<' and '>' work lexicographically in bash. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: Use correct arch setting for setarch testingMatt Turner2022-11-221-1/+1
| | | | | | | | | | Previously we were testing against the 'host' or subarchitecture (e.g. i486) instead of the architecture (e.g. x86). This manifests on x86 builds on x86_64; on ppc on ppc64 and sparc on sparc64 the arch and subarch values happen to line up. Fixes: cd58b37b ("catalyst: Access setarch data correctly") Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: Remove stray spaceMatt Turner2022-11-171-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: Drop /etc/asound.state creationMatt Turner2022-11-171-3/+0
| | | | | | | alsa creates this file at runtime at /var/lib/alsa/asound.state in modern times. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: Drop livecd/{xinitrc,xsession,xdm}Matt Turner2022-11-178-139/+1
| | | | | | | This is functionality better implemented in fsscripts outside of catalyst. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: Remove openglify usageMatt Turner2022-11-171-3/+0
| | | | | | | This script was removed from livecd-tools in commit 8e2a9c0 ("remove openglify") in 2011. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: Remove gconf usageMatt Turner2022-11-172-29/+0
| | | | | Bug: https://bugs.gentoo.org/873841 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: Remove remnants of support for the installerMatt Turner2022-11-172-17/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* targets: Fix enabling PermitRootLoginMatt Turner2022-11-171-1/+2
| | | | | | | | | | | | The default changed to "prohibit-password" many moons ago, so our ISOs would not have allowed root logins if not for net-misc/openssh's IUSE=livecd, which handles this in the ebuild. Let's go ahead and fix it, so that we can consider removing openssh's livecd USE flag which would allow us to avoid rebuilding the package for the ISO. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* amd64 definition: add a subarch "x86_64" identical to "amd64"Andreas K. Hüttel2022-11-141-0/+3
| | | | | | | When CHOST is given in the spec file, the subarch is extracted from the triplet. And that's x86_64 here... Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: Also clean out profile/package.use.force profile/package.use.maskAndreas K. Hüttel2022-11-141-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Allow "interpreter" parameter as space-separated list of filesAndreas K. Hüttel2022-11-131-24/+24
| | | | | | | | I added this feature to the 3.0 branch long ago and forgot about it. Needed for multilib emulation, e.g., qemu-mips qemu-mipsn32 qemu-mips64 Tested on demeter "in production" Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* targets: build initial baselayout with USE=buildGeorgy Yakovlev2022-10-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current flow is the following: update seed install baselayout with USE=-build (for reasons unknown) install @system with USE=build this leads to a problem on usrmerged systems, because baselayout with USE=-build that's installed initially does not create usrmerge symlinks at all, so /bin /sbin are missing. anything that installs files to those locations will be lost. after installing baselayout initially with USE=-build --nodeps we install the following bzip2 gzip tar xz-utils baselayout[build] so everything installed before line above ^ loses / files completely. This commit will change initial baselayout to USE=build Closes: https://github.com/gentoo/catalyst/pull/10 Thanks-to: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* arch: Add loongAndreas K. Hüttel2022-10-111-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* arch: Add subarch definition for riscv64 softfloat muslAndreas K. Hüttel2022-07-301-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* catalyst/stage4: improve log messagestage4-user-groups-fixesDaniel Cordero2022-05-131-1/+3
| | | | | | | | | When creating a user with no additional groups, don't print a misleading message saying the user will be created with an equals sign in the username. Signed-off-by: Daniel Cordero <gentoo.catalyst@0xdc.io> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst/stage4: don't split a single entryDaniel Cordero2022-05-131-1/+1
| | | | | | | | A single entry in users is one user who could have multiple groups. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero <gentoo.catalyst@0xdc.io> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst/stage4: don't run split on a listDaniel Cordero2022-05-131-1/+1
| | | | | | | | | "groups" has been normalised into a list and does not have a split() method. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero <gentoo.catalyst@0xdc.io> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst/stage4: fix handling of groups, users and keysDaniel Cordero2022-05-131-3/+3
| | | | | | | | | | Previously, the set_*() functions would always set the result of the toml parsing as the setting. Instead, only override it if it is a string. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero <gentoo.catalyst@0xdc.io> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* arch/mips: Compile mipsel3 stages with -mfix-r5900Matt Turner2022-04-211-3/+3
| | | | | | | | | ... which will make them usable on the PlayStation 2. Don't bother modifying the n64 ABI configuration, since it will never work on the PS2. Suggested-by: Fredrik Noring <noring@nocrew.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* create-iso.sh: split iso-level argumentsDaniel Cordero2022-04-201-1/+1
| | | | | | | | | | | | | | | | | | When enclosed in quotes and expanded with "${variable[@]}", the word is expanded to be a single argument, rather than two separate arguments. i.e. argv[2] = "-iso-level 3" instead of argv[2] = "-iso-level" argv[3] = "3" This lead to the failure: xorriso : FAILURE : -as mkisofs: Unrecognized option '-iso-level 3' xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE' grub-mkrescue: error: `xorriso` invocation failed Fixes: 0b56dbe4 ("livecd: Use ISO level 3") Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: Replace a tabMatt Turner2022-04-201-1/+1
| | | | | Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Matt Turner <mattst88@gentoo.org>
* example: document new optionsPatrice Clement2022-04-021-6/+28
| | | | | | Closes: https://bugs.gentoo.org/236905 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: add new options to stage4 step listPatrice Clement2022-04-021-0/+6
| | | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: support 3 new optionsPatrice Clement2022-04-021-0/+70
| | | | | | | | | | | | * stage4/groups: create a a list of groups. * stage4/users: create a list of users. users can also be added to groups using the "foo.bar=wheel,audio,baz" format. * stage4/ssh_public_keys: copy an SSH public key into the stage4 user's home (.ssh/authorized_keys) and set the file permission to 0644. Bug: https://bugs.gentoo.org/236905 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* livecd: Use ISO level 3Andreas K. Hüttel2022-03-151-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* arch: Add riscv64 lp64d musl definitionAndreas K. Hüttel2022-02-271-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* catalyst: Add .sha256 to list of ignored extensionsMatt Turner2022-02-161-2/+5
| | | | | | | | | | Otherwise the presence of a .sha256 file would cause this error: ERROR:catalyst:CatalystError: Ambiguous Filename: /home/catalyst/builds/default/stage3-ia64-openrc-20220216T032203Z ERROR:catalyst:Please specify the correct extension as well Fixes: 7457cd3b ("catalyst: generate .sha256 file if any digest is enabled") Signed-off-by: Matt Turner <mattst88@gentoo.org>
* catalyst: Switch to tomliMatt Turner2022-01-303-7/+9
| | | | | | | The Python community is coalescing around tomli, and tomli is likely to be integrated into the standard library per PEP680. Signed-off-by: Matt Turner <mattst88@gentoo.org>