Summary: | kernel-2.eclass: add prefix support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benda Xu <heroxbd> |
Component: | Eclasses | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | kernel-misc, prefix |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://archives.gentoo.org/gentoo-dev/message/8a1c67b1d1145e55447c65c7b213dce9 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 315803 | ||
Attachments: |
kernel-2.patch
kernel-2.patch kernel-2.patch |
Description
Benda Xu
2013-07-28 07:04:18 UTC
Created attachment 354382 [details, diff]
kernel-2.patch
almost trivial Prefix updates.
Created attachment 354384 [details, diff]
kernel-2.patch
revise
I get rejects on this Benda. Can you check your patch against the latest kernel-2.eclass? Created attachment 355734 [details, diff]
kernel-2.patch
Ah-ha, there seems to be an update after I submitted the patch.
Refreshed. Please check.
Thanks Mike, and excuse me for the delay. Planning to review this among other changes very soon. Hey Tom. How's it going? The Prefix patch is a trivial one. 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} } Ping kernel team. I'm going to have to apply and run this for the next round of updates. Should this go to -dev for formal abuse? 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. |