summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/linux-libre/PKGBUILD70
1 files changed, 31 insertions, 39 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 0a5bcf952..99d571c8a 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -12,8 +12,8 @@
pkgbase=linux-libre # Build stock kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
-_pkgbasever=4.16-gnu
-_pkgver=4.16.14-gnu
+_pkgbasever=4.17-gnu
+_pkgver=4.17.2-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=() # '%' gets replaced with _kernelname
@@ -23,7 +23,7 @@ _srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
pkgrel=1
-rcnrel=armv7-x0
+rcnrel=armv7-x3
arch=('i686' 'x86_64' 'armv7h')
url="https://linux-libre.fsfla.org/"
license=('GPL2')
@@ -58,20 +58,19 @@ source=(
'0012-ARM-dts-imx6qdl-udoo.dtsi-fix-onboard-USB-HUB-proper.patch'
'0013-ARM-dts-imx6q-evi-Fix-onboard-hub-reset-line.patch'
# other patches
- 'change-console-loglevel-motormouth.patch'
'0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch'
'0002-fix-Atmel-maXTouch-touchscreen-support.patch'
'0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch'
- '0002-ACPI-watchdog-Prefer-iTCO_wdt-on-Lenovo-Z50-70.patch'
- '0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch'
+ '0002-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch'
+ '0003-ACPI-watchdog-Prefer-iTCO_wdt-always-when-WDAT-table.patch'
)
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
'6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P.
)
-sha512sums=('c6805b3649cd71cfef272384958b33da23a00908e795592470bf711dd67886ab7d7610e7d4ae8a2230fa7483466636465ed9744444464a078de37b41c3db23e0'
+sha512sums=('a09014005d64839e958cabb20dbd50e051907b1afea2f517f41f0a9312fa1bc8447690e64ec0e6488a778be8a7384891c003f39029ff5799f9884482628aadf2'
'SKIP'
- '0477d28082efc6afdd5c278ca12949b3338c11f5366797777c95affa0a1ea46812ece7f79ff43798c917bdf9b24c9d15bdf8fdd6f16f07ea243fc6e773b58114'
+ '3811c646b357e49f8e1c60635cd81ff530b08b4baa3e9d839dae55810cb3eb0118a7075c8866ec4a2e8a97f6ca8fa02bbb5fc176f4b9055d70e3a79bd69186f2'
'SKIP'
'13cb5bc42542e7b8bb104d5f68253f6609e463b6799800418af33eb0272cc269aaa36163c3e6f0aacbdaaa1d05e2827a4a7c4a08a029238439ed08b89c564bb3'
'SKIP'
@@ -79,33 +78,32 @@ sha512sums=('c6805b3649cd71cfef272384958b33da23a00908e795592470bf711dd67886ab7d7
'SKIP'
'7a3716bfe3b9f546da309c7492f3e08f8f506813afeb1c737a474c83313d5c313cf4582b65215c2cfce3b74d9d1021c96e8badafe8f6e5b01fe28d2b5c61ae78'
'SKIP'
- 'd8f4bf671d7227fcf447b2d6268565ea5cacf02c21fa36bbbc5995ef407fe381604096a76fbb40a95c1caba4158530408de207d48794133a9afbae098adf286b'
- '4e923155642ba1d9ed9e60de4a8a601526df58cab9a3b2d6c0bfae753d9a134a9f2f7dca8159bd09e67413f98d7515a9d36d8285737f706bbf10c376bb58e2ec'
- 'c183b7f21cc1fc6a991f1d8bb14d917b484fe2a6b536871925a7557eeae201e43bc624b14b176081b86184f1442e433126a49b7819f1f2087bc34b340e29b8fc'
+ '3372b76a7f63fb2a7baef4f94fe0e2eb03e1d56152acbed9b5cedf91957ae212a789094b5e27b77b9bece09ad707ed62154cd445aa26347d8131c69f89233d54'
+ 'a1b235f041b24ffd7b8778ac3fe8bf002c3c2cedc068554a527f1f06d6b13f7e28f60f62ece532435734eb6e470e6862f81062fc1b37034b79836b89e9cfce92'
+ 'd49616f2f56d7e244abc087e5dc9c3b11be71c6add93c48ceb614771c526ea4a8ad66c90f5740304b9c3603ec73015a0107af37dddba31fc0482b4d2420f1e2a'
'7ad5be75ee422dda3b80edd2eb614d8a9181e2c8228cd68b3881e2fb95953bf2dea6cbe7900ce1013c9de89b2802574b7b24869fc5d7a95d3cc3112c4d27063a'
'4a8b324aee4cccf3a512ad04ce1a272d14e5b05c8de90feb82075f55ea3845948d817e1b0c6f298f5816834ddd3e5ce0a0e2619866289f3c1ab8fd2f35f04f44'
'2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf'
- '65446112e83f5ce350faa6c686fed9db09bc56e9ea01630ad9fdfb2b7e7a5de1127abf8b2b3ef79705e7bee04ba5bc0366a3b7a058f0dc70082424d35445924b'
+ 'e48864992df4f40d828a5dc5cb5d35e520b9d498638f0e44d2c2c21dc9b0555d3d211e655cf15bd2e1f5d23594f8f380aa2d8a4293b0cdf4dc6c53020ba6d421'
'SKIP'
- 'e331035c3b6687ab8f8ddc35b77470b0abc58457790b78ce50ccf2c246ec16a05815a3f4a0107c0a1a7ee68317b984e51df66b22d76236f6d104eb7eb02db7c8'
- '04ffbd0e17a5d09ef7c02042b600b4903be5355e443ea168a6760a910eca0d4a11ef679fe9203cd2e59b0741e9405de7105d51e6e3c0713ecc0c08b212e7b39b'
- '5f077d9e74513014615c5d24a73e744bce8669bb5aa846b43434e29350a632bb3d07cde4aca123616e8056d8f3b12638e4222a5710a24de3d239aa83edae0e36'
- 'f21ad2ebaf68c5c6180a8de3dc81fa45e4fd627c03327d7eef9b298144be9eeadb7a4e2c971dc497560de10110327fac6362e1eb492380a3d65e39f349429053'
- '5a95e05920cdc9d2953f17f41d81bff3536b228e7758c7b5cad1433adf3ab014b12193cb51c6d6ae4abc18e9944ae62e83d08206450937072a287e11d68a3fb3'
- '44b1d791abdc4ac100d979dc2d8b7ce07116c97c0b39ee5a91c37c63365ac29041ada3ab3f3e2983ef9dc3372066ae8addff89f2e09afa728fa830b58d9ef3dd'
- 'a134d37c9eadba923f90e60142135ce10af9c3ed86117e9fb648f0c1ad9b8a159ea08ceac4f87968985af84c790e94ed0289ca888b7bd10d7cc7662717d4d02c'
- '42a91729e97bb31569c43858d1cfbfaa282c9ebf9d97baa438caaa6086f796e1b48423b29490a67f47c98167963b07c0cda61033324a740725b496c00d90c4be'
- 'ed5e4d84a0aceb9ebaebbd98a3155472a8def08ce8fc819106600a22584e86ab687c6cabc1fe6e29a1b64afa7a5044caeb6b135db37b4e9c277bfe3ba59ff378'
- '9ce3dc6960157d55b289f809203741563fbe8d8d5a8774fbc29d13a73168540a68f6d107d6a0a9a14a8d098215e91778e1e20be433985e5ea1c4998510208988'
- '1e718ff5fa0e047056ecdaa25d5c8c4b733a8e8681e9cd8f274d447ae46db8818db3c6c1339b638b6df8adbe97734133c0f37064e81857b9c48c1b10ba05e9bb'
- 'ab0ed8724eed15dad76de3174f7c8210f889079be6aea1d2eae164f08ffa49cc4d32ad9e514351a62b755ec7d6d925fb287b1d21e121405e48c19be411580a30'
- '6c3b29bd2ffea93bf6a5caff8f6be97a701aa8a40cbb07256f066d40505616096e029e0435ac03dce3a205704c250afdbbfaaa372870e3b3d96a3a482b1af8e5'
- '0a1a18aa8a6cbf1bab406d356786d2c35fe52608c25bef8beefe440b8a015ba59375106f8b04051ae2225e158420875a82ee07d5b88a2f2087afeb102e8966c0'
+ '8b946f1baa0ecbae0d70781ff67d9cc6ab4abbb8c5768bfd1fbf211de3a3d17f3b9c5a0e5bc588bd90a730051bdfb6b530ab2b30b8142e9adb33f84684b008fe'
+ '382ae823f4a1c9105ab9bae6a5d2871eba7f1a888da3a2acdb17cecdbe542613f2f27bb5aaab236d205593bebb57cd91cb7d3de9b70b837f35c3eeb96ace44e3'
+ '1f1826e3e1be079f6153e927151d3d0beaed5ed6b5032841d443f25d5af89c0c769d2ba00c5b95cb7338bc7bc04ea65a312116640431e7fbe17e9850f43df894'
+ '1c578fa28c25557b2ad647974330c4238f3bd70212bda23d1eac45ca7815b573768ec88d61c7d2b61e59d48f58d25883b2f862124b6bacafde754b8883d6cdb5'
+ '0be0572cee24d7d34782f8b0fb2e8597bd7ad1ccc2603e1fd7372f7e8cae9ba5f1e627aaa2960aa4f145032e2ddee11021a226bbcd1439c24a61cb66d82b13a6'
+ 'c0568844b4eae0ff56ff4293d075b4523ef69e75c2ee0349c3a5460c18a048bafad3f95bad957fc3692c43d7843354ee0603048d17d73c6ac0b97162e1c295c2'
+ 'dd889b8e64baef3f9fee6a75111f4e1c5c420a8c72e25d89ff0db765bd7fbbae985a7cc6327d8bdb80e32d59e7fca9dc2e0dee2c4811bfdbab32783ce29ea842'
+ 'a34fc71e4dccadba3bef57cdb5fddb8524771b095a437d0449bc76da031dcc40edb083209f25731b58478a2c713f7245676adfed22a453a74aa85cf245a76944'
+ '6cd12c8947a661fda1a1f0f1d84cfaa8d6f66300d4495a59131b7df1ed6b10ce21cddb3291d25f1ebb0798d9b711af68c18b46c34122425b21f946000ab743e8'
+ 'ae2432ade54b0a703473ed804a08fc6346bf20b427dd56d0bd188bf56398aee3dc61e3e7740353943a7928992073894215f222c24a46fe5440a2058567ba5452'
+ '09ee66f32cdc0d17a200e1f87175030a0180158840dec18be45f6329039f08100782a9f30af939a09f94fa4ab11739620c9993078555de5a5b1942affad3047f'
+ '9a2ef810d62c2120e6a662f4c58e4644dac83e6fd8317ce7d5641421b89ac60de117204e4fa4024c76a61db495a066802af37c21a9470c536b8d86ae0ac398ba'
+ '850e6b8684db4dd6946f69690caaa34a350228d3fed0e08b461835337250c78f511d064fb8fcd2003c5112e68fd9a66b61111c5e3ca4f53b80a0922d8d5f5fba'
'02af4dd2a007e41db0c63822c8ab3b80b5d25646af1906dc85d0ad9bb8bbf5236f8e381d7f91cf99ed4b0978c50aee37cb9567cdeef65b7ec3d91b882852b1af'
'b8fe56e14006ab866970ddbd501c054ae37186ddc065bb869cf7d18db8c0d455118d5bda3255fb66a0dde38b544655cfe9040ffe46e41d19830b47959b2fb168'
- '26619b938a47c841f0c480a113cfbb1ee6f1121c21dfecbe246c1f7af7697f86cfb8253f09966eab2e386734ce4ad156159babdba4365c2f199c369c3d7e8ee8'
- 'f6aed92697c35e7919a0d784185e7af15b6be2762e3dd235267ca9744a826ac693d0ffcb07b9d1cc8571f57d518c1ce1c276cf7677e8375188f05f71d4added0'
- 'cc8852b089aa24f588ad1af726503ecd1012ad7e1cbc47ea77f03a5f7aecd25306d40f2e16b8a1afeafe7e2e97b6b6840c9f462ed7be358090117e2e024df1bd')
+ 'b6133ce52c3a900d34db23568aaf5cdffab3d50b5e9c2008f1f7fcc650cb434101c718b5446e525ebe71050b0591d3be66ac930cf9986c906abcc3bfcf42f763'
+ '8ed1b4ef95120e9025299d9ae392cba49905bfcb29e3a1dfb9dd95a7925f25f52f57774b381410d70167cf2edef99271e7c12fac2b1aa4e9c8aa6655d150d22c'
+ 'cddf8e907b4fbb5935a5239dd5a2b788b3f3fa1f91825d5191d154434a62c4dc16f4ccffc2ea4c5446d0c69457a918f9a2ca6d817bae3ddd694df4b50ab3e89b')
_kernelname=${pkgbase#linux-libre}
_replacesarchkernel=("${_replacesarchkernel[@]/\%/${_kernelname}}")
@@ -158,11 +156,11 @@ prepare() {
# disable USER_NS for non-root users by default
patch -Np1 -i ../0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- # https://bugs.archlinux.org/task/56780
- patch -Np1 -i ../0002-ACPI-watchdog-Prefer-iTCO_wdt-on-Lenovo-Z50-70.patch
-
# https://bugs.archlinux.org/task/56711
- patch -Np1 -i ../0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
+ patch -Np1 -i ../0002-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
+
+ # https://bugs.archlinux.org/task/56780
+ patch -Np1 -i ../0003-ACPI-watchdog-Prefer-iTCO_wdt-always-when-WDAT-table.patch
# maintain the TTY over USB disconnects
# http://www.coreboot.org/EHCI_Gadget_Debug
@@ -173,12 +171,6 @@ prepare() {
# http://www.fsfla.org/pipermail/linux-libre/2015-November/003202.html
patch -p1 -i ../0002-fix-Atmel-maXTouch-touchscreen-support.patch
- if [ "${CARCH}" = "x86_64" ]; then
- # set CONSOLE_LOGLEVEL_MOTORMOUTH to 1
- # https://labs.parabola.nu/issues/1754
- patch -p1 -i ../change-console-loglevel-motormouth.patch
- fi
-
cat ../config.${CARCH} - >.config <<END
CONFIG_LOCALVERSION="${_kernelname}"
CONFIG_LOCALVERSION_AUTO=n