diff options
author | Kyle Devir | 2019-10-30 20:47:29 +1000 |
---|---|---|
committer | Kyle Devir | 2019-10-30 20:47:29 +1000 |
commit | eecb48578272341d8d38e6630055a96207173804 (patch) | |
tree | 4799dd1e2f17991a477eca210930a5e0e7eb60ca | |
parent | 6d71851fc584bdfc1be4694c2bf9ed875e81ccbb (diff) | |
download | aur-eecb48578272341d8d38e6630055a96207173804.tar.gz |
Sync with vanilla Arch kernel changes
-rwxr-xr-x | .SRCINFO | 26 | ||||
-rw-r--r-- | 60-linux.hook | 11 | ||||
-rw-r--r-- | 90-linux.hook | 11 | ||||
-rwxr-xr-x | PKGBUILD | 49 | ||||
-rw-r--r-- | linux.install | 12 | ||||
-rw-r--r-- | linux.preset | 14 |
6 files changed, 19 insertions, 104 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-bcachefs-git - pkgver = 5.2.21.arch1.r844571.5e3567bd1f52 + pkgver = 5.2.21.arch1.r844589.e96bfb9bc2c1 pkgrel = 1 url = https://github.com/koverstreet/bcachefs arch = x86_64 @@ -9,48 +9,40 @@ pkgbase = linux-bcachefs-git makedepends = inetutils makedepends = bc makedepends = libelf - makedepends = git makedepends = python-sphinx makedepends = python-sphinx_rtd_theme makedepends = graphviz makedepends = imagemagick + makedepends = git options = !strip source = git+https://github.com/koverstreet/bcachefs#branch=master source = git+https://github.com/graysky2/kernel_gcc_patch source = config - source = 60-linux.hook - source = 90-linux.hook - source = linux.preset validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E sha512sums = SKIP sha512sums = SKIP sha512sums = d9519955c66275dbb8a1b056eb799b97387fab4cadb96de3a400cef7ec39f6a3ad0228c6deb24401f4ad65ffb6ed6173b27f453a1edf9c5e2a36c3a46851d4a8 - sha512sums = 6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1 - sha512sums = 2718b58dbbb15063bacb2bde6489e5b3c59afac4c0e0435b97fe720d42c711b6bcba926f67a8687878bd51373c9cf3adb1915a11666d79ccb220bf36e0788ab7 - sha512sums = 2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf pkgname = linux-bcachefs-git pkgdesc = The Linux-bcachefs-git kernel and modules ~ featuring Kent Overstreet's bcachefs filesystem - install = linux.install depends = coreutils depends = kmod depends = initramfs 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.21.arch1.r844571.5e3567bd1f52 - backup = etc/mkinitcpio.d/linux-bcachefs-git.preset + provides = linux-bcachefs-git=5.2.21.arch1.r844589.e96bfb9bc2c1 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.21.arch1.r844571.5e3567bd1f52 - provides = linux-bcachefs-git-headers=5.2.21.arch1.r844571.5e3567bd1f52 - provides = linux-headers=5.2.21.arch1.r844571.5e3567bd1f52 + depends = linux-bcachefs-git=5.2.21.arch1.r844589.e96bfb9bc2c1 + provides = linux-bcachefs-git-headers=5.2.21.arch1.r844589.e96bfb9bc2c1 + provides = linux-headers=5.2.21.arch1.r844589.e96bfb9bc2c1 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.21.arch1.r844571.5e3567bd1f52 - provides = linux-bcachefs-git-docs=5.2.21.arch1.r844571.5e3567bd1f52 - provides = linux-docs=5.2.21.arch1.r844571.5e3567bd1f52 + depends = linux-bcachefs-git=5.2.21.arch1.r844589.e96bfb9bc2c1 + provides = linux-bcachefs-git-docs=5.2.21.arch1.r844589.e96bfb9bc2c1 + provides = linux-docs=5.2.21.arch1.r844589.e96bfb9bc2c1 diff --git a/60-linux.hook b/60-linux.hook deleted file mode 100644 index 584ce35372b0..000000000000 --- a/60-linux.hook +++ /dev/null @@ -1,11 +0,0 @@ -[Trigger] -Type = File -Operation = Install -Operation = Upgrade -Operation = Remove -Target = usr/lib/modules/%KERNVER%/* - -[Action] -Description = Updating %PKGBASE% module dependencies... -When = PostTransaction -Exec = /usr/bin/depmod %KERNVER% diff --git a/90-linux.hook b/90-linux.hook deleted file mode 100644 index fca45abe1a62..000000000000 --- a/90-linux.hook +++ /dev/null @@ -1,11 +0,0 @@ -[Trigger] -Type = File -Operation = Install -Operation = Upgrade -Target = usr/lib/modules/%KERNVER%/vmlinuz -Target = usr/lib/initcpio/* - -[Action] -Description = Updating %PKGBASE% initcpios... -When = PostTransaction -Exec = /usr/bin/mkinitcpio -p %PKGBASE% @@ -1,7 +1,5 @@ # Maintainer: Kyle De'Vir (QuartzDragon) <kyle[dot]devir[at]mykolab[dot]com> # Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> -# Contributor: Tobias Powalowski <tpowa@archlinux.org> -# Contributor: Thomas Baechler <thomas@archlinux.org> ### BUILD OPTIONS # Set these variables to ANYTHING that is not null to enable them @@ -52,7 +50,7 @@ _subarch= # Compile ONLY used modules to VASTLY reduce the number of modules built # and the build time. -# +# # To keep track of which modules are needed for your specific system/hardware, # give module_db script a try: https://aur.archlinux.org/packages/modprobed-db # This PKGBUILD read the database kept if it exists @@ -61,11 +59,11 @@ _subarch= _localmodcfg= pkgbase=linux-bcachefs-git -_srcver_tag=5.2.21-arch1 -pkgver=5.2.21.arch1.r844571.5e3567bd1f52 +pkgver=5.2.21.arch1.r844589.e96bfb9bc2c1 pkgrel=1 -arch=(x86_64) +_srcver_tag=5.2.21-arch1 url="https://github.com/koverstreet/bcachefs" +arch=(x86_64) license=(GPL2) makedepends=( xmlto @@ -73,11 +71,11 @@ makedepends=( inetutils bc libelf - git python-sphinx python-sphinx_rtd_theme graphviz imagemagick + git ) options=('!strip') @@ -94,9 +92,6 @@ source=( "git+$_repo_url#branch=master" "git+$_repo_url_gcc_patch" config # the main kernel config file - 60-linux.hook # pacman hook for depmod - 90-linux.hook # pacman hook for initramfs regeneration - linux.preset # standard config files for mkinitcpio ramdisk ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds @@ -104,13 +99,11 @@ validpgpkeys=( ) sha512sums=('SKIP' 'SKIP' - 'd9519955c66275dbb8a1b056eb799b97387fab4cadb96de3a400cef7ec39f6a3ad0228c6deb24401f4ad65ffb6ed6173b27f453a1edf9c5e2a36c3a46851d4a8' - '6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1' - '2718b58dbbb15063bacb2bde6489e5b3c59afac4c0e0435b97fe720d42c711b6bcba926f67a8687878bd51373c9cf3adb1915a11666d79ccb220bf36e0788ab7' - '2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf') + 'd9519955c66275dbb8a1b056eb799b97387fab4cadb96de3a400cef7ec39f6a3ad0228c6deb24401f4ad65ffb6ed6173b27f453a1edf9c5e2a36c3a46851d4a8') -_kernelname=${pkgbase#linux} -: ${_kernelname:=-ARCH} +export KBUILD_BUILD_HOST=archlinux +export KBUILD_BUILD_USER=$pkgbase +export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH:-$(date +%s)}" pkgver() { cd "$_reponame" @@ -123,7 +116,7 @@ prepare() { msg2 "Setting version..." scripts/setlocalversion --save-scmversion echo "-$pkgrel" > localversion.10-pkgrel - echo "$_kernelname" > localversion.20-pkgname + echo "${pkgbase#linux}" > localversion.20-pkgname msg2 "Adding patches from Linux upstream kernel repository..." git remote add upstream_stable "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" || true @@ -206,8 +199,6 @@ _package() { "linux-firmware: firmware images needed for some devices" ) provides=("$pkgbase=$pkgver") - backup=("etc/mkinitcpio.d/$pkgbase.preset") - install=linux.install cd $_reponame local kernver="$(<version)" @@ -217,7 +208,6 @@ _package() { # 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" - install -Dm644 "$modulesdir/vmlinuz" "$pkgdir/boot/vmlinuz-$pkgbase" # Used by mkinitcpio to name the kernel echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" @@ -228,25 +218,6 @@ _package() { # remove build and source links rm "$modulesdir"/{source,build} - msg2 "Installing hooks..." - # sed expression for following substitutions - local subst=" - s|%PKGBASE%|$pkgbase|g - s|%KERNVER%|$kernver|g - " - - # hack to allow specifying an initially nonexisting install file - sed "$subst" "$startdir/$install" > "$startdir/$install.pkg" - true && install=$install.pkg - - # fill in mkinitcpio preset and pacman hooks - sed "$subst" ../linux.preset | install -Dm644 /dev/stdin \ - "$pkgdir/etc/mkinitcpio.d/$pkgbase.preset" - sed "$subst" ../60-linux.hook | install -Dm644 /dev/stdin \ - "$pkgdir/usr/share/libalpm/hooks/60-$pkgbase.hook" - sed "$subst" ../90-linux.hook | install -Dm644 /dev/stdin \ - "$pkgdir/usr/share/libalpm/hooks/90-$pkgbase.hook" - msg2 "Fixing permissions..." chmod -Rc u=rwX,go=rX "$pkgdir" } diff --git a/linux.install b/linux.install deleted file mode 100644 index 43b8071cf8a4..000000000000 --- a/linux.install +++ /dev/null @@ -1,12 +0,0 @@ -post_upgrade() { - if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then - echo "WARNING: /boot appears to be a separate partition but is not mounted." - fi -} - -post_remove() { - rm -f boot/initramfs-%PKGBASE%.img - rm -f boot/initramfs-%PKGBASE%-fallback.img -} - -# vim:set ft=sh ts=8 sts=2 sw=2 et: diff --git a/linux.preset b/linux.preset deleted file mode 100644 index 66709a8c1537..000000000000 --- a/linux.preset +++ /dev/null @@ -1,14 +0,0 @@ -# mkinitcpio preset file for the '%PKGBASE%' package - -ALL_config="/etc/mkinitcpio.conf" -ALL_kver="/boot/vmlinuz-%PKGBASE%" - -PRESETS=('default' 'fallback') - -#default_config="/etc/mkinitcpio.conf" -default_image="/boot/initramfs-%PKGBASE%.img" -#default_options="" - -#fallback_config="/etc/mkinitcpio.conf" -fallback_image="/boot/initramfs-%PKGBASE%-fallback.img" -fallback_options="-S autodetect" |