mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
eclass/kernel-2: Sync with Gentoo
It's from Gentoo commit c28bd3b90e19fa157e19d017e70fc5c4832de14d.
This commit is contained in:
parent
8d1507b1a0
commit
acbdd65ca9
@ -288,7 +288,7 @@
|
|||||||
# Moved this above inherit as crossdev.eclass uses CHOST internally.
|
# Moved this above inherit as crossdev.eclass uses CHOST internally.
|
||||||
[[ ${PROFILE_ARCH} == ppc64 ]] && CHOST="powerpc64-${CHOST#*-}"
|
[[ ${PROFILE_ARCH} == ppc64 ]] && CHOST="powerpc64-${CHOST#*-}"
|
||||||
|
|
||||||
inherit crossdev estack multiprocessing toolchain-funcs
|
inherit crossdev estack multiprocessing optfeature toolchain-funcs
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
7|8) ;;
|
7|8) ;;
|
||||||
@ -656,9 +656,9 @@ if [[ ${ETYPE} == sources ]]; then
|
|||||||
app-alternatives/cpio
|
app-alternatives/cpio
|
||||||
dev-lang/perl
|
dev-lang/perl
|
||||||
app-alternatives/bc
|
app-alternatives/bc
|
||||||
app-alternatives/yacc
|
|
||||||
app-alternatives/lex
|
|
||||||
dev-build/make
|
dev-build/make
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
>=sys-libs/ncurses-5.2
|
>=sys-libs/ncurses-5.2
|
||||||
virtual/libelf
|
virtual/libelf
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
@ -992,6 +992,9 @@ postinst_sources() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
optfeature "versioned kernel image installation and optionally automating tasks such as generating an initramfs or unified kernel image" \
|
||||||
|
"sys-kernel/installkernel"
|
||||||
}
|
}
|
||||||
|
|
||||||
# pkg_setup functions
|
# pkg_setup functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user