Commit 71a36876 authored by Seblu's avatar Seblu
Browse files

Add linux-next support

parent a56a8ef3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -18,13 +18,15 @@ optdepends=(
install=linux-seblu.install
_main=https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
_stable=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
_next=https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
source=("git+$_stable#tag=v6.12-rc2"
        "config.$CARCH")
sha256sums=('23f8a1a6d972a16c7c267968b88f605fe3f6e1c1ccfdc8d66d3922415be2eeed'
            '8006b833cc27a5ff52603bed23cadfb05e8eefbaafe85a96f010911fd43c5298')

prepare() {
  [[ -d linux-stable ]] && ln -snf linux-stable linux
  [[ ! -d linux && -d linux-stable ]] && ln -snf linux-stable linux
  [[ ! -d linux && -d linux-next ]] && ln -snf linux-next linux
  cd linux

  # apply patch from the source array (should be a pacman feature)