1 |
commit: e48ea29166138bc3f675f3809ca3785b862598a0 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 7 21:40:59 2022 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 7 21:40:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48ea291 |
7 |
|
8 |
linux-info: Remove deprecated eclass func after warning period expiration |
9 |
|
10 |
Bug: https://bugs.gentoo.org/843686 |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
eclass/linux-info.eclass | 15 --------------- |
15 |
1 file changed, 15 deletions(-) |
16 |
|
17 |
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass |
18 |
index 0bc714e8175f..8925f83b6695 100644 |
19 |
--- a/eclass/linux-info.eclass |
20 |
+++ b/eclass/linux-info.eclass |
21 |
@@ -158,21 +158,6 @@ esac |
22 |
# Set the env ARCH to match what the kernel expects. |
23 |
set_arch_to_kernel() { export ARCH=$(tc-arch-kernel); } |
24 |
|
25 |
-# @FUNCTION: set_arch_to_portage |
26 |
-# @DESCRIPTION: |
27 |
-# Set the env ARCH to match what portage expects. |
28 |
-set_arch_to_portage() { |
29 |
- |
30 |
- ewarn "The function name: set_arch_to_portage is being deprecated and" |
31 |
- ewarn "being changed to: set_arch_to_pkgmgr to comply with pms policy." |
32 |
- ewarn "See bug #843686" |
33 |
- ewarn "The old function name will be removed on or about July 1st, 2022." |
34 |
- ewarn "Please update your ebuild or eclass before this date." |
35 |
- ewarn "" |
36 |
- |
37 |
- export ARCH=$(tc-arch); |
38 |
-} |
39 |
- |
40 |
# @FUNCTION: set_arch_to_pkgmgr |
41 |
# @DESCRIPTION: |
42 |
# Set the env ARCH to match what the package manager expects. |