Skip to content

Commit

Permalink
update: linux-sm8250
Browse files Browse the repository at this point in the history
  • Loading branch information
silime committed Sep 28, 2024
1 parent 95ee725 commit 5c5b938
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 222 deletions.
22 changes: 12 additions & 10 deletions linux-sm8250/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _srcname=linux-${_commit}

_kernelname=${pkgbase#linux}
_desc="Qualcomm Snapdragon 865 (SM8250) 64-bit kernel (release candidate branch)"
pkgver=${_rcver}.rc${_rcrel}
pkgver=${_rcver}
#pkgver=${_rcver}
pkgrel=1
arch=('aarch64')
Expand All @@ -23,15 +23,17 @@ options=('!strip')
source=("https://github.com/silime/linux/archive/${_commit}.tar.gz"
'linux-sm8250.preset'
'linux-sm8250.install'
# '60-linux.hook'
# '90-linux.hook'
'60-linux.hook'
'90-linux.hook'
'config'
)

md5sums=('SKIP'
'86d4a35722b5410e3b29fc92dae15d4b'
'a46f336d5c5088d47d7fa6b0eb6b3522'
'c6f0be5aa8bdb00dfc91f46109c249c9')
'ce6c81ad1ad1f8b333fd6077d47abdaf'
'1836528ba0a45595a209b6ac10e97d30'
'907282e0eff782ddcdb9fa9c3df9297b')

prepare() {
cd "${srcdir}/${_srcname}"
Expand Down Expand Up @@ -130,14 +132,14 @@ _package() {
install -Dm644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"

# install pacman hooks
# 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"
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"
# rather than use another hook (90-linux.hook) rely on mkinitcpio's 90-mkinitcpio-install.hook
# which avoids a double run of mkinitcpio that can occur
install -d "${pkgdir}/usr/lib/firmware/"
echo "dummy file to trigger mkinitcpio to run" > "${pkgdir}/usr/lib/firmware/${_kernver}"
# install -d "${pkgdir}/usr/lib/firmware/"
# echo "dummy file to trigger mkinitcpio to run" > "${pkgdir}/usr/lib/firmware/${_kernver}"
}

_package-headers() {
Expand Down
Loading

0 comments on commit 5c5b938

Please sign in to comment.