summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Devir2019-10-12 08:26:10 +1000
committerKyle Devir2019-10-12 08:26:10 +1000
commit6d71851fc584bdfc1be4694c2bf9ed875e81ccbb (patch)
tree67e3aa98a012f3988d5f0b9447a3164434bdb1ef
parentb8d9a5632f993301314d6324b44a28fde327a67c (diff)
downloadaur-6d71851fc584bdfc1be4694c2bf9ed875e81ccbb.tar.gz
5.2.21-arch1, sync with vanilla Arch kernel PKGBUILD
-rwxr-xr-x.SRCINFO18
-rw-r--r--60-linux.hook1
-rwxr-xr-xPKGBUILD35
3 files changed, 20 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 99dcd7304588..415c0745f2a9 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = linux-bcachefs-git
- pkgver = 5.2.20.arch1.r844550.2df3501f6873
+ pkgver = 5.2.21.arch1.r844571.5e3567bd1f52
pkgrel = 1
url = https://github.com/koverstreet/bcachefs
arch = x86_64
@@ -26,7 +26,7 @@ pkgbase = linux-bcachefs-git
sha512sums = SKIP
sha512sums = SKIP
sha512sums = d9519955c66275dbb8a1b056eb799b97387fab4cadb96de3a400cef7ec39f6a3ad0228c6deb24401f4ad65ffb6ed6173b27f453a1edf9c5e2a36c3a46851d4a8
- sha512sums = 7ad5be75ee422dda3b80edd2eb614d8a9181e2c8228cd68b3881e2fb95953bf2dea6cbe7900ce1013c9de89b2802574b7b24869fc5d7a95d3cc3112c4d27063a
+ sha512sums = 6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1
sha512sums = 2718b58dbbb15063bacb2bde6489e5b3c59afac4c0e0435b97fe720d42c711b6bcba926f67a8687878bd51373c9cf3adb1915a11666d79ccb220bf36e0788ab7
sha512sums = 2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf
@@ -39,18 +39,18 @@ pkgname = linux-bcachefs-git
depends = bcachefs-tools-git
optdepends = crda: to set the correct wireless channels of your country
optdepends = linux-firmware: firmware images needed for some devices
- provides = linux-bcachefs-git=5.2.20.arch1.r844550.2df3501f6873
+ provides = linux-bcachefs-git=5.2.21.arch1.r844571.5e3567bd1f52
backup = etc/mkinitcpio.d/linux-bcachefs-git.preset
pkgname = linux-bcachefs-git-headers
pkgdesc = Header files and scripts for building modules for Linux-bcachefs-git kernel ~ featuring Kent Overstreet's bcachefs filesystem
- depends = linux-bcachefs-git=5.2.20.arch1.r844550.2df3501f6873
- provides = linux-bcachefs-git-headers=5.2.20.arch1.r844550.2df3501f6873
- provides = linux-headers=5.2.20.arch1.r844550.2df3501f6873
+ depends = linux-bcachefs-git=5.2.21.arch1.r844571.5e3567bd1f52
+ provides = linux-bcachefs-git-headers=5.2.21.arch1.r844571.5e3567bd1f52
+ provides = linux-headers=5.2.21.arch1.r844571.5e3567bd1f52
pkgname = linux-bcachefs-git-docs
pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-bcachefs-git kernel ~ featuring Kent Overstreet's bcachefs filesystem
- depends = linux-bcachefs-git=5.2.20.arch1.r844550.2df3501f6873
- provides = linux-bcachefs-git-docs=5.2.20.arch1.r844550.2df3501f6873
- provides = linux-docs=5.2.20.arch1.r844550.2df3501f6873
+ depends = linux-bcachefs-git=5.2.21.arch1.r844571.5e3567bd1f52
+ provides = linux-bcachefs-git-docs=5.2.21.arch1.r844571.5e3567bd1f52
+ provides = linux-docs=5.2.21.arch1.r844571.5e3567bd1f52
diff --git a/60-linux.hook b/60-linux.hook
index b33873c854fb..584ce35372b0 100644
--- a/60-linux.hook
+++ b/60-linux.hook
@@ -4,7 +4,6 @@ Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/%KERNVER%/*
-Target = usr/lib/modules/%EXTRAMODULES%/*
[Action]
Description = Updating %PKGBASE% module dependencies...
diff --git a/PKGBUILD b/PKGBUILD
index 50b958b3e39c..e96d68cd7111 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,8 +61,8 @@ _subarch=
_localmodcfg=
pkgbase=linux-bcachefs-git
-_srcver_tag=5.2.20-arch1
-pkgver=5.2.20.arch1.r844550.2df3501f6873
+_srcver_tag=5.2.21-arch1
+pkgver=5.2.21.arch1.r844571.5e3567bd1f52
pkgrel=1
arch=(x86_64)
url="https://github.com/koverstreet/bcachefs"
@@ -105,7 +105,7 @@ validpgpkeys=(
sha512sums=('SKIP'
'SKIP'
'd9519955c66275dbb8a1b056eb799b97387fab4cadb96de3a400cef7ec39f6a3ad0228c6deb24401f4ad65ffb6ed6173b27f453a1edf9c5e2a36c3a46851d4a8'
- '7ad5be75ee422dda3b80edd2eb614d8a9181e2c8228cd68b3881e2fb95953bf2dea6cbe7900ce1013c9de89b2802574b7b24869fc5d7a95d3cc3112c4d27063a'
+ '6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1'
'2718b58dbbb15063bacb2bde6489e5b3c59afac4c0e0435b97fe720d42c711b6bcba926f67a8687878bd51373c9cf3adb1915a11666d79ccb220bf36e0788ab7'
'2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf')
@@ -179,8 +179,8 @@ prepare() {
# do not run 'make olddefconfig' as it sets default options
yes "" | make config >/dev/null
- make -s kernelrelease > ../version
- msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)"
+ make -s kernelrelease > version
+ msg2 "Prepared %s version %s" "$pkgbase" "$(<version)"
[[ -z "$_makenconfig" ]] || make nconfig
@@ -209,11 +209,10 @@ _package() {
backup=("etc/mkinitcpio.d/$pkgbase.preset")
install=linux.install
+ cd $_reponame
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
- cd $_reponame
-
msg2 "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
@@ -226,13 +225,6 @@ _package() {
msg2 "Installing modules..."
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
- # a place for external modules,
- # with version file for building modules and running depmod from hook
- local extramodules="extramodules$_kernelname"
- local extradir="$pkgdir/usr/lib/modules/$extramodules"
- install -Dt "$extradir" -m644 ../version
- ln -sr "$extradir" "$modulesdir/extramodules"
-
# remove build and source links
rm "$modulesdir"/{source,build}
@@ -241,7 +233,6 @@ _package() {
local subst="
s|%PKGBASE%|$pkgbase|g
s|%KERNVER%|$kernver|g
- s|%EXTRAMODULES%|$extramodules|g
"
# hack to allow specifying an initially nonexisting install file
@@ -268,12 +259,12 @@ _package-headers() {
"linux-headers=$pkgver"
)
- local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
-
cd $_reponame
+ local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
msg2 "Installing build files..."
- install -Dt "$builddir" -m644 Makefile .config Module.symvers System.map vmlinux
+ install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
+ localversion.* version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
cp -t "$builddir" -a scripts
@@ -284,9 +275,6 @@ _package-headers() {
# add xfs and shmem for aufs building
mkdir -p "$builddir"/{fs/xfs,mm}
- # ???
- mkdir "$builddir/.tmp_versions"
-
msg2 "Installing headers..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/x86" -a arch/x86/include
@@ -340,7 +328,7 @@ _package-headers() {
msg2 "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
- ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase-$pkgver"
+ ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
@@ -354,9 +342,8 @@ _package-docs() {
"linux-docs=$pkgver"
)
- local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
-
cd $_reponame
+ local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
msg2 "Installing documentation..."
mkdir -p "$builddir"