Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478436 - kernel-2.eclass: add prefix support
Summary: kernel-2.eclass: add prefix support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2013-07-28 07:04 UTC by Benda Xu
Modified: 2016-06-15 10:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel-2.patch (kernel-2.patch,3.55 KB, patch)
2013-07-28 07:07 UTC, Benda Xu
Details | Diff
kernel-2.patch (kernel-2.patch,3.27 KB, patch)
2013-07-28 07:08 UTC, Benda Xu
Details | Diff
kernel-2.patch (kernel-2.patch,3.33 KB, patch)
2013-08-12 06:57 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2013-07-28 07:04:18 UTC
Merge from Prefix overlay

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2013-07-28 07:07:21 UTC
Created attachment 354382 [details, diff]
kernel-2.patch

almost trivial Prefix updates.
Comment 2 Benda Xu gentoo-dev 2013-07-28 07:08:33 UTC
Created attachment 354384 [details, diff]
kernel-2.patch

revise
Comment 3 Mike Pagano gentoo-dev 2013-07-29 23:51:34 UTC
I get rejects on this Benda. Can you check your patch against the latest kernel-2.eclass?
Comment 4 Benda Xu gentoo-dev 2013-08-12 06:57:53 UTC
Created attachment 355734 [details, diff]
kernel-2.patch

Ah-ha, there seems to be an update after I submitted the patch.

Refreshed. Please check.
Comment 5 Benda Xu gentoo-dev 2013-08-12 06:58:33 UTC
Thanks Mike, and excuse me for the delay.
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-03 17:13:20 UTC
Planning to review this among other changes very soon.
Comment 7 Benda Xu gentoo-dev 2013-09-21 11:12:28 UTC
Hey Tom. How's it going? The Prefix patch is a trivial one.
Comment 8 Daa Jaa 2014-06-13 14:35:45 UTC
Here is another patch, to avoid chowning when not running as root (saves more than 1246 minutes of errors on a raspberry).

--- old_gentoo_armv6l/usr/portage/eclass/kernel-2.eclass        2014-06-13 16:26:30.303066615 +0200
+++ gentoo_armv6l/usr/portage/eclass/kernel-2.eclass    2014-06-13 16:28:42.794444595 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.291 2013/11/22 13:35:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.291 2013/11/22 13:35:09 vapier Exp patched$
 
 # Description: kernel.eclass rewrite for a clean base regarding the 2.6
 #              series of kernel with back-compatibility for 2.4
@@ -698,7 +698,8 @@
 install_universal() {
        # Fix silly permissions in tarball
        cd "${WORKDIR}"
-       chown -R 0:0 * >& /dev/null
+       # would last more that 1246 minutes without root rights.
+       chown 0:0 . >& /dev/null && chown -R 0:0 * >& /dev/null
        chmod -R a+r-w+X,u+w *
        cd ${OLDPWD}
 }
Comment 9 Benda Xu gentoo-dev 2016-05-23 16:13:03 UTC
Ping kernel team.
Comment 10 Mike Pagano gentoo-dev 2016-05-23 23:34:50 UTC
I'm going to have to apply and run this for the next round of updates.  

Should this go to -dev for formal abuse?
Comment 11 Benda Xu gentoo-dev 2016-06-15 10:52:39 UTC
Landed after discussions on gentoo-dev.

  https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2673aca8d54b7c6fd859

Feel free to revert it if anything goes wrong.

Thanks all.