apple-idevice: new device
Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6733
This commit is contained in:
parent
ff439714ee
commit
efce7d736e
3 changed files with 68 additions and 0 deletions
46
device/testing/device-apple-idevice/APKBUILD
Normal file
46
device/testing/device-apple-idevice/APKBUILD
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Co-Maintainer: Nick Chan <towinchenmi@gmail.com>
|
||||
maintainer="Aster Boese <asterboese@mailbox.org>"
|
||||
pkgname=device-apple-idevice
|
||||
pkgdesc="Apple Generic Apple iDevice"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-kernel-4k:kernel_4k
|
||||
$pkgname-kernel-16k:kernel_16k
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
modules-initfs
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
kernel_4k() {
|
||||
pkgdesc="Kernel with 4k page size"
|
||||
depends="linux-postmarketos-apple-4k"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_16k() {
|
||||
pkgdesc="Kernel with 16k page size"
|
||||
depends="linux-postmarketos-apple-16k"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6e0ce9e968cf94f51f2fc7e1d9adba2201749026d0e840d05d0c6b5c531e27f87f3bc7276f4b50985a26e7da7e3e9b251e5dc0bcdd7fd67add621014108b923e deviceinfo
|
||||
f4df83d543efb5748743f56fbfeddc6734ad341fb623f796faa74b4f42cadfd9a7b1aea2bd3a6f7aa3f284bcb34c05b2ec2a1704ad6e88b043f92dc0de14a573 modules-initfs
|
||||
"
|
||||
21
device/testing/device-apple-idevice/deviceinfo
Normal file
21
device/testing/device-apple-idevice/deviceinfo
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Apple Generic iDevice"
|
||||
deviceinfo_manufacturer="Apple"
|
||||
deviceinfo_codename="apple-idevice"
|
||||
deviceinfo_year="2013"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_drm="false"
|
||||
# Some devices (e.g. iPads) are not handsets, but most are.
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_external_storage="false"
|
||||
# Futureproofing since the size that can be passed to iBoot is a limitation.
|
||||
deviceinfo_create_initfs_extra="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
1
device/testing/device-apple-idevice/modules-initfs
Normal file
1
device/testing/device-apple-idevice/modules-initfs
Normal file
|
|
@ -0,0 +1 @@
|
|||
netboot
|
||||
Loading…
Add table
Add a link
Reference in a new issue