summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-10-17 13:08:53 +0200
committerKarel Kočí <cynerd@email.cz>2020-10-17 13:08:53 +0200
commit355815e5fc0c344aa00b6fe746196f9d9ceaf430 (patch)
treebc00ab96b1b15384eb1c0a6fc310b372a6c90480 /sys-kernel
parent86a6c734e9bb9a972c25e459b561494d21474fda (diff)
downloadgentoo-personal-overlay-355815e5fc0c344aa00b6fe746196f9d9ceaf430.tar.gz
gentoo-personal-overlay-355815e5fc0c344aa00b6fe746196f9d9ceaf430.tar.bz2
gentoo-personal-overlay-355815e5fc0c344aa00b6fe746196f9d9ceaf430.zip
sys-kernel/linux: update to 5.8.16 and multiple tweaks
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux/Manifest2
-rw-r--r--sys-kernel/linux/linux-5.8.16-r1.ebuild (renamed from sys-kernel/linux/linux-5.8.12-r1.ebuild)10
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-kernel/linux/Manifest b/sys-kernel/linux/Manifest
index 61d2a40..e3dbe23 100644
--- a/sys-kernel/linux/Manifest
+++ b/sys-kernel/linux/Manifest
@@ -1 +1 @@
-DIST linux-5.8.12.tar.gz 180901533 BLAKE2B e6c459e135257e634e94dff35fcef4c95a2ea11fd65fb10827e37734fc48b7d59972fe8f9aa14d4b1452b544262f705aac06a505493551c7f9cb881f46ed33dc SHA512 3f8b1ded7d48a348c4cda191922931514488c9e6f958d3b6dcdde67ad00df13b3aa1c5edaf73d36f0044fa20b1e9062f74d683837412e657e0a845dcbbbec889
+DIST linux-5.8.16.tar.gz 180925207 BLAKE2B 9801a6c1aad50504174825fae563d710d3d699073cb34cab799ce3da0ab688149fa37fc9febc7fd1f828a11d684988e2ffbace91e8cc81e2284097961dd917dd SHA512 aef4988fb1a9ce5035b5049d826747c0fc72bf911dd3e782d80869acf14d6679dddc0618413fe7538477548361940e8642b654764f8b7fb9d0eb0d87d1923e60
diff --git a/sys-kernel/linux/linux-5.8.12-r1.ebuild b/sys-kernel/linux/linux-5.8.16-r1.ebuild
index 55ebb88..dbd4530 100644
--- a/sys-kernel/linux/linux-5.8.12-r1.ebuild
+++ b/sys-kernel/linux/linux-5.8.16-r1.ebuild
@@ -32,7 +32,8 @@ src_configure() {
}
src_install() {
- emake modules_install INSTALL_MOD_PATH="${D}" INSTALL_FW_PATH="${D}/lib/firmware/${PV}"
+ emake modules_install INSTALL_MOD_PATH="${D}"
+ ln -sf "../../../usr/src/${P}" "${D}/lib/modules/${PV}/"{build,source}
dodir /boot
insinto /boot
@@ -41,7 +42,7 @@ src_install() {
# Package source (kind of annoying because of some packages expecting it)
emake clean
dodir /usr/src
- cp -a "${S}" "${D}/usr/src/linux-${PV}"
+ cp -a "${S}" "${D}/usr/src/${P}"
}
# Link /usr/src/linux to newest kernel
@@ -95,5 +96,10 @@ pkg_prerm() {
}
pkg_postrm() {
+ # Remove any residue files
+ rm -rf "/usr/src/${P}" "/lib/modules/${PV}"
+}
+
+pkg_postrm() {
src_link
}