summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/bootstrap.sh: Fix bootstrap in verbose modeKrzesimir Nowak2023-02-221-4/+10
| | | | | | | | | | | | | | | | | Verbose mode does not unset STRAP_RUN, thus the script tries to prune sys-devel/gcc at the later stage. Currently portage exits with an exit status 1 if a specific package was requested to be pruned and there was nothing to do. This results in a bootstrap failure. So before we try to prune, let's do a dry run to see if anything would be done. For the portage code that results in exit status 1, see the following link: https://gitweb.gentoo.org/proj/portage.git/tree/lib/_emerge/actions.py?id=bde2a895cf520687dce7a8e92601041a37529ba0#n1700 Signed-off-by: Krzesimir Nowak <knowak@microsoft.com> Closes: https://github.com/gentoo/gentoo/pull/29612 Signed-off-by: Sam James <sam@gentoo.org>
* scripts/bootstrap.sh: maintainer = relengMike Gilbert2022-04-191-0/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* scripts/bootstrap.sh: do not attempt to trap SIGKILLMike Gilbert2022-04-191-1/+1
| | | | | Closes: https://bugs.gentoo.org/839162 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* scripts/bootstrap.sh: Fix versionUlrich Müller2021-09-021-5/+4
| | | | | | There is no CVS $Id$ any more. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* scripts/bootstrap.sh: Fix copyright years in output.Ulrich Müller2020-06-071-3/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* scripts/bootstrap.sh: Allow CONFIG_PROTECTMatt Turner2020-03-291-1/+1
| | | | | | | | | | | | | With a CONFIG_PROTECT="-*" setting, glibc will overwrite the system's /etc/locale.gen file in src_install() with its default-empty one. In pkg_postinst() it reads the empty /etc/locale.gen it just installed, and as a result generates all locales. So, allow CONFIG_PROTECT to be passed through unmolested so long as it starts with "-*". This allows locales to be selectively enabled when bootstrap.sh is run with CONFIG_PROTECT="-* /etc/locale.gen". Signed-off-by: Matt Turner <mattst88@gentoo.org>
* scripts/bootstrap.sh: Remove nptlonly cruftMatt Turner2020-03-291-6/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* scripts/bootstrap.sh: Use full cat/pkg namesMatt Turner2020-03-291-6/+6
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* scripts/bootstrap.sh: Expand virtual/os-headers fallbackMatt Turner2020-03-291-1/+1
| | | | | | Unlikely that this fallback will ever be hit, but might as well prepare. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* scripts/bootstrap.sh: Emerge the actual libcMatt Turner2020-03-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The python program creates a set of bash variable assignments like myGCC="sys-devel/gcc"; which are used to make a list of packages to be rebuilt during catalyst's stage 2. The toolchain, including libc, is supposed to be rebuilt in this stage, but 'portage.settings.packages' contains 'virtual/libc' and not a provider, so it generates: myLIBC="virtual/libc"; This results in catalyst not rebuilding the libc itself but instead reemerging virtual/libc. Commit b9e8ca9b4aa1 (Make sure we rebuild actual libc and not the virtual package.) tried to fix this, but obviously missed the mark as any testing would have shown. The solution is to have the python program expand the virtual itself. Fixes: b9e8ca9b4aa1 (Make sure we rebuild actual libc and not the virtual package.) Closes: https://bugs.gentoo.org/511694 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* scripts/bootstrap.sh: tidyupsMichael Everitt2020-01-181-5/+6
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* scripts/bootstrap.sh: fix emerge --resume argsZac Medico2020-01-181-2/+3
| | | | | | | | | Since the emerge argument parser change from bug 673400, positional arguments must come after all optional arguments. Reviewed-by: Michael Everitt <m.j.everitt@iee.org> Bug: https://bugs.gentoo.org/673400 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Whitespace.Jorge Manuel B. S. Vicetto (jmbsvicetto)2017-03-041-2/+2
| | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* Make sure we rebuild actual libc and not the virtual package.Jorge Manuel B. S. Vicetto (jmbsvicetto)2017-03-041-1/+1
| | | | | | Thanks to Zac (zmedico) for the pointer. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-2/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+365
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed