pmaports/device/testing/device-vernee-k506/APKBUILD
Przemysław Romanik d7c036b978
testing/device-many: rebuild to fix wrong initfs-hook.sh location (MR 4187)
postmarketos-mkinitfs!30 and specifically postmarketos-mkinitfs@6fdc8937,
changes expected hooks location from /etc/postmarketos-mkinitfs/hooks
to /etc/mkinitfs/hooks, and another commit pushed later adds
/usr/share/mkinitfs/hooks to expected directories. This more or less
breaks new pmOS installs done by running pmbootstrap install on edge branch,
which pull current (2023-06-17T16:57+02:00) device-* packages from
https://mirror.postmarketos.org/postmarketos/master.
Many of those packages which included initfs-hook.sh no longer work in that
case, because they had those hooks in old location, which isn't used
by latest postmarketos-mkinitfs.

Rebuilding the affected packages solves the issue.

[ci:ignore-count]

[ci:skip-build]: already built successfully in CI
2023-06-19 17:00:28 +02:00

34 lines
917 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-vernee-k506
pkgdesc="Vernee Thor"
pkgver=0.1
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-vernee-k506 mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="SoC firmware (WiFi, BT, GPS, Modem, FM)"
depends="firmware-vernee-k506"
mkdir "$subpkgdir"
}
sha512sums="
9918435ef9e9a8905b088c814de161fb6a0f68bca8c017ceea568a8d1c4133bfb865595fd365db1b04c1ee896e2b4451ecf6eb209148257757089fd492667f7b deviceinfo
50d6784e6af1dce2e6ba18993f5c50ba88fc8a6521bfe15667dd5beddb4c948f59bb800e18b977fb86c93c37105010ce6c20f88405e73a03449ee3226aa14466 initfs-hook.sh
"