mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +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: Kevin F. Quinn <kevquinn@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
|
||||
# @DESCRIPTION:
|
||||
#
|
||||
@ -25,10 +25,6 @@ if [[ -z ${_PAX_UTILS_ECLASS} ]]; then
|
||||
_PAX_UTILS_ECLASS=1
|
||||
|
||||
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) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user