main/postmarketos-update-depthcharge-kernel: use source_deviceinfo (MR 4129)

This commit is contained in:
Newbyte 2023-05-29 15:11:20 +02:00
parent 14bc7fe038
commit 35129cb2c7
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 4 additions and 5 deletions

View file

@ -1,10 +1,10 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=postmarketos-update-depthcharge-kernel
pkgver=2
pkgver=2.1
pkgrel=0
pkgdesc="depthcharge kernel updater script for postmarketOS"
url="https://postmarketos.org"
depends="util-linux-misc"
depends="devicepkg-utils util-linux-misc"
source="update-depthcharge-kernel.sh"
arch="noarch"
license="GPL-3.0-or-later"
@ -15,5 +15,5 @@ package() {
}
sha512sums="
a30bcbafd16e365ffd4f43718575076e06bf641ed505982a2ce6f03d2a398a9695144b5cd4d69762bdbad79c7e9b1e1c71ccb8dc1ee224d731d30d0c7b366863 update-depthcharge-kernel.sh
bbd131d5d4d377ac15aae9a975a7be17f347fb2b459d33a5aa91702483d113874866c455a7f894262ab0b568bf3a912cd30e1018f64beac6d0e647db2baf9eae update-depthcharge-kernel.sh
"

View file

@ -6,8 +6,7 @@ set -e
# Declare used deviceinfo variables to pass shellcheck
deviceinfo_cgpt_kpart=""
# shellcheck disable=SC1091
. /etc/deviceinfo
. /usr/share/misc/source_deviceinfo
# shellcheck disable=SC2013
for x in $(cat /proc/cmdline); do