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
33 lines
955 B
Text
33 lines
955 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-perry
|
|
pkgdesc="Motorola Moto E4"
|
|
pkgver=0.1
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-motorola-perry mkbootimg msm-fb-refresher mdss-fb-init-hack"
|
|
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-perry-wcnss wcnss-wlan"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
9470782b0358a9a950cdce7aa406d54c2d0015d136db7b1c4fa8c08a9d8d57e749eeaa76d7d8a27a6973c2b86786ee2b452438d6d400b75636bb793ee0446526 deviceinfo
|
|
f33e8f7287659bcf738397f8f09bb51666820362dffd2c1dbb9afd28640ba22cc5e8f714ffbb1e0913d913fffdc95191cef38f933cfa77b15466ac633ab92d95 initfs-hook.sh
|
|
"
|