Update kernel eclass

atratsevskiy
parent 5ba6bc4831
commit bd2bce39b2

@ -119,8 +119,11 @@ vmlinuz_src_install() {
} }
calculate-kernel-4_src_install() { calculate-kernel-4_src_install() {
if use vmlinuz if use minimal
then then
local configname=$(cl-kernel -v --filter cl_kernel_config$ | \
sed -nr 's/.*\[.\]\s//p')
cp $configname .config
local GENTOOARCH="${ARCH}" local GENTOOARCH="${ARCH}"
unset ARCH unset ARCH
ebegin "kernel: >> Running oldconfig..." ebegin "kernel: >> Running oldconfig..."
@ -130,9 +133,7 @@ calculate-kernel-4_src_install() {
make modules_prepare &>/dev/null make modules_prepare &>/dev/null
eend $? "Failed modules prepare" eend $? "Failed modules prepare"
ARCH="${GENTOOARCH}" ARCH="${GENTOOARCH}"
fi
if use minimal
then
einfo "Cleaning sources" einfo "Cleaning sources"
for rmpath in $(ls arch | grep -v x86) for rmpath in $(ls arch | grep -v x86)
do do
@ -161,7 +162,7 @@ calculate-kernel-4_src_install() {
use vmlinuz && vmlinuz_src_install use vmlinuz && vmlinuz_src_install
if ! use vmlinuz if ! use vmlinuz
then then
local configname=$(cl-kernel -v --filter cl_kernel_config | \ local configname=$(cl-kernel -v --filter cl_kernel_config$ | \
sed -nr 's/.*\[.\]\s//p') sed -nr 's/.*\[.\]\s//p')
[[ -n $configname ]] && [[ -n $configname ]] &&
cp $configname ${D}/usr/share/${PN}/${PV}/boot/config-${KV_FULL} cp $configname ${D}/usr/share/${PN}/${PV}/boot/config-${KV_FULL}
@ -194,5 +195,18 @@ calculate-kernel-4_pkg_postinst() {
cp -p /usr/share/${PN}/${PV}/boot/config* ${KV_OUT_DIR}/.config cp -p /usr/share/${PN}/${PV}/boot/config* ${KV_OUT_DIR}/.config
cd ${KV_OUT_DIR} cd ${KV_OUT_DIR}
if ! use minimal
then
local GENTOOARCH="${ARCH}"
unset ARCH
ebegin "kernel: >> Running oldconfig..."
make oldconfig </dev/null &>/dev/null
eend $? "Failed oldconfig"
ebegin "kernel: >> Running modules_prepare..."
make modules_prepare &>/dev/null
eend $? "Failed modules prepare"
ARCH="${GENTOOARCH}"
fi
use vmlinuz && vmlinuz_pkg_postinst use vmlinuz && vmlinuz_pkg_postinst
} }

@ -63,6 +63,6 @@ EBUILD calculate-sources-3.1.10.ebuild 1469 SHA256 73211cf6697afd39b0c769159df6b
EBUILD calculate-sources-3.2.28.ebuild 1482 SHA256 1008ce98d51d3f9f0a7c47443bceeabf339332760b1fcd940352e55099c81899 SHA512 97c8b3a3e13dc3f7025d3c69675671495ddc5cf464bfce41010f7cd4732849fcfc68a832d1ac0abc971f2ca78d9ffb9d77f2a6133ae8d67c07cd4266b024936a WHIRLPOOL aad693b5c85fc2bed66692c6815d66db40960d7732754c14dd6c51e1ebe4618be334052b69e6e2ea0f6fc5f5649aac96360a2813e6141aa5c4e2baa9be0549b0 EBUILD calculate-sources-3.2.28.ebuild 1482 SHA256 1008ce98d51d3f9f0a7c47443bceeabf339332760b1fcd940352e55099c81899 SHA512 97c8b3a3e13dc3f7025d3c69675671495ddc5cf464bfce41010f7cd4732849fcfc68a832d1ac0abc971f2ca78d9ffb9d77f2a6133ae8d67c07cd4266b024936a WHIRLPOOL aad693b5c85fc2bed66692c6815d66db40960d7732754c14dd6c51e1ebe4618be334052b69e6e2ea0f6fc5f5649aac96360a2813e6141aa5c4e2baa9be0549b0
EBUILD calculate-sources-3.3.8-r1.ebuild 1485 SHA256 f1e9da76b266950b3402c8b256a029775acc83349d0bb40553cfc3152875d1aa SHA512 03e5d831d40e6e9c51d4a65d32331358384b0289a90168e3d638b7c81d4cf1b4c42e558cee3c324657cf4ceb185021817d4707a1b3f2b83588f638aeff58aa88 WHIRLPOOL 8fad719390a2e23c1de1b89b8797b9b36b4e2493014113ec13a37f1b474b6956523300fb85faa55ab7908c063dc57b7e72fb64fe2fa0a5735046b7a64e7faf0e EBUILD calculate-sources-3.3.8-r1.ebuild 1485 SHA256 f1e9da76b266950b3402c8b256a029775acc83349d0bb40553cfc3152875d1aa SHA512 03e5d831d40e6e9c51d4a65d32331358384b0289a90168e3d638b7c81d4cf1b4c42e558cee3c324657cf4ceb185021817d4707a1b3f2b83588f638aeff58aa88 WHIRLPOOL 8fad719390a2e23c1de1b89b8797b9b36b4e2493014113ec13a37f1b474b6956523300fb85faa55ab7908c063dc57b7e72fb64fe2fa0a5735046b7a64e7faf0e
EBUILD calculate-sources-3.4.10.ebuild 1484 SHA256 91a6d9c4e8e39add2952ea95b5e9fce60cb423f6a98a979b64e0562087dcf595 SHA512 e64c983585d7f3b06af8baea741201aad1bb9e86e7d6585e2c82ed083ff2b72c7279d1c0137dd9549894a64756ef6e2b485cc0d889032bf3fd6f3362c3eb7ea5 WHIRLPOOL 659836374578538fb8504d55bbbdb3b4c9822b8c022bf76e3b910f29fa01dee3eb9603bde2f757aca323b6cfca6ea54f6972a8188f73fc4ae35c87be40d3e79e EBUILD calculate-sources-3.4.10.ebuild 1484 SHA256 91a6d9c4e8e39add2952ea95b5e9fce60cb423f6a98a979b64e0562087dcf595 SHA512 e64c983585d7f3b06af8baea741201aad1bb9e86e7d6585e2c82ed083ff2b72c7279d1c0137dd9549894a64756ef6e2b485cc0d889032bf3fd6f3362c3eb7ea5 WHIRLPOOL 659836374578538fb8504d55bbbdb3b4c9822b8c022bf76e3b910f29fa01dee3eb9603bde2f757aca323b6cfca6ea54f6972a8188f73fc4ae35c87be40d3e79e
EBUILD calculate-sources-3.5.3.ebuild 1491 SHA256 80dec1befbf349a2d3a46651bae454eefb0270b0b7e3702f30e48121e581fd5e SHA512 e7c8fd5a769112753df943306da965e819554e8067875efca8451ba4c6fc68d3586f41b9474d833786e41b98f50c9e7225983a5a26e387be3275b113a892069e WHIRLPOOL 8a3b84b7397b341552168cc109d6303beddd6aa1e000372fb4b259b22855e5e65ce8d25efded3498b4b196927cf0d2db67a2b2daa9c0234e39d90d58a9a54565 EBUILD calculate-sources-3.5.3-r1.ebuild 1491 SHA256 80dec1befbf349a2d3a46651bae454eefb0270b0b7e3702f30e48121e581fd5e SHA512 e7c8fd5a769112753df943306da965e819554e8067875efca8451ba4c6fc68d3586f41b9474d833786e41b98f50c9e7225983a5a26e387be3275b113a892069e WHIRLPOOL 8a3b84b7397b341552168cc109d6303beddd6aa1e000372fb4b259b22855e5e65ce8d25efded3498b4b196927cf0d2db67a2b2daa9c0234e39d90d58a9a54565
MISC ChangeLog 8722 SHA256 cc042c7a391ef95b87d7ceb641cf5fba63d23611ebe07f76ff6d6870f3a0fb76 SHA512 894713a127ac006055d14cdfe1cd5161c64cfe8afea3801ae8bacae859af69b32cf3742e5fa00f72cb146d952ee4c7a6bcf213060e49fa183f1497ea1231b6b3 WHIRLPOOL 6db8bf7a5b817e7826c9c39faa7014c99ad24c048944f22c966953af4fc3ba08e107b31998dfe55a3d5edca3d6f14f03e07792c24f2f3db3c5be7d5bcf0198d5 MISC ChangeLog 8722 SHA256 cc042c7a391ef95b87d7ceb641cf5fba63d23611ebe07f76ff6d6870f3a0fb76 SHA512 894713a127ac006055d14cdfe1cd5161c64cfe8afea3801ae8bacae859af69b32cf3742e5fa00f72cb146d952ee4c7a6bcf213060e49fa183f1497ea1231b6b3 WHIRLPOOL 6db8bf7a5b817e7826c9c39faa7014c99ad24c048944f22c966953af4fc3ba08e107b31998dfe55a3d5edca3d6f14f03e07792c24f2f3db3c5be7d5bcf0198d5
MISC metadata.xml 602 SHA256 2b222337597cf63fdd23baa8e278b8c62e4ee2e6d65e92dd52253a857e48913d SHA512 19b14786eda7f838389608211c7f9aa3f22ddc9677269a3dca53d10d627dce40463d1fa471efe2187f9f7731abc7fe8812ec72851690d76299565f3c52c23392 WHIRLPOOL e1a2a0384808427b48320071e9057e2e69ac1e259ae698270e4261415c8ff4f2aca15decdcd7eb2a57eb33092683f12f84a7fe1d348008c2410c671fa8d9a562 MISC metadata.xml 602 SHA256 2b222337597cf63fdd23baa8e278b8c62e4ee2e6d65e92dd52253a857e48913d SHA512 19b14786eda7f838389608211c7f9aa3f22ddc9677269a3dca53d10d627dce40463d1fa471efe2187f9f7731abc7fe8812ec72851690d76299565f3c52c23392 WHIRLPOOL e1a2a0384808427b48320071e9057e2e69ac1e259ae698270e4261415c8ff4f2aca15decdcd7eb2a57eb33092683f12f84a7fe1d348008c2410c671fa8d9a562

Loading…
Cancel
Save