hardened-kernel-5.4.48: fix ebuild

This commit is contained in:
Alexander Miroshnichenko 2020-07-02 16:35:16 +03:00
parent 380dd61e6b
commit a829701694
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 8 additions and 3 deletions

View File

@ -45,5 +45,5 @@ DIST linux-hardened-5.4.48.a.patch 100543 BLAKE2B 48c15ec66ec6ef9c70c5b600b37b12
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
EBUILD hardened-kernel-4.19.125.ebuild 2568 BLAKE2B 1c165f8359a5d5926cc866769f0ca7fe8b999e190cc92cd92b253efac18ca6d4bcddb89c1ffe8d83bdcb2249421dd58b7372ec4d74f4f432e874503a8fe2e5ab SHA512 08c7c6ef75a00bbf78ab49a01214230e44a602c51b70ad9d61b49c76a014b6d006d67984a482b3142b9aba835ab819f80bbde0a8adc40eab298fba9e9d3b3742 EBUILD hardened-kernel-4.19.125.ebuild 2568 BLAKE2B 1c165f8359a5d5926cc866769f0ca7fe8b999e190cc92cd92b253efac18ca6d4bcddb89c1ffe8d83bdcb2249421dd58b7372ec4d74f4f432e874503a8fe2e5ab SHA512 08c7c6ef75a00bbf78ab49a01214230e44a602c51b70ad9d61b49c76a014b6d006d67984a482b3142b9aba835ab819f80bbde0a8adc40eab298fba9e9d3b3742
EBUILD hardened-kernel-5.4.48.ebuild 2561 BLAKE2B 162555281d44f5bfcbb6acb30eb5cf7df59b6b310a093bd7fa89b8dafd347a5af4208a8cf31a355c700ad3803454bc6b23a5d1d6f8188f2c5a4619d67df5c4ed SHA512 726b0f7d727cde1611cf3923bb93a2bdbb489d49aab1fb3e4e23c41849234804d01124b03c91b2a78348d2e2006a967ab9e527e10a23138e22d614a8187d35ff EBUILD hardened-kernel-5.4.48.ebuild 2682 BLAKE2B 757684d31a3be43a30670f3d65fb387725f07cff93bb90b95061c23a7732f944d99235cbb22e34c437d28bb963d9c2bb2bdbfc2bfe51fb48d6dacb57e272b20d SHA512 5f8f425ade83c99cb01cbc213397c9716b55edb6fb9bed7dd604b8e789f38733c0829c2cc7612a204223d77ce8ec2084f0df541b5c8edb2680cb2549098b3fd6
MISC metadata.xml 345 BLAKE2B 4003222d76459210cbeba27d68bcef9b42f500dd3dafe53505dae42004c5224eeae395fb30d7582de614654d2fde19d118c8c31fbc35e5335c9150d93f42efc9 SHA512 994d288cd16858bad3177d383a279f0f549ddf40ef87c62683815540b331bd48d4afa4d0c6af947e409c58f8abb5e1da045bb98dc00a422ea724cdf0610d6619 MISC metadata.xml 345 BLAKE2B 4003222d76459210cbeba27d68bcef9b42f500dd3dafe53505dae42004c5224eeae395fb30d7582de614654d2fde19d118c8c31fbc35e5335c9150d93f42efc9 SHA512 994d288cd16858bad3177d383a279f0f549ddf40ef87c62683815540b331bd48d4afa4d0c6af947e409c58f8abb5e1da045bb98dc00a422ea724cdf0610d6619

View File

@ -26,10 +26,12 @@ S=${WORKDIR}/${MY_P}
LICENSE="GPL-2" LICENSE="GPL-2"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="debug"
BDEPEND=" BDEPEND="
!initramfs? ( sys-kernel/initramfs-image ) !initramfs? ( sys-kernel/initramfs-image )
app-crypt/sbsigntools" app-crypt/sbsigntools
debug? ( dev-util/dwarves )"
RDEPEND=" RDEPEND="
!sys-kernel/gentoo-kernel:${SLOT} !sys-kernel/gentoo-kernel:${SLOT}
!sys-kernel/gentoo-kernel-bin:${SLOT} !sys-kernel/gentoo-kernel-bin:${SLOT}
@ -73,11 +75,14 @@ src_prepare() {
# disable compression to allow stripping # disable compression to allow stripping
-e '/CONFIG_MODULE_COMPRESS/d' -e '/CONFIG_MODULE_COMPRESS/d'
) )
use debug || config_tweaks+=(
-e '/CONFIG_DEBUG_INFO/d'
)
sed -i "${config_tweaks[@]}" .config || die sed -i "${config_tweaks[@]}" .config || die
} }
src_install() { src_install() {
default kernel-build_src_install
if [[ -z "${UEFI_SB_KEY}" && -z "${UEFI_SB_CRT}" ]] ;then if [[ -z "${UEFI_SB_KEY}" && -z "${UEFI_SB_CRT}" ]] ;then
sbsign --key ${UEFI_SB_KEY} --cert ${UEFI_SB_CRT} --output ${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage.signed \ sbsign --key ${UEFI_SB_KEY} --cert ${UEFI_SB_CRT} --output ${D}/usr/src/linux-${PV}/arch/x86/boot/bzImage.signed \