This migrates all device package to the new system, which is documented here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html. It also replaces old initramfs params (PMOS_NOSPLASH and PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern equivalents, so we can finally get rid of those. Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org> [ci:skip-build]: already built successfully in CI Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-amazon-tate
|
|
pkgdesc="Amazon Kindle Fire HD (2nd Generation)"
|
|
pkgver=4
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
postmarketos-base
|
|
linux-amazon-tate
|
|
mkbootimg
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
kernel-cmdline.conf
|
|
initfs-hook.sh
|
|
amazon-omap-boot-hack.sh
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm755 "$srcdir/amazon-omap-boot-hack.sh" "$pkgdir/usr/share/mkinitfs/amazon-omap-boot-hack.sh"
|
|
}
|
|
|
|
sha512sums="
|
|
6899402bad9d6a72263250dcb478e1357b0cbc158eaa5b967e8425ab9332c05eadacfbbd915a027e77970fa2f929e3da81eb133a7cafb45a691fecf362ab3c5e deviceinfo
|
|
a66093ae8e2ba216bdf0ad727f96d8350545bbfb161b0a425c5556cede2ac281fa86b600010d0754c9912bd3a160b9b7bb250ba851e490a39ff487b62477d3b3 kernel-cmdline.conf
|
|
1aca985770246b9ca140996a498815b5c9ca3458a6cb84db85825344f01deda8b1de7c88e2e0c610df636ad2179faac7fd90d9992add51186a6449f2d43a3f71 initfs-hook.sh
|
|
a5027ac9f113018d55e4c5fc065b0498d0a50df099a348fe38d6b841087aa285a8d67b400b9fe88007f41d0fd79c2fe69d62300af6963ecb40c5fb2353cbabf1 amazon-omap-boot-hack.sh
|
|
"
|