aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Start with diskimage target descriptionsdilfridge/qcow2Andreas K. Hüttel2024-04-082-0/+165
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Start copying the livecd infrastructure for diskimageAndreas K. Hüttel2024-04-0814-0/+298
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@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>
* kmerge.sh: don't remove the /usr/src/linux symlinkBen Kohler2024-01-081-1/+2
| | | | | | | | | | | Removing this symlink causes failures for any specs building more than one kernel, since we no longer do a full unmerge/remerge of kernel sources between kernel builds. We probably need to set USE=symlink for the kernel sources so that specs building 2 kernels from different sets of sources do not fail. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* base/stagebase.py: Do not touch subarch if chost is setAndreas K. Hüttel2023-12-241-4/+1
| | | | | | | | | | | | | | | | | | Currently, if you set chost in a stage1 spec file, catalyst resets the subarch to the first part of the triple (i.e. aarch64 for arm64). With this change, it leaves the subarch alone at the value defined in the spec file. This makes it much easier to override CHOST for, say, musl, without having to provide a separate section in arch/* ... Impact of the commit on the existing releng stage1 specs: amd64, arm64, x86, ppc, ppc64, ppc64le are all fine (the definitions are idencal, or subarch = first part of triplet) power9le is funny because right now the chost (powerpc64le) resets the subarch and drops the power9le optimizations, so there the commit is actually an improvement! Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* arch: Alternative approach. Rely on profile for m68k musl CHOST...Andreas K. Hüttel2023-12-061-5/+0
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* arch: Add new m68k musl definition for 23.0 profilesAndreas K. Hüttel2023-12-061-0/+4
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* catalyst.conf: change dangerous port_logdir exampleBen Kohler2023-11-101-2/+2
| | | | | | | | If this existing example was uncommented, it would trigger a cleanup of any files older than 7d in the currently running stage build dir, causing catastrophic failure. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Turn binrepos.conf into a folder with gentoobinhost.conf insideAndreas K. Hüttel2023-09-051-4/+4
| | | | | Closes: https://bugs.gentoo.org/913660 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Compile external modules with dist-kernelAzamat H. Hackimov2023-09-031-1/+6
| | | | | | | | If boot/kernel/${kernel}/packages is defined, force build external module packages for dist-kernels. Also don't unmerge kernel after merging as it may needed for building process, just deselect. Later it will be unmerged by depclean process. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Implementing distkernel installationAzamat H. Hackimov2023-08-225-22/+116
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add configuration options and code to write out binrepos.confAndreas K. Hüttel2023-08-113-0/+40
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add m68k musl definitionAndreas K. Hüttel2023-07-201-0/+3
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: Fix and improve port_logdir config optionAndreas K. Hüttel2023-07-012-4/+5
| | | | | | | NOTE: The cleaning of log files does not work yet (and probably never did). Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase: Add blank linkes in make.conf (e.g. before CHOST block)Andreas K. Hüttel2023-07-011-2/+2
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add -msoft-float to *FLAGS for mips soft-float definitionsAndreas K. Hüttel2023-06-201-8/+8
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Add mips(el)2 o32 and mips(el)3 n32 softfloat subarchesAndreas K. Hüttel2023-05-281-0/+16
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* stagebase.py: switch to LC_MESSAGES=C.utf8 in make.confBen Kohler2023-05-101-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* livecd-stage2/controller.sh: remove stray slash from universal cleanupBen Kohler2023-03-311-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* 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>