Added basic hammerhead config (NOT tested)

This commit is contained in:
Dimitris Zervas 2017-05-30 18:40:44 +03:00
parent 2e0760706e
commit fef5525203
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,24 @@
pkgname=device-lg-hammerhead
pkgver=1
pkgrel=1
pkgdesc="Google Nexus 5"
url="https://github.com/postmarketOS"
arch="noarch"
license="FIXME"
depends="linux-lg-hammerhead"
makedepends=""
install=""
subpackages=""
source="deviceinfo"
options="!check"
build() {
return 0
}
package() {
install -D -m644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
}
sha512sums="180b1cab6b0ed8c1448a1582dbb6081c81aa598bd923449293d8e41eb0dd245c92cea9b5bd30ce59009ce60801881952e9ac3a3ec6e971a894e24e22d42dee52 deviceinfo"

View file

@ -0,0 +1,26 @@
# This document format is a draft.
# You can source it in shell scripts.
# Use only double quotes.
deviceinfo_format_version="0"
deviceinfo_name="Google Nexus 5"
deviceinfo_manufacturer="LG"
deviceinfo_date=""
deviceinfo_keyboard="false"
deviceinfo_nonfree="????"
deviceinfo_dtb=""
deviceinfo_modules=""
deviceinfo_modules_initfs=""
deviceinfo_external_disk="false"
deviceinfo_external_disk_install="false"
deviceinfo_flash_methods="fastboot"
deviceinfo_arch="armhf"
# You can for example extract these from an existing boot.img
deviceinfo_flash_offset_base="0"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02900000"
deviceinfo_flash_offset_second=""
deviceinfo_flash_offset_tags="0x02700000"
deviceinfo_flash_pagesize="2048"