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
923 B
Text
32 lines
923 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-cedric
|
|
pkgdesc="Motorola Moto G5"
|
|
pkgver=0.1
|
|
pkgrel=11
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-motorola-cedric 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="Wifi firmware"
|
|
depends="firmware-motorola-cedric"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
7e932688c61dbd79ae9efd5fb7ddab58b77d7760358a08e96d5998f30bb4f7740bf52df83ab2faffbf4e809197286c00ce7be8a94d870c8513cecb6072898716 deviceinfo
|
|
b1eed94a800e7adca79fa716cfa4cc0da550b807a8b58d150900713073e289848002a6346dd2b89e939f0660e24bc982b95c5eafbd778373714f4d78e97e856c initfs-hook.sh
|
|
"
|