sys-kernel: update initrams and hardened-kernel

This commit is contained in:
Alexander Miroshnichenko 2021-07-16 16:56:13 +03:00
parent c3d0865759
commit e12d134464
Signed by: alex
GPG Key ID: E93720C6C73A77F4
4 changed files with 10 additions and 7 deletions

View File

@ -1,12 +1,12 @@
AUX linux-5.10.amd64.config 151762 BLAKE2B a6775a6e1e3cf67d3fa8afb080b3c666ef5f2df07c2f2faff1835fc5c82e6a85d0dcaec638cc34b0661b95f1745b84e0a11b11568051208ca9011711d00ef6ca SHA512 79c5d7b91dfd4fc637d4bed114e7202cb1e062c64ba0df2ffc22df378019b6471215133ba75bd17e7884b75697ecb4115fd015828096561b776ed084b92d3c6a
DIST genpatches-4.19-124.base.tar.xz 3482680 BLAKE2B e8716be023f6512fb4613fab11a6ecf6472dd738cdb63669cfc6573e70030bfc5d3374c18672661867dd584d621cffdced21403a337af40b2428ff6703b6aa53 SHA512 dde38efe4b8e413b0aa1380c3fc4284b153b048a38cb8e05fdec34c14588d3e60092a20d247195389ceace0dc9e353caacaf9573c75a2327b4667dcad90c15fa
DIST genpatches-4.19-124.extras.tar.xz 17516 BLAKE2B 1c7db2f9f888a9becf0dd891a3f9980431419af50552a4cda06c51f1a7b5d923698d6ce625c619b73386a300438f858a551ca53adc2a5bc110d6eda2a575a22d SHA512 4f29e993be982e272205c6d57e1828e7cc837abbde4a1e7b59e6b20eac648315bec135338b8f6e33df2b49d81e855a9f5c7eeebf6238fa8bc3bbd2215c324eff
DIST genpatches-5.10-49.base.tar.xz 1588092 BLAKE2B d31ab75b6106e81654a69d1d0cb1d765cad83fcdb20a4cad9bf44749146aeb4c19cb6c8bb743b26ec48cb6439c64f8b3af9011468ba6b140dfcdd00adf14286f SHA512 cf6973eed088a99b9e9bc5822f87e75bec61f94207a783f25ec5e835fde565dfbc04fe3dc5c6709f213479b86bbfab26003661108607a17df0169ee2ae5f43c3
DIST genpatches-5.10-49.extras.tar.xz 3412 BLAKE2B 3feb28c887152586b0e5c282e898d447451cdc7b0dcd0749d69890b72fc1d38f9a0a9dfe62d09c8f37ee198ff809edd949137503dafbd63120b566a837c83e32 SHA512 dc916a8848358891c749ab2853d49a2e5a3e7cc0c696b4f523902c5526fe3463730209bcd9a229dea86ed628a8da63b16316b565752e4eba6ee68381af92b6c7
DIST genpatches-5.10-53.base.tar.xz 1650792 BLAKE2B f4e4f7c7e49b78db706c2e5e47c1e0a3e99576316150f4c2443cca5885e18969181fc94febd3814de4fe9256b1324446be160b3d9992edd0375ff12496c501f0 SHA512 533a45b4fb2bbf531fcc8eb38928593a21af77144ea510e13d0d1d84919425a26371b9e1b5052fe6e7c1551683a5f88e1fd24512d9d2142fa8437f69de1c47ba
DIST genpatches-5.10-53.extras.tar.xz 3420 BLAKE2B 3079e8f65de0ae8d927cce28fdaf97b902d5cbe3f419c9247a76d27bad296f5f002773ad176dbd086ed04d5346da86db91f1c2bc87247e14a86e0790cc2b1ebb SHA512 0402a07c174f9ab289654e0ff15647d53e5624fc729b73f7028f6c1619285914c5a672b42bd9029fc4f1f773631f86d51e6b48a5c96f84825761b42b76ea18f9
DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-hardened-4.19.125.a.patch 97705 BLAKE2B ca013aaf31bf90177b5d2d2cb2018bafaa0173c6017193bd5bbc3568a4bd34d628798a8dc56411add627340b3b1617f7d43b02a7e032bd7e4374166e7c3bf8e0 SHA512 771a696115a9879b36fb01d3dc7c4cc9cd02591c07f6cca6f73e956818fa77e1dc42289f79167c4fb2deb69ec8fd9b458757bf45403d7fce874b7b57eb551482
DIST linux-hardened-5.10.45-hardened1.patch 118939 BLAKE2B ceb1fa26c133beb2f35aab6c92151d3dd52febfe68ee83a42452b5af485a9c992ea5652ce89fd815fc746bfbde88377eaf0939c75c1e0cbdeee95306f56bad4c SHA512 34bebab9b7fdf1b7119e560de324d0d0ac62ca35cbeb674377a825a97076ea4f0873f34920bd28bfb5631fe9d0e81c2fbd3188e79b1df4271f50821782179d28
DIST linux-hardened-5.10.48-hardened1.patch 118942 BLAKE2B d6870f34c78d89c4c86df47393069a918e22fce8d0b82bd3ed89c2b98b26f333177532a47af954fdfc9f8acdb1262ca44300161d42f1369f3dc7346162c8fc8f SHA512 6fba1d7663b13a68d518a1e2824b22c0986fedbf09328008f63d506d29ef68f945ab35fb607fc3a44780f2fb82f413c0dd279dd5983e3c3a8cf518cd5ba7497a
EBUILD hardened-kernel-4.19.125.ebuild 2568 BLAKE2B 1c165f8359a5d5926cc866769f0ca7fe8b999e190cc92cd92b253efac18ca6d4bcddb89c1ffe8d83bdcb2249421dd58b7372ec4d74f4f432e874503a8fe2e5ab SHA512 08c7c6ef75a00bbf78ab49a01214230e44a602c51b70ad9d61b49c76a014b6d006d67984a482b3142b9aba835ab819f80bbde0a8adc40eab298fba9e9d3b3742
EBUILD hardened-kernel-5.10.45.ebuild 2955 BLAKE2B f575bf1eb269030c4c9d695c39b5b684c1cda57837db0d83d41c8e7e14f30f5a3f4af72641d99c6bedeb0852ff714a282fa679b9ad64d2ad035eb7f2faddb1a1 SHA512 29ad137704d4048c3d801564aadfa37ae90a9a35374d497552d17d326f6538f91049d0b739711a3c79073a73c4b80f72199bce6993506ce7a0eda1e4b7b57bc7
EBUILD hardened-kernel-5.10.48.ebuild 3016 BLAKE2B 469515e9021326c16a71f1fbf90d4df8c06683b4331671519610822c3f26ed231b2a3684a4dad0b0ff2f7062fa8529743b8a0cc6cf6807d0aae603f08b3299ec SHA512 2a9a4fb7336ee6a1659a3d7a4e5bd6ac88fa1198b59ec083fe664b073664affdf69b3aaa7a5e2c69f4e9ee1c07478dcb3c13b433e5e0dbb9f450a18c8312bc21
MISC metadata.xml 345 BLAKE2B 4003222d76459210cbeba27d68bcef9b42f500dd3dafe53505dae42004c5224eeae395fb30d7582de614654d2fde19d118c8c31fbc35e5335c9150d93f42efc9 SHA512 994d288cd16858bad3177d383a279f0f549ddf40ef87c62683815540b331bd48d4afa4d0c6af947e409c58f8abb5e1da045bb98dc00a422ea724cdf0610d6619

