pmaports/device/testing/device-motorola-athene/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

25 lines
761 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-athene
pkgdesc="Motorola Moto G4"
pkgver=0.1
pkgrel=13
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-athene mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
94c196182c3f85363fcaa4719535f93dc7297c04274ea22aee78a9e10142591afdf9c709d84482009aee3be1852138ff48ad08e9d4b6274ba5fd4056897ac4cb deviceinfo
c6764223c9c19a71a8bcbf86bf738a13ed01e318cd8b5ad7aa521f27cc85d78f469d92f5725767fe507ef6338f20dbc107ed3fc5811e465c8335df57437d877e initfs-hook.sh
"