2017-06-08 17:27:02 +00:00
|
|
|
pkgname=device-nokia-rx51
|
|
|
|
pkgver=1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Nokia N900"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2017-06-09 23:38:46 +00:00
|
|
|
depends="linux-nokia-rx51 uboot-tools"
|
|
|
|
makedepends="uboot-tools"
|
2017-06-08 17:27:02 +00:00
|
|
|
install=""
|
|
|
|
subpackages=""
|
2017-06-09 23:38:46 +00:00
|
|
|
source="deviceinfo initfs-hook.sh profile.sh uboot-script.cmd"
|
2017-06-08 17:27:02 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
2017-06-09 23:38:46 +00:00
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
2017-06-08 17:27:02 +00:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
|
|
|
install -D -m644 "$srcdir"/initfs-hook.sh \
|
|
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
|
|
install -D -m644 "$srcdir"/profile.sh \
|
|
|
|
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
2017-06-09 23:38:46 +00:00
|
|
|
#install -D -m644 "$srcdir"/boot.scr \
|
|
|
|
# "$pkgdir"/boot/boot.scr
|
2017-06-08 17:27:02 +00:00
|
|
|
}
|
|
|
|
|
2017-06-09 23:38:46 +00:00
|
|
|
sha512sums="52ae4fc3317774fc6e668188857e9eb2c80a4612fc92b895b2bf78d2d377a6f6fe387be5f003cf98ac14c31aaf4a2677713b01f3cddac03cf34ce5c2b83e0b72 deviceinfo
|
2017-06-08 17:27:02 +00:00
|
|
|
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
2017-06-09 23:38:46 +00:00
|
|
|
c3d0182161c33047e0af4fd7cc557037e10380896a771446f055a13813e50e4e6c9d5992de7b275a8373a053cca02cb96bcb50c732709a2e9909f903b5fba249 profile.sh
|
|
|
|
011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd"
|