summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mount-boot.eclass: Fix eclassdoc tag order and copyright dateMichał Górny2021-01-161-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mount-boot.eclass: Support nonfatalMichał Górny2021-01-161-5/+9
| | | | | | | Support making mount-boot_check_status() nonfatal. This is useful to amend the error message with additional instructions. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mount-boot.eclass: Remove support for EAPI 4 and 5Michał Górny2021-01-161-1/+2
| | | | | | | The eclass is no longer used by any EAPI 4 or 5 ebuilds in ::gentoo. This removes the need for EAPI-conditional nonfatal support. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mount-boot.eclass: Make awk expression work with mawk.Ulrich Müller2020-02-131-3/+3
| | | | | | | | | | gensub() is a GNUism and doesn't exist in all awk variants. Use a loop instead. Tested with gawk, nawk, mawk, and busybox awk. Closes: https://bugs.gentoo.org/709322 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mount-boot.eclass: Check if /boot is sane, but don't try to mount it.Ulrich Müller2019-12-111-96/+48
| | | | | | | | | | | | | | | | | | | The eclass failed to remount a read-only mounted /boot, because package collision sanity checks in recent Portage versions prevented it from reaching pkg_preinst() at all. Furthermore, with the "mount-sandbox" feature enabled, the mount won't be propagated past pkg_preinst() and installed files would end up under the (shadowed) mount point. Therefore don't even attempt to mount /boot ourselves, but error out if it isn't mounted read/write and ask the user to mount /boot. Also clean up and simplify. (For example, awk is a grown-up program which doesn't need any help from egrep or sed. :-) Closes: https://bugs.gentoo.org/532264 See-also: https://bugs.gentoo.org/274130#c5 Acked-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mount-boot.eclass: Fix ro checkThomas Deutschmann2019-08-121-1/+1
| | | | | | | | Make sure we check only /boot mount and not any mount containing '/boot'. Closes: https://bugs.gentoo.org/691874 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+157
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