View File

@ -6,7 +6,7 @@ EAPI=7
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$((${PV##*.}+4))
GENPATCHES_P=genpatches-${PV%.*}-$((${PV##*.}+5))
HARDENED_PATCH_VER="${PV}-hardened1"
GENPATCHES_EXCLUDE="1500_XATTR_USER_PREFIX.patch
1510_fs-enable-link-security-restrictions-by-default.patch
@ -41,6 +41,8 @@ RDEPEND="
!sys-kernel/vanilla-kernel:${SLOT}
!sys-kernel/vanilla-kernel-bin:${SLOT}"
RESTRICT="strip"
src_prepare() {
# remove some genpatches causes conflicts with linux-hardened patch
for patch in ${GENPATCHES_EXCLUDE}; do
@ -86,6 +88,7 @@ src_prepare() {
-e '/CONFIG_TRIM_UNUSED_KSYMS/d'
)
sed -i "${config_tweaks[@]}" .config || die
sed -i "s@\-hardened1@@g" Makefile || die
}
src_install() {

View File

@ -1,4 +1,4 @@
DIST initramfs-image-2020.02.01.cpio 34256896 BLAKE2B f290d00f780026a108bc05b9b2c4e30819781ad0ee048acd33c798285bafa3c7a1a8a5384fa4a5d408b74e72140c998408328c5e0ee7e30ab48589ceeb981e46 SHA512 9b8a44f7f49ad5eb2e3998578af139459caf141044c13e8c08ccfffbb30c47b6da4452803ff29fb31606eb2e2238873799c47b60435df89ba235f9be77eea0d4
DIST initramfs-image-2021.06.19.cpio 42697728 BLAKE2B 1b200ded67f932b6215479a5d477ab90c40aed86d8a1cc9d2501fcf302bd345452f8fb3be36becbaba11b5d792f8718969cb8279c55be81386859ea611e032da SHA512 f12e3479753dd14fc56c46609442c7b529538d81c332d22efa691a0bef10bef6432e6400bdea6736e056b9e51b9a6cd57337829035c9a8c36e9e6977a108bd37
DIST initramfs-image-2021.07.16.cpio 40566784 BLAKE2B 539f01f0b23f739c106fceb0817629b20ea2b99391a4553bc007a4512cbb3fb469b97bb22c415b3459e913fcf30cd69d4a943f8d5f32655c4ad32691049b98f3 SHA512 dfa689a914c1f2042d885e608d430029118e56ed3bf352aab5f28ed9f8bed81ad225edc143d12a4711f130825e288937e78488e951b5f3fda5dd036441b28dc7
EBUILD initramfs-image-2020.02.01.ebuild 479 BLAKE2B a49541bfb2b2a32d903ec7630f7bd58f32f256f7db34d803e5edab354eb5b316628ac9577768b079199382c2fb11700986d7b61eec2df990c334480e2edf978a SHA512 3d00508c7e671e4dbbdb6271afb75b0ab1eed5f356f7572cedbeb53e55fcdb33166d5e6e104191058bfa93821b7c6a34ca8527c5172cd96cd9343c480a07763f
EBUILD initramfs-image-2021.06.19.ebuild 479 BLAKE2B a49541bfb2b2a32d903ec7630f7bd58f32f256f7db34d803e5edab354eb5b316628ac9577768b079199382c2fb11700986d7b61eec2df990c334480e2edf978a SHA512 3d00508c7e671e4dbbdb6271afb75b0ab1eed5f356f7572cedbeb53e55fcdb33166d5e6e104191058bfa93821b7c6a34ca8527c5172cd96cd9343c480a07763f
EBUILD initramfs-image-2021.07.16.ebuild 479 BLAKE2B a49541bfb2b2a32d903ec7630f7bd58f32f256f7db34d803e5edab354eb5b316628ac9577768b079199382c2fb11700986d7b61eec2df990c334480e2edf978a SHA512 3d00508c7e671e4dbbdb6271afb75b0ab1eed5f356f7572cedbeb53e55fcdb33166d5e6e104191058bfa93821b7c6a34ca8527c5172cd96cd9343c480a07763f