Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
b249cab4
Verified
Commit
b249cab4
authored
2 years ago
by
Anton Bambura
Committed by
Clayton Craft
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
lenovo-flex-5g: new device (MR 3838)
parent
4aa0aac8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/testing/device-lenovo-flex-5g/APKBUILD
+59
-0
59 additions, 0 deletions
device/testing/device-lenovo-flex-5g/APKBUILD
device/testing/device-lenovo-flex-5g/deviceinfo
+26
-0
26 additions, 0 deletions
device/testing/device-lenovo-flex-5g/deviceinfo
with
85 additions
and
0 deletions
device/testing/device-lenovo-flex-5g/APKBUILD
0 → 100644
+
59
−
0
View file @
b249cab4
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname
=
device-lenovo-flex-5g
pkgdesc
=
"Lenovo Flex 5G"
pkgver
=
1
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"aarch64"
options
=
"!check !archcheck pmb:strict"
depends
=
"
linux-postmarketos-qcom-sc8180x
postmarketos-base
soc-qcom-sc8180x
"
makedepends
=
"devicepkg-dev grub grub-efi"
source
=
"deviceinfo"
build
()
{
devicepkg_build
$startdir
$pkgname
grub-mkimage
\
--prefix
=
"/grub"
\
--output
=
"bootaa64.efi"
\
--format
=
"arm64-efi"
\
--compression
=
"xz"
\
\
all_video
\
cat
\
configfile
\
disk
\
echo
\
efi_gop
\
fat
\
gzio
\
help
\
iso9660
\
linux
\
ls
\
normal
\
part_gpt
\
part_msdos
\
search
\
search_label
\
test
\
true
}
package
()
{
devicepkg_package
$startdir
$pkgname
install
-Dm644
"
$srcdir
"
/bootaa64.efi
\
-t
"
$pkgdir
"
/boot/EFI/Boot
}
sha512sums
=
"
60c20ddb112f7ebfaeada1c06ce8d01c8c65be1eb12527ff02049f00a9d52532027b2d155b32b440a419b4c56ee4e81bcdc1e6e0973e65f9c29836579418d85f deviceinfo
"
This diff is collapsed.
Click to expand it.
device/testing/device-lenovo-flex-5g/deviceinfo
0 → 100644
+
26
−
0
View file @
b249cab4
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Lenovo Flex 5G"
deviceinfo_manufacturer="Lenovo"
deviceinfo_codename="lenovo-flex-5g"
deviceinfo_year="2019"
deviceinfo_dtb="qcom/sc8180x-lenovo-flex-5g"
deviceinfo_modules_initfs="i2c-qcom-geni hid-generic i2c-hid-of i2c-hid-acpi msm drm-dp-aux-bus phy-qcom-edp panel-edp leds-qcom-lpg pwm-bl drm pdr-interface qcom-common qcom-q6v5-pas qrtr-smd"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="convertible"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1920"
deviceinfo_screen_height="1080"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="efi=novamap clk_ignore_unused pd_ignore_unused console=null"
deviceinfo_generate_grub_config="true"
deviceinfo_boot_filesystem="fat32"
deviceinfo_partition_type="gpt"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment