enchilada/fajita: add back removed aports (MR 1272) (MR 1271)
After removing packages and updating repos they can now be added back
with fixed pkgvers :D
This reverts commit 0004a7bac6
.
This commit is contained in:
parent
bb05822b6d
commit
a4f2d33eae
6 changed files with 8506 additions and 0 deletions
24
device/testing/device-oneplus-enchilada/APKBUILD
Normal file
24
device/testing/device-oneplus-enchilada/APKBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
|
||||
pkgname=device-oneplus-enchilada
|
||||
pkgdesc="OnePlus 6"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-oneplus-sdm845 mkbootimg mesa-dri-gallium"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="98b7861dc862b740df65ea2abb0301c9cb0c0cd8b9324acfb095b3c6dd8d75f927a71cb90f1df85000386c4cc5f63b14e0ff361134ee141707d158f7c218cc3b deviceinfo"
|
38
device/testing/device-oneplus-enchilada/deviceinfo
Normal file
38
device/testing/device-oneplus-enchilada/deviceinfo
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="OnePlus 6"
|
||||
deviceinfo_manufacturer="OnePlus"
|
||||
deviceinfo_codename="oneplus-enchilada"
|
||||
deviceinfo_year="2018"
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_screen_width="1080"
|
||||
deviceinfo_screen_height="2280"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_flash_sparse="true"
|
||||
|
||||
# Kernel options
|
||||
deviceinfo_dtb="qcom/sdm845-oneplus-enchilada"
|
||||
deviceinfo_append_dtb="true"
|
||||
|
||||
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
24
device/testing/device-oneplus-fajita/APKBUILD
Normal file
24
device/testing/device-oneplus-fajita/APKBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
|
||||
pkgname=device-oneplus-fajita
|
||||
pkgdesc="OnePlus 6"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-oneplus-sdm845 mkbootimg mesa-dri-gallium"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="5698c115b427f490ef5c7248f965d6dd9b0bbf833b8e293d5e78f764a96ef21da028b3619f2f2a53dba1a21daaf70e263e6e06c3ed871b3f02ebb81bb14afce8 deviceinfo"
|
38
device/testing/device-oneplus-fajita/deviceinfo
Normal file
38
device/testing/device-oneplus-fajita/deviceinfo
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="OnePlus 6T"
|
||||
deviceinfo_manufacturer="OnePlus"
|
||||
deviceinfo_codename="oneplus-fajita"
|
||||
deviceinfo_year="2018"
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_screen_width="1080"
|
||||
deviceinfo_screen_height="2340"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_flash_sparse="true"
|
||||
|
||||
# Kernel options
|
||||
deviceinfo_dtb="qcom/sdm845-oneplus-enchilada"
|
||||
deviceinfo_append_dtb="true"
|
||||
|
||||
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
63
device/testing/linux-oneplus-sdm845/APKBUILD
Normal file
63
device/testing/linux-oneplus-sdm845/APKBUILD
Normal file
|
@ -0,0 +1,63 @@
|
|||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
# Kernel config based on: arch/arm64/configs/defconfig
|
||||
|
||||
_flavor="oneplus-sdm845"
|
||||
pkgname=linux-$_flavor
|
||||
pkgver=5.7_rc6
|
||||
pkgrel=0
|
||||
pkgdesc="Mainline kernel fork for OnePlus SDM845 devices"
|
||||
arch="aarch64"
|
||||
_carch="arm64"
|
||||
url="https://gitlab.com/sdm845-mainline/sdm845-linux-next"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
makedepends="bison findutils flex installkernel openssl-dev perl"
|
||||
|
||||
_config="config-$_flavor.$arch"
|
||||
|
||||
# Source
|
||||
source="
|
||||
$url/-/archive/$pkgver-sdm845/sdm845-linux-next-$pkgver-sdm845.tar.gz
|
||||
$_config
|
||||
"
|
||||
builddir="$srcdir/sdm845-linux-next-$pkgver-sdm845"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
mkdir -p "$srcdir"/build
|
||||
cp -v "$srcdir"/$_config "$srcdir"/build/.config
|
||||
make -C "$builddir" O="$srcdir"/build ARCH="$_carch" \
|
||||
olddefconfig
|
||||
# localversion-next is appended to the kernel image name when on a next
|
||||
# tag, delete it to ensure name becomes vmlinuz-$_flavor
|
||||
rm $builddir/localversion-next
|
||||
# Ensure extraversion is $_flavour.
|
||||
# NOTE: mkinitfs WILL fail if CONFIG_LOCALVERSION is set or
|
||||
# CONFIG_LOCALVERSION_AUTO is set
|
||||
sed -i "s/^EXTRAVERSION =.*/EXTRAVERSION = -$_flavor/g" $builddir/Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/build
|
||||
unset LDFLAGS
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build/arch/$_carch/boot"
|
||||
|
||||
install -D "$srcdir/build/include/config/kernel.release" \
|
||||
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
|
||||
|
||||
cd "$srcdir"/build
|
||||
mkdir -p "$pkgdir"/boot
|
||||
make -j1 zinstall modules_install dtbs_install \
|
||||
ARCH="$_carch" \
|
||||
INSTALL_PATH="$pkgdir"/boot/ \
|
||||
INSTALL_MOD_PATH="$pkgdir" \
|
||||
INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb"
|
||||
}
|
||||
|
||||
sha512sums="2ed04f7d285192b48cffe3272c41a4659b063907f296de66ed66ba9bdebdcf2e8d0143094dfd3f530e61ccb6ad509554184aed316fd104af50d94e95046f2452 sdm845-linux-next-5.7_git20200507-sdm845.tar.gz
|
||||
1cfde45168ba129a28ddd64644eaaff18146082b652f8bc4081a01197fe7f16647778fcffb9b5ce06df8c0e57a3d72b5ee1895fdc6d58f8e36c4a646b9ab067b config-oneplus-sdm845.aarch64"
|
8319
device/testing/linux-oneplus-sdm845/config-oneplus-sdm845.aarch64
Normal file
8319
device/testing/linux-oneplus-sdm845/config-oneplus-sdm845.aarch64
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue