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
44797d1f
Unverified
Commit
44797d1f
authored
1 year ago
by
Luca Weiss
Committed by
Oliver Smith
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/device-huawei-sturgeon: add mainline subpackages (MR 4053)
[ci:skip-build]: already built successfully in CI
parent
8ff50a82
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#201584
passed
1 year ago
Stage: lint
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/testing/device-huawei-sturgeon/APKBUILD
+24
-9
24 additions, 9 deletions
device/testing/device-huawei-sturgeon/APKBUILD
device/testing/device-huawei-sturgeon/deviceinfo
+3
-1
3 additions, 1 deletion
device/testing/device-huawei-sturgeon/deviceinfo
with
27 additions
and
10 deletions
device/testing/device-huawei-sturgeon/APKBUILD
+
24
−
9
View file @
44797d1f
# Reference: <https://postmarketos.org/devicepkg>
pkgname
=
device-huawei-sturgeon
pkgdesc
=
"Huawei Watch"
pkgver
=
0.3
pkgrel
=
1
pkgver
=
1
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"armv7"
options
=
"!check !archcheck"
depends
=
"
linux-huawei-sturgeon
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends
=
"devicepkg-dev"
...
...
@@ -18,7 +16,11 @@ source="
deviceinfo
networkmanager.conf
"
subpackages
=
"
$pkgname
-nonfree-firmware:nonfree_firmware"
subpackages
=
"
$pkgname
-kernel-downstream:kernel_downstream
$pkgname
-kernel-mainline:kernel_mainline
$pkgname
-nonfree-firmware:nonfree_firmware
"
build
()
{
devicepkg_build
$startdir
$pkgname
...
...
@@ -26,17 +28,30 @@ build() {
package
()
{
devicepkg_package
$startdir
$pkgname
}
kernel_downstream
()
{
pkgdesc
=
"Downstream kernel"
depends
=
"linux-huawei-sturgeon msm-fb-refresher"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
install
-Dm644
"
$srcdir
"
/networkmanager.conf
\
"
$pkgdir
"
/etc/NetworkManager/conf.d/10-sturgeon.conf
"
$subpkgdir
"
/etc/NetworkManager/conf.d/10-sturgeon.conf
}
kernel_mainline
()
{
pkgdesc
=
"Close to mainline kernel"
depends
=
"linux-postmarketos-qcom-msm8226"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
}
nonfree_firmware
()
{
pkgdesc
=
"
WiFi f
irmware"
depends
=
"firmware-huawei-sturgeon"
pkgdesc
=
"
F
irmware
for WiFi, ADSP, etc.
"
depends
=
"firmware-huawei-sturgeon
-adsp firmware-huawei-sturgeon-wifi
"
mkdir
"
$subpkgdir
"
}
sha512sums
=
"
33c27ad87e7e530b496fceebe1fc565a662d44c3619d991d5c41476a9f2d6354863f9135b29d70b0e9f14f08dae798b06a5cbf2a64fd7eec
ee
2
32
f5000be0fe9
deviceinfo
295d405017fc1bb0658da5e0e440b16cbf4660ac5fe9ceb4bbd4e5052d31f2949f3733fd3bb44e7a37b0eec03562676519d0711265ddb2d5db51ffe1
ee
3
32
db2
deviceinfo
a19923f30ac1d328a85ab1162e44442da28dd1ae45529fb73e21d8004594487f61c8f5372e5bbaadfefd27fe27c8a22ce430b81891ac1965e5704bbfec108b82 networkmanager.conf
"
This diff is collapsed.
Click to expand it.
device/testing/device-huawei-sturgeon/deviceinfo
+
3
−
1
View file @
44797d1f
...
...
@@ -20,7 +20,9 @@ deviceinfo_screen_height="400"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="androidboot.hardware=sturgeon user_debug=31 maxcpus=4 msm_rtb.filter=0x3F pm_levels.sleep_disabled=1 selinux=0"
# limit to single-core until we have cpufreq to avoid fast overheating
deviceinfo_kernel_cmdline_mainline="maxcpus=1"
deviceinfo_kernel_cmdline_downstream="androidboot.hardware=sturgeon user_debug=31 maxcpus=4 msm_rtb.filter=0x3F pm_levels.sleep_disabled=1 selinux=0"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
...
...
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