diff options
author | David P <megver83@parabola.nu> | 2020-03-30 18:23:49 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-03-30 18:23:49 -0400 |
commit | 72c9ab660ff2d9068ffb126e3ee45aba10877507 (patch) | |
tree | 17bc24fe8efd8b02be9f30acd94c604e964eb1cd /kernels/linux-libre-xtreme/PKGBUILD | |
parent | f9ec026b6d59348459a8e57046587d5a4ae7e4a1 (diff) | |
download | abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.tar.gz abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.tar.bz2 abslibre-72c9ab660ff2d9068ffb126e3ee45aba10877507.zip |
updpkg: kernels/linux-libre-xtreme 5.5.13-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'kernels/linux-libre-xtreme/PKGBUILD')
-rw-r--r-- | kernels/linux-libre-xtreme/PKGBUILD | 109 |
1 files changed, 52 insertions, 57 deletions
diff --git a/kernels/linux-libre-xtreme/PKGBUILD b/kernels/linux-libre-xtreme/PKGBUILD index a5db3028b..ea07b3d51 100644 --- a/kernels/linux-libre-xtreme/PKGBUILD +++ b/kernels/linux-libre-xtreme/PKGBUILD @@ -7,12 +7,12 @@ _replacesoldkernels=() # '%' gets replaced with kernel suffix _replacesoldmodules=() # '%' gets replaced with kernel suffix pkgbase=linux-libre-xtreme -pkgver=5.4.18 +pkgver=5.5.13 _hrdedrel=a pkgrel=1 pkgdesc='Security-Hardened Linux-libre (with Apparmor by default)' -rcnver=5.4.12 -rcnrel=armv7-x15 +rcnver=5.5.11 +rcnrel=armv7-x14 url='https://wiki.parabola.nu/Xtreme' arch=(i686 x86_64 armv7h) license=(GPL2) @@ -21,7 +21,7 @@ makedepends=( xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick ) options=('!strip') -_srcname=linux-5.4 +_srcname=linux-5.5 source=( "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_srcname##*-}-gnu/linux-libre-${_srcname##*-}-gnu.tar.xz"{,.sign} "https://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/patch-${_srcname##*-}-gnu-$pkgver-gnu.xz"{,.sign} @@ -38,19 +38,16 @@ source=( 0002-fix-Atmel-maXTouch-touchscreen-support.patch # extracted patches from Arch Linux kernel sources 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - 0002-lib-devres-add-a-helper-function-for-ioremap_uc.patch - 0003-mfd-intel-lpss-Use-devm_ioremap_uc-for-MMIO.patch - 0004-PCI-pciehp-Prevent-deadlock-on-disconnect.patch - 0005-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch - 0006-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch - 0007-drm-i915-save-AUD_FREQ_CNTRL-state-at-audio-domain-s.patch - 0008-drm-i915-Fix-audio-power-up-sequence-for-gen10-displ.patch - 0009-drm-i915-extend-audio-CDCLK-2-BCLK-constraint-to-mor.patch - 0010-drm-i915-Limit-audio-CDCLK-2-BCLK-constraint-back-to.patch - #0011-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch - #0012-Revert-iwlwifi-mvm-fix-scan-config-command-size.patch - #0013-e1000e-Revert-e1000e-Make-watchdog-use-delayed-work.patch - 0014-drm-amdgpu-Add-DC-feature-mask-to-disable-fractional.patch + 0002-iwlwifi-pcie-restore-support-for-Killer-Qu-C0-NICs.patch + 0003-drm-Remove-PageReserved-manipulation-from-drm_pci_al.patch + 0004-drm-i915-Serialise-i915_active_acquire-with-__active.patch + 0005-drm-i915-gem-Take-runtime-pm-wakeref-prior-to-unbind.patch + 0006-drm-i915-gem-Avoid-parking-the-vma-as-we-unbind.patch + 0007-drm-i915-gem-Try-to-flush-pending-unbind-events.patch + 0008-drm-i915-gem-Reinitialise-the-local-list-before-repe.patch + 0009-drm-i915-Add-a-simple-is-bound-check-before-unbindin.patch + 0010-drm-i915-Introduce-a-vma.kref.patch + 0011-iwlwifi-don-t-send-GEO_TX_POWER_LIMIT-if-no-wgds-tab.patch ) source_armv7h=( # RCN patch (CM3 firmware deblobbed and bloatware removed) @@ -65,6 +62,7 @@ source_armv7h=( 0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch 0008-ARM-dove-enable-ethernet-on-D3Plug.patch 0009-USB-Armory-MkII-support.patch + 0010-Revert-ARM-8947-1-Fix-__arch_get_hw_counter-access-t.patch ) source_x86_64=("https://github.com/anthraxx/linux-hardened/releases/download/$pkgver.$_hrdedrel/linux-hardened-$pkgver.$_hrdedrel.patch"{,.sig}) validpgpkeys=( @@ -73,9 +71,9 @@ validpgpkeys=( '6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P. 'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak ) -sha512sums=('0d0915133864eb031adfc6700066147dcf3e768a50a31c39754950c95ef4fd322dc701cd50af49c403ef0325adfcb07e354d5e46c1be3dcdd719a7a55c963f37' +sha512sums=('187368a8fb4e04acfd7d18a024d6cdbc2841bcc06dcfbc3a053706e8512c3e3f573755228347c11bd791b296ec60eb2d67d5075ece2aef234a847e72f2b3e746' 'SKIP' - 'b05dfcf2ea677838c4442753478ef385860943842edd527deb7849b0db9b9663833ff1f360aae6d7bafab64e645268137204535fe8f575f50620b9c7a21182f2' + '2c882f6256bb9409b59fde28183e71701e969aab8a0e36821550a639a5c5de3e3b129a708f0f9c83135653cfccc837601850b631fb6d63449e2083319aba1d30' 'SKIP' '13cb5bc42542e7b8bb104d5f68253f6609e463b6799800418af33eb0272cc269aaa36163c3e6f0aacbdaaa1d05e2827a4a7c4a08a029238439ed08b89c564bb3' 'SKIP' @@ -83,36 +81,37 @@ sha512sums=('0d0915133864eb031adfc6700066147dcf3e768a50a31c39754950c95ef4fd322dc 'SKIP' '267295aa0cea65684968420c68b32f1a66a22d018b9d2b2c1ef14267bcf4cb68aaf7099d073cbfefe6c25c8608bdcbbd45f7ac8893fdcecbf1e621abdfe9ecc1' 'SKIP' - '6176a74f5a2a44ba5842d9980f2263d2cfd041bba9f3e42bdc1d8486818e4e528365ce17872b96c6327902665bc0d1ccdb6efe8e4e00dc2653dea02cb5714e87' - '75853183eed65a381fc9dd7cfe1028efbc9deac22f25d1b382bdecd5b511f8dcd2a39ed1aa551af330f2bdb2aac514a42e012bdc989004d2326bdf4afc35f7b0' - 'cf833d7eab1d19091e0d7859a90569c07e7ba5cc67312cfbfde18c01de8306edc14daf2649ecc09673876fc2057b3bb5ead4decdf4329d214fdaf5b6506ac5de' - 'f01e7925b262d2874a8a991b1f27d057356a2a384d2012b61be5a631d4e4d7cf87461c8fb9e7f183831f5a829ad204897f1f0545a52df6288a0e04a5c2e31b96' + 'a5b2c5c1f3ef457b61d63c6df4a4d13b5020ab6317e4c66b280306d19de7ef56f5eb93e3b80fa8dc63a19660da47b070368acf3e65171913b17ed8aafd4bf178' + '6b3b28e59d40f78239bfda230a55182e53b32dd530a2cc1da5e4f19606aad9b6c20d1a5150a2faa4013a6881080577eb85442ee6831627984f48791b19ed6477' + '2390b976f5c7fb4044d079ee38129e9fbf793c9e93a4b4033c7e4df9d8482eb4f1ec436895500912f4d4301fd3339b1dbcdad80667c2d6521f240b4d63497744' + 'aca591b5a2e838754e3c5fd2c0e50098ad54c2d0f990de5bf9cff8608e881daf0e37132294ed1a0e0a7b9e1c194c0b89f95da001d94febdb25a01c409060e3ac' '02af4dd2a007e41db0c63822c8ab3b80b5d25646af1906dc85d0ad9bb8bbf5236f8e381d7f91cf99ed4b0978c50aee37cb9567cdeef65b7ec3d91b882852b1af' 'b8fe56e14006ab866970ddbd501c054ae37186ddc065bb869cf7d18db8c0d455118d5bda3255fb66a0dde38b544655cfe9040ffe46e41d19830b47959b2fb168' - '0598a2a1aaae286e4681e7e8696bb82b992d8917735b33a333c449695d6dbad0c35127704219c6274e327b3112ad2f7bbf45961112e341948651ecfd3e712458' - '955b233a754ae5005d247b6192fb776507481ee0c887672d75238cdd5fe55d24327d3e3c3e04b5daf41ac3249977c0b1a5f0be4fd4d77e41783c05b0dfc68477' - '57075f7a032071bda7fe047c7560032df2e037259425fbd3f230631880490f98841d337ea61d47d8d5993ec39311832ba2f967ad382a1678c0ddf1a77d43aad2' - 'd93abdd716c20c63352a13adf5217a3431f5a35e9aab7bbee272c06e81649d75bdc7cc52033c85dee295a05dbe2db69da03d4fcc0a8220f060f237dc698ae3aa' - '5ee06e83dbf614dcf18d938a89ef1639d9b78b6764baad530d8039679af9b0c9d99fd7e81984bbc6c911f428ce5800d2c843b504d283e63a38a9359f5fd2f8f8' - '8c3bd587d9ad6ea287931d3e17c4159139653ab58bdbebc945bb416ddf6564d94171389fed83cf73828a1a3b30ac52cb4922efdcac9227b5a57b4c04433bb9d6' - '30be3ef2bd74dc5002be776991e4dcba08a87773ede451efc3ed2ae87853111b47503989b834c80b5a8b550eb3ee1804a4b3f76ca0057b09a86d01b3fba054ef' - '74fa48f77088cffb3d9c442db2828ca5fa6534c144231e7ba07085c168f24206cc30b642ea2417fe7965cbf9f7f38445283637b3abf5d02150efd5752a073848' - 'cd04bdac9f0347a2fffda160e149b24b57d75e7b563700f576a32871b0b52ac7c04e1dcaf7ddabf4c5e886db9c7f09d32bbeb391384d3d5056da211b043dec9b' - 'd75549345dc622feb20beecabd06871d95037a7b8475427c2ad01f10c87ee01bc7d2a026262c4ba9efc053e5c58c099bb05cf6072afded8314acf795025da85f' - 'f35ae1e4215f3dd5ce1680962e157f02807ed8151d98dc9c34570926ba713f3747957c199db65efa72691ac4ca1aaaa40dea69f35ec24be20a0f93f9156aaee7') -sha512sums_x86_64=('20fadadaf284447286f62595f34eb9cac718dbab911b34848e5c1cdf88eb761eb821551c940f1501c40444199968bf6594b7f2d85d17ace5ffc8440ba587a142' + 'dfe4fb9f41247bde1c0b7b53922f98d30efe6e2fa810673b4f897f3a54c02ea6aa2a37a0532a8b5d4e6a0e0b016d931757bd4d3e6b2e3ef03cf05e61fc748b20' + 'fb8a16c9c5cc398f2ce0bacdad37adcd740a6e48829a29f2991a5451f8ef455060d39ead11030ca7bff8d6317faff5a705b811eae935a33c990972840a74befa' + '7904b2463445f7bd6cbae2325d189cba99b61f363eb8b34decbd0074d9e54fbc5d2077b63491ba10a3a02021ce7f35dd8ee86561f523d032b1ce50193f83c0ac' + '96ad606769ef0d3b1dd7c86444675908ed79c10b4db82d6c8090d33ee1945da9c166f516dc2394ea0fe03e9333194c225239f8f5e712dd3d1fa490ddc461f655' + '3ad7761dbdf10b857239765cd72179d0fe95d5dd654dd83591f177886bc3f5b52d4c82994e77f86ac2a250003ca707003e8b576d37923f1412822ca8b44110b9' + 'af8823fd0a61177f31866e89050554b145cea13b73e9f907dda8dd8d07d1448b01bfb8057795f3ec83764639d1a5abc0d51c03fe4b7c9dd54a067568f488f04b' + '74009876f1ea4e5e3a705659ed0af28d1535c1dd4a42b478fafd75d7a2879a0138e67d29783252833ddda84c7703f155025f7cd4b2d775f385df3f4fa9bb8f02' + '0b4a6fdaaf9e4b65aca8910c78cf30749db0deaa2dbf8e38786e0483b81fdf7862e8bcb4c18e1612432c5a1f307e318a18df8c2e3410217d0e3aded1c1d917be' + '7dda55bfaf3b4f77901e6378ff7c6617cb65b1c731f908f6e64371aed02dee17f15530e74c4243255bb27a4a7d0db0254ea93de191b599e541501f726883bd7f' + '4f4bc1de6375276d38207d0a82aab58c422c0bb7f8565791f984693f4254bc1a1b5989b39fb765457294f56e6b2d17d1e753bd56b98c5c17f556b7992a08afac' + '8cabc3719077e6c2fc092b746f030182aeff2373fc670726fd96df1f9004f507f5631b47ee7c7e4ddf37fc11e90180308c1969285411558e18fda3818d74d9fb') +sha512sums_x86_64=('5356887d1d0ad4406ff1e090947e5c107b072fe4edb040ac5dc6f431c276ee24297f4a4b485ff016ea9024dea861bb4817cf07dcfb39e922e3caa5e4c069d185' 'SKIP') -sha512sums_armv7h=('6d1e07ed008522faa61ad61491ba90bfd5aed97817825dc1f140ce3d099e091fbff2398936e7d6bbf7d04d5250dc73f622022f1dba9af1052c936cf72e4e934a' +sha512sums_armv7h=('53b5ab4baaf9e58f31e72d5395a7bbb187bc90c75c3ef00a927e282a336e2f5dfe9e54c0d4ad5ab901037ddd7d5c472ae2539f5a6d44a02105bce95b2c23269c' 'SKIP' - 'b576a9c40ba59485c350f71b9234d9e71f245e25b26382bd2f67019f3309c3b5705a6020eae0a9dfccacc763fb2056a5937c0a8ff4e64f99ba1d60f0b2acb03f' - '85a13a274d4cbaca3ddbe8eaf883f1a1184765f8d09d6d40bb32defbe0876cb0153513e8db8671d7fc053e383ced793b74245ff29364a760e1a52bb36ebc8e85' - 'f9ce0bb4f06be6f742d8a31384e90fdab1a4686f14d5a8845e0c341dcfa62ae59db933237174223de9b32f9d91f99125c20ede7dff664755f1d42ea0cecdefdb' - 'b32623904f984118ebdd8ec31816885d73776ed80a68fa23925e67451f28a8f080dd8545307bb2f857435894adfa8b3db7c8a99aa02b8b3f2b5f8e3223d98a47' - 'd114f1e69504413e81dd67684f5b1ce69aa09d5bc768c7eee96a7d6b7ec47b32cd8f02593c878b0e9091475467de36a3d7c478e34a39148fa849548f53637b84' - 'bc0c6b1726679498393be8d4c417c62e1f356fe5c617c71ff23532652fdd5f314e5bfc6172eaca79cd4806b81031bf2f879d7d1a6050ad4c616c04e6bdf93c2a' - 'b13bea6412580325dba0d02cf0dc712e860f659569ffcb968aa4836fdb2882448cfee4659a675a70affccae02c8d2589d80b7239eef5ae7b615162aeaa76f3bb' - 'cff59f974651614587313674455a968ae5390a5ca825d204f0e2f8de2b422d577b007f5297a398e2afeb33ed0d324d34ad58ff4cd56e645bd4ca9a6bdc1354c5' - '54adbec4b6b85cda901df7d2b3eb1f517f10d3528326e60c7afa4b49ccc7cfb43b0d1f574ceb5d7d03c94a0fbcc97c0ef785258292dd26ed46728355da27332c') + '4ad93d447d8671402dd7a2886b5c1329ffd5dd7b7f87e895f792ae937258c5016c7c0512ad03c4065da7520e656d0764d565171be463a378320fb210b54e3dee' + '780e4ce45b35b271dd3459b543681603c1f112f68d5f3500b7c01fdcac205a9d06e9ec13700e8841d4beb831e3e2dda1664a0ac38ef23bb5a47e2df0534767d7' + '7b5faabd9f4a766f92a285857ff750eff4ae08abb8435483ca5bc9a38c4852d373a960ed272ea35b6a055c7ca53d2f3ff869023f91b9dcd0c5adac912c16b109' + '1a75ee9c6a51a95f39a6cbe5b27c034b239dad232961033df0ce9ce01dea8aaa3aa819a0a6b724a468bee8b275f2d7c8a5c56992f3237a18c19cd8ecb3a930e8' + '42e8fa85e9aee0624a120c1260c187b6402d48334dc5db78f753ce5c4edab6d2f8c3d0bfcd65e8fc638c448c7a0ddec9c4f0f9fc6236651c30a5eba1d092453c' + '13e3f21591cd0952d0c29e99998edad4a594225007d3fbb2486a92c235f85246b68030dfb5d5d427cfc82627f85d60dd561add8dcc5570e431706394c14145a0' + 'e253bc19cd306a7b435d507761f3534677136c448885e7b6bf92b5bb28e79e2aad794a0e0b0874828a75146cbeb8586df7ab052effafb8484747c4d4d43f89a4' + 'a8203472a924b720c9f4d8eb05976028cf3ca1e595fddee1801f7594c0bef00b1cd788410b5f8fa28ee2d6ebf1403b6052334f777c53fce0b8958e8e66931d98' + 'dfdd22d4cb803e7dd3fd3455689147c5441392001d8695993f5e7dcad02ff0b4846dd6c53a1fdb67134022ef77e6433c52d38cbbbaccb9d9d849acb8d19c854e' + 'b1eb6025017cb5d73d330e3bf304252c8ec4ae607350d358cc2a78ac765982dec6029b94e85966c34f015d50a39e639caf27c5907bc8dd1a36a5e1f9de206f7f') _replacesarchkernel=("${_replacesarchkernel[@]/\%/${pkgbase#linux-libre}}") _replacesoldkernels=("${_replacesoldkernels[@]/\%/${pkgbase#linux-libre}}") @@ -180,16 +179,13 @@ prepare() { make olddefconfig make -s kernelrelease > version - echo "Prepared %s version %s" "$pkgbase" "$(<version)" + echo "Prepared $pkgbase version $(<version)" } build() { cd $_srcname - if [ "$CARCH" = "armv7h" ]; then - make zImage modules htmldocs dtbs - else - make bzImage modules htmldocs - fi + make all + make htmldocs } _package() { @@ -209,9 +205,6 @@ _package() { local modulesdir="$pkgdir/usr/lib/modules/$kernver" echo "Installing boot image..." - if [ "$CARCH" = "armv7h" ]; then - make INSTALL_DTBS_PATH="$pkgdir/boot/dtbs/$pkgbase" dtbs_install - fi # systemd expects to find the kernel here to allow hibernation # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344 install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz" @@ -225,10 +218,12 @@ _package() { # remove build and source links rm "$modulesdir"/{source,build} - # armv7h presets only work with ALL_kver=$kernver if [ "$CARCH" = "armv7h" ]; then - backup=("etc/mkinitcpio.d/$pkgbase.preset") + echo "Installing device tree binaries..." + make INSTALL_DTBS_PATH="$pkgdir/boot/dtbs/$pkgbase" dtbs_install + # armv7h presets only work with ALL_kver=$kernver + backup=("etc/mkinitcpio.d/$pkgbase.preset") echo "Installing mkinitcpio preset..." sed "s|%PKGBASE%|$pkgbase|g;s|%KERNVER%|$kernver|g" ../linux-armv7h.preset \ | install -Dm644 /dev/stdin "$pkgdir/etc/mkinitcpio.d/$pkgbase.preset" @@ -296,7 +291,7 @@ _package-headers() { rm -r "$builddir/Documentation" # Parabola changes - # + # # since we don't want to diverge too much from Arch's PKGBUILD, we'll # start marking our changes as such if [ "$CARCH" = "armv7h" ]; then |