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
943 B
Text
32 lines
943 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-montana
|
|
pkgdesc="Motorola Moto G5s"
|
|
pkgver=0.3
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-motorola-montana mkbootimg msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-motorola-montana-wcnss wcnss-wlan"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2d0dede26ec9495480cc8fe1684fbe3ae07af6b490f6ef54dfc93f99da34466475591601f065b9410c0a89865b5510115ed7cb44c022209c6e2d73d8db8a4f9e deviceinfo
|
|
97acac2557914cc234d75dd9869338e0eac13196649a661c59caa52b8953c4170a2fa2fbc9ee5518935c325d779b45d6c179c71474366b1200a4bd1e5172a882 initfs-hook.sh
|
|
"
|