ea93a6d07f
[ci:ignore-count] [ci:skip-build]: already built successfully in CI
38 lines
1.5 KiB
Text
38 lines
1.5 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-starqltechn
|
|
pkgdesc="Samsung Galaxy S9 SM-G9600"
|
|
pkgver=0.2
|
|
pkgrel=3
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-postmarketos-qcom-sdm845 mkbootimg u-boot-starqltechn u-boot-tools dtc"
|
|
makedepends="devicepkg-dev dtc"
|
|
source="deviceinfo boot_image.its payload_mock.dts bootscript.sh"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
mkdir -p "$pkgdir"/usr/share/u-boot/starqltechn/
|
|
mkdir "$builddir"
|
|
payload_mock_dtb="$builddir/payload_mock.dtb"
|
|
dtc -I dts -O dtb -o "$payload_mock_dtb" "$srcdir/payload_mock.dts"
|
|
install -D -m644 "$payload_mock_dtb" \
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/payload_mock.dtb
|
|
install -D -m644 "$srcdir/"*.its \
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
install -D -m644 "$srcdir/"bootscript.sh \
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
1a51b1a75a7ab23b0011d2952e716b6d98a3a395578a99e278d8eda4c921ce015ce1f0e386a88b89e9f657edc867f00fffd11e550a91ec9ede2769d8cbfd1718 deviceinfo
|
|
8ecd6621738b14fecfb8bb32f06fa86053649f46d6ef7e50cdc6dd44175d459a8b5f185e0b1d6168d23d6b8474ea31ae9aaf306385eb106df6489e6838b4fbe1 boot_image.its
|
|
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
|
|
fc9a353946a061b964b8d85ba40a55aabd5dc51ad079ce9013473fb2031f2bea7f987dc437f3e7b515e7f1eccc16c7ba0c616926f59f98382b1193e6875b50f3 bootscript.sh
|
|
"
|