e8fd6d6635
With the pmbootstrap change let's change the deviceinfo variable names to the non-deprecated version. [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=5
|
|
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="
|
|
75d405e0574c095f96fb37074968120ff429b862f6d00f4f3ccfc3a9ff3473e19d9e65879b1e6523042de9081b95fbc0c6d73b92e529feef84f7ff5f3a113624 deviceinfo
|
|
8ecd6621738b14fecfb8bb32f06fa86053649f46d6ef7e50cdc6dd44175d459a8b5f185e0b1d6168d23d6b8474ea31ae9aaf306385eb106df6489e6838b4fbe1 boot_image.its
|
|
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
|
|
fc9a353946a061b964b8d85ba40a55aabd5dc51ad079ce9013473fb2031f2bea7f987dc437f3e7b515e7f1eccc16c7ba0c616926f59f98382b1193e6875b50f3 bootscript.sh
|
|
"
|