mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
eclass/pax-utils: Sync with Gentoo
It's from Gentoo commit a3e4280d8131b93231baf1f0d444c6c3481605ea.
This commit is contained in:
parent
08319d7bf3
commit
e690e2782e
@ -7,7 +7,7 @@
|
|||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Author: Kevin F. Quinn <kevquinn@gentoo.org>
|
# Author: Kevin F. Quinn <kevquinn@gentoo.org>
|
||||||
# Author: Anthony G. Basile <blueness@gentoo.org>
|
# Author: Anthony G. Basile <blueness@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
# @SUPPORTED_EAPIS: 7 8
|
||||||
# @BLURB: functions to provide PaX markings for hardened kernels
|
# @BLURB: functions to provide PaX markings for hardened kernels
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
#
|
#
|
||||||
@ -25,10 +25,6 @@ if [[ -z ${_PAX_UTILS_ECLASS} ]]; then
|
|||||||
_PAX_UTILS_ECLASS=1
|
_PAX_UTILS_ECLASS=1
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
5|6)
|
|
||||||
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
|
|
||||||
ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
|
|
||||||
;;
|
|
||||||
7|8) ;;
|
7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user