main/postmarketos-update-depthcharge-kernel: remove (MR 5045)

Was integrated into boot-deploy in
bd14f1be8d
As such, this package is redundant.
This commit is contained in:
Stefan Hansson 2024-04-18 12:09:57 +02:00
parent f8fdc70e70
commit 016986d4ac
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 0 additions and 39 deletions

View file

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

View file

@ -1,20 +0,0 @@
#!/bin/sh
# GPL-3.0-or-later
set -e
# Declare used deviceinfo variables to pass shellcheck
deviceinfo_cgpt_kpart=""
. /usr/share/misc/source_deviceinfo
# shellcheck disable=SC2013
for x in $(cat /proc/cmdline); do
[ "$x" = "${x#kern_guid=}" ] && continue
GUID="${x#kern_guid=}"
partition=$(findfs PARTUUID="$GUID")
echo "Flashing $deviceinfo_cgpt_kpart to $partition"
dd if="$deviceinfo_cgpt_kpart" of="$partition"
done
echo "Done."