aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* arch: Delete i686-t64 subarch, not neededHEADmasterAndreas K. Hüttel2024-11-021-4/+0
| | | | | | chost is set by profile, cflags are identical, rel_type is changed Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Default to C.UTF-8 same as the ISOAndreas K. Hüttel2024-10-131-3/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* First shot at sshd imageAndreas K. Hüttel2024-10-132-0/+17
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Enable all ethernet network adaptors with dhcp by defaultAndreas K. Hüttel2024-10-131-0/+12
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add diskimage_stage2.py with parameters and sequence different from isoAndreas K. Hüttel2024-10-131-0/+114
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Script to create a bootable qcow2 imageAndreas K. Hüttel2024-10-131-0/+188
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Support scripts for diskimage configurationAndreas K. Hüttel2024-10-131-0/+63
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Support scripts for bootloader installation and configurationAndreas K. Hüttel2024-10-131-0/+9
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Clone livecd_stage1.py to diskimage_stage1.py, only cosmetic changesAndreas K. Hüttel2024-10-131-0/+58
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add directory for diskimage helper files (so far unneeded)Andreas K. Hüttel2024-10-131-0/+0
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add controller for diskimage-stage2Andreas K. Hüttel2024-10-131-0/+56
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Clone livecd-stage1 to diskimage-stage1, barely any changesAndreas K. Hüttel2024-10-133-0/+26
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Clone stagebase logic from iso to qcow2 (mostly)Andreas K. Hüttel2024-10-131-0/+43
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Move bootloader-setup.sh to iso-bootloader-setup.shAndreas K. Hüttel2024-10-133-2/+2
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Set version for a release4.0.0catalyst-4.0-stableAndreas K. Hüttel2024-10-121-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* targets/stage1/preclean-chroot.sh: use symlink for /etc/localtimeBen Kohler2024-10-091-1/+1
| | | | | | | This should be a symlink on modern systems. Bug: https://bugs.gentoo.org/938309 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Add Dist-kernel kconfig supportIan Jordan2024-08-221-2/+7
| | | | | | | | | | | | | | | | | Based on the orginal patch by oldfashionedcow to add the abilty for a user to set a custom kconfig for their livecd to be moved to /etc/kernel/config.d/ before sys-kernel/gentoo-kernel is emerged. Syntax is the same as the one used for Genkernel kconfigs. Closes: https://bugs.gentoo.org/936676 Co-authored-by: Rahul Sandh <rahul@sandhuservices.dev> Co-authored-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/catalyst/pull/21 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* arch: add x86.i686-t64 subarch definition with appropriate *FLAGSAndreas K. Hüttel2024-08-191-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stage1: Drop now unneeded imports againAndreas K. Hüttel2024-08-031-3/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: Move ROOT repo bind mount logic to stagebase instead of stage1Andreas K. Hüttel2024-08-032-22/+20
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stage1: make sure we bind-mount within the chroot dir, try 3, now with pathlibAndreas K. Hüttel2024-08-031-2/+6
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add log.debug statements to follow profile symlink creationAndreas K. Hüttel2024-08-031-0/+3
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* note to self: python is stupidAndreas K. Hüttel2024-07-301-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stage1: apparently we need to populate the chroot_path setting firstAndreas K. Hüttel2024-07-301-0/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stage1: make sure we bind-mount within the chroot dirAndreas K. Hüttel2024-07-301-2/+6
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stage1: we can't mount any squashfs twice, so we make sure we get a bind mountAndreas K. Hüttel2024-07-301-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: Create parent directoriesDoug Freed2024-07-301-0/+2
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* log: hide our functions and include line numbersDoug Freed2024-07-301-1/+16
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: create profile link for ROOT tooDoug Freed2024-07-301-0/+11
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: clean up config_profile_linkDoug Freed2024-07-301-6/+11
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* targets: improve path concatenationAndreas K. Hüttel2024-07-291-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* targets: Mount repos also under $ROOT for stage1 buildsAndreas K. Hüttel2024-07-291-1/+14
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Remove CHOST setting for s390x (mostly for testing, but also unnecessary)Andreas K. Hüttel2024-07-291-1/+0
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add keep_repos spec option to keep config for specified repos4.0-rc2James Le Cuirot2024-06-286-0/+53
| | | | | | | | All repo configuration is currently removed unconditionally. Gentoo itself doesn't really need this, but derivatives probably do. Closes: https://github.com/gentoo/catalyst/pull/16 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* stagebase: tweak bindist comment emitted into make.confSam James2024-06-091-1/+1
| | | | | | | 'USE' is more idiomatic. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Explicitly declare repo as main when it does not match the default mainJames Le Cuirot2024-06-071-0/+6
| | | | | | | | Otherwise Portage complains about PORTDIR not being set. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/catalyst/pull/13 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* create-iso.sh: add flag for BIOS boot quirkBen Kohler2024-06-071-1/+1
| | | | | | | | | Some BIOS implementations (or legacy CSM/compat on UEFI) may ignore a boot device if it doesn't have one MBR partition marked with the boot flag. This new argument to xorriso will add an extra dummy partition with that flag. It's been reported to help at least one user boot. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Fix loongarch -march to baselineAndreas K. Hüttel2024-05-281-1/+1
| | | | | | | With gcc-14, the default was quietly raised to include vector extensions. This makes our stages explode on first-gen hardware... Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* bootloader-setup.sh: apply livecd/bootargs to dist-kernel as wellBen Kohler2024-05-141-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* bootloader_setup.sh: pass cdroot for dist-kernels as wellBen Kohler2024-05-131-1/+1
| | | | | | This is actually used in livecd-tools later, independent of gk vs dracut Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* bootloader_setup.sh: fix LABEL for cached entry as wellBen Kohler2024-05-131-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* bootloader_setup.sh: don't assume LABEL=ISOIMAGEBen Kohler2024-05-131-2/+2
| | | | | | | | Catalyst now sets a proper volume ID via grub-mkrescue so assuming ISOIMAGE here is no longer correct. The volume ID will still need to be standard-compliant without spaces. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* create-iso.sh: restore ISO volume IDBen Kohler2024-05-021-1/+1
| | | | | | | | When we switched to grub-mkrescue for the ISO generation, we lost the volume ID. Luckly grub-mkresce takes unrecognized parameters and passes them to xorriso so we can just add the xorriso -volid parameter here. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* arch: Add rv32 musl definitionsAndreas K. Hüttel2024-04-061-0/+8
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add setarch parameters for s390x => s390 buildsAndreas K. Hüttel2024-03-251-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* arch: add new x86.i686-ssemath subprofilematoro2024-03-201-0/+3
| | | | | | | | | | | | | | | | | | | | As mentioned on the mailing list, x86 arch testing needs to be performed using SSE registers for floating-point math instead of the 387 FPU. This is a subprofile which provides a generic i686 target with SSE2 and `-mfpmath=sse`. The use is not just limited to arch testing however as this is a useful platform for getting maximum performance on late-gen chips. Per gcc: > The resulting code should be considerably faster in the majority of cases and avoid the numerical instability problems of 387 code, but may break some existing code that expects temporaries to be 80 bits. Of course modern code has quite the opposite problem, where it does not expect floating-point variables to be 80 bits. Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/catalyst/pull/12 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* arch: remove x86.pentium-m, x86.pentium-4, x86.prescott subprofilesMatoro Mahri2024-03-201-12/+0
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* avoid chrooting and running the $PATH to bash from outside the chrootEli Schwartz2024-03-031-2/+3
| | | | | | | | | | | | | | The API filename for bash is /bin/bash and that is where it is guaranteed to be. On merged-usr systems, `shutil.which('bash')` will search PATH and maybe find /usr/bin/bash first, since it is resolved as a symlink, but that path will then fail in the chroot if the chroot is not merged-usr. Even on merged-usr systems, app-shells/bash always, always, always installs to /bin/bash and lets portage handle the symlink. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* livecd/files/README.txt: adjust nox -> noguiBen Kohler2024-02-271-2/+2
| | | | | | Bug: https://bugs.gentoo.org/853127 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* arch: Do not set CHOST and *FLAGS for generic x86.x86 subarch4.0-rc1Andreas K. Hüttel2024-01-211-2/+0
| | | | | | This way both can be picked up from the profile Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>