Skip to content

Commit

Permalink
core/linux-odroid-xu3: Add conflicts/replaces for linux-odroid-n2
Browse files Browse the repository at this point in the history
"Yes, we are using odroid-6.6.y for C4 Series, N2 Series and XU4."
  • Loading branch information
polyzen committed Jul 17, 2024
1 parent cc7a5b5 commit 24a074b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/linux-odroid-xu3/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgbase=linux-odroid-xu3
_commit=30c3784c60265b33a78b7c369fe6f25d2525fb4b
_srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="ODROID-XU3/XU4/HC1"
_desc="ODROID-XU3/XU4/HC1/C4/N2"
pkgver=6.6.40
pkgrel=1
arch=('armv7h')
Expand Down Expand Up @@ -48,7 +48,8 @@ _package() {
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('wireless-regdb: to set the correct wireless channels of your country')
provides=("linux=${pkgver}" "WIREGUARD-MODULE")
conflicts=('linux')
conflicts=('linux' 'linux-odroid-n2')
replaces=('linux-odroid-n2')
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=${pkgname}.install

Expand Down Expand Up @@ -85,7 +86,8 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
provides=("linux-headers=${pkgver}")
conflicts=('linux-headers')
conflicts=('linux-headers' 'linux-odroid-n2-headers')
replaces=('linux-odroid-n2-headers')

cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
Expand Down

0 comments on commit 24a074b

Please sign in to comment.