diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-05-12 13:03:17 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-05-12 13:03:17 +0000 |
commit | ad8cb708443ca7f8eadd8c574f5d6f1338c3f528 (patch) | |
tree | 270e9b7d5b3adfa254bcb5a121c65ab20390bad5 | |
parent | 2022-05-12 12:48:08 UTC (diff) | |
parent | linux-info.eclass: Fix func name to comply with pms, dep old with deadline (diff) | |
download | gentoo-ad8cb708443ca7f8eadd8c574f5d6f1338c3f528.tar.gz gentoo-ad8cb708443ca7f8eadd8c574f5d6f1338c3f528.tar.bz2 gentoo-ad8cb708443ca7f8eadd8c574f5d6f1338c3f528.zip |
Merge updates from master
-rw-r--r-- | eclass/linux-info.eclass | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 7b56a47016c6..8c502812f8f0 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -148,10 +148,26 @@ esac # @DESCRIPTION: # Set the env ARCH to match what the kernel expects. set_arch_to_kernel() { export ARCH=$(tc-arch-kernel); } + # @FUNCTION: set_arch_to_portage # @DESCRIPTION: # Set the env ARCH to match what portage expects. -set_arch_to_portage() { export ARCH=$(tc-arch); } +set_arch_to_portage() { + + ewarn "The function name: set_arch_to_portage is being deprecated and" + ewarn "being changed to: set_arch_to_pkgmgr to comply with pms policy." + ewarn "See bug #843686" + ewarn "The old function name will be removed on or about July 1st, 2022." + ewarn "Please update your ebuild or eclass before this date." + ewarn "" + + export ARCH=$(tc-arch); +} + +# @FUNCTION: set_arch_to_pkgmgr +# @DESCRIPTION: +# Set the env ARCH to match what the package manager expects. +set_arch_to_pkgmgr() { export ARCH=$(tc-arch); } # qeinfo "Message" # ------------------- |