d7c036b978
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
32 lines
909 B
Text
32 lines
909 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-oppo-find-7a
|
|
pkgdesc="OPPO Find 7a"
|
|
pkgver=0.1
|
|
pkgrel=11
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-oppo-find-7a mkbootimg msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Firmware blobs"
|
|
depends="firmware-oppo-find-7a"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
46728fea1aa8c5bc63bcaa0f75fd528f3af48f5a4336ac21cda0fbb7f100f5f657c21e23c4a393d80a1fda05b33727dd4436650c65937958336f0c8ba189356c deviceinfo
|
|
fe4ea91d89f4c1f93efed0bbee8b6ddadccaa2bf0623b15fb598758dfe1fa347aaf3d60b4a67e270a1716ffaae98c158ea6d574d0ca2e4895c7ee768c357abdc initfs-hook.sh
|
|
"
|