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
7fc1292b
Unverified
Commit
7fc1292b
authored
4 years ago
by
Luca Weiss
Committed by
Oliver Smith
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/devicepkg-dev: generate /etc/machine-info (MR 1246)
parent
b5917b03
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
main/devicepkg-dev/APKBUILD
+3
-3
3 additions, 3 deletions
main/devicepkg-dev/APKBUILD
main/devicepkg-dev/devicepkg_build.sh
+13
-0
13 additions, 0 deletions
main/devicepkg-dev/devicepkg_build.sh
main/devicepkg-dev/devicepkg_package.sh
+2
-0
2 additions, 0 deletions
main/devicepkg-dev/devicepkg_package.sh
with
18 additions
and
3 deletions
main/devicepkg-dev/APKBUILD
+
3
−
3
View file @
7fc1292b
pkgname
=
devicepkg-dev
pkgver
=
0.12.
1
pkgver
=
0.12.
2
pkgrel
=
0
pkgdesc
=
"Provides default device package functions"
url
=
"https://postmarketos.org"
...
...
@@ -61,8 +61,8 @@ package() {
"
$pkgdir
/usr/share/devicepkg-dev/compiler-gcc.h"
}
sha512sums
=
"d69930dd790b00fb39760a37d95a10899f0d167e10e2804feb05d9ce04f94185dc32d36edc90214aba2ea2aa09bf18f7dab93f1d2eff23f67beb2cc83be30e7c compiler-gcc.h
3
32f693abfb3260ad6c1ef5d245062af8cc8eedba7db360d54db5a7fcf7b301a37a299a0004e9ff4de80b5dfcd260d0cd0f99f96ed6d56080bb4dea81116cc82
devicepkg_build.sh
10bda1a999891d6234bcfa3eb277b125c02361a031c5ff8445dabaae11e289321a6227f9f0973c7aa143a3df0512399bd0e3b2aa5a8ee560b28e1b135bad8635
devicepkg_package.sh
3
0f116f668bad60a0e62ef3e0625c331a1b044f5bbd137eb7b909039675f4aefca7e0206b755167b834aabd31fcf28b53c6f1a61782da66fd05f9dfcd09c0664
devicepkg_build.sh
74c1b9b265a943604d5d538ca66d4b7bcad9adcf40710ab19d795b55aac39669bf1089f7f0ec81aa7a01b537784bef4310e4acc3d7a6ba1f282ab01652bdc4d4
devicepkg_package.sh
f7583b92a27b39d79762700a48853b8d641845cdd45eb875d6fddc236f4d70598927d4dfc7d237870617b77b42820686692a68220f610dbc01c76402d9edfb2e downstreamkernel_prepare.sh
776d7c36afc7bedbd531641abe90fa4bf06a519ad9e300dedf67b6d3b4997b57a398938dd528d5eeda6d17e0d34644472702a4fdd8ff41e0a4a7ad0671f4a216 downstreamkernel_package.sh
cf5ee240cd1c1e9d30cdec833b4a007fd2e00f9a32ba3f265f99aa2e3dd3601cf43c08d3f3e01bade1d5b2648a6754b2f236e5cb4a9945e18e5c4e97aa2ed7c8 devicepkg_subpackage_kernel.sh
...
...
This diff is collapsed.
Click to expand it.
main/devicepkg-dev/devicepkg_build.sh
+
13
−
0
View file @
7fc1292b
...
...
@@ -104,8 +104,21 @@ echo_libinput_calibration()
echo
"ENV{LIBINPUT_CALIBRATION_MATRIX}=
\"
$1
$2
$x_offset
$4
$5
$y_offset
\"
,
\\
"
}
# Generate the contents for /etc/machine-info
generate_machine_info
()
{
{
# shellcheck disable=SC2154
echo
"PRETTY_HOSTNAME=
\"
$deviceinfo_name
\"
"
# shellcheck disable=SC2154
echo
"CHASSIS=
\"
${
deviceinfo_chassis
}
\"
"
}
>
"
$srcdir
/machine-info"
}
generate_splash_screens
generate_machine_info
# shellcheck disable=SC2154
if
[
-n
"
$deviceinfo_dev_touchscreen
"
]
;
then
# Create touchscreen udev rule
...
...
This diff is collapsed.
Click to expand it.
main/devicepkg-dev/devicepkg_package.sh
+
2
−
0
View file @
7fc1292b
...
...
@@ -21,6 +21,8 @@ fi
install
-Dm644
"
$srcdir
/deviceinfo"
\
"
$pkgdir
/etc/deviceinfo"
install
-Dm644
-t
"
$pkgdir
/usr/share/postmarketos-splashes"
"
$srcdir
"
/
*
.ppm.gz
install
-Dm644
"
$srcdir
/machine-info"
\
"
$pkgdir
/etc/machine-info"
if
[
-f
"
$srcdir
/90-
$pkgname
.rules"
]
;
then
install
-Dm644
"
$srcdir
/90-
$pkgname
.rules"
\
...
...
This diff is collapsed.
Click to expand it.
Administrator
@root
mentioned in commit
772ae5dd
By Luca Weiss on 2020-07-22T09:05:37
·
4 years ago
Imported
mentioned in commit
772ae5dd
By Luca Weiss on 2020-07-22T09:05:37
Edited
4 years ago
by
Ghost User
mentioned in commit 772ae5dda5480b7c343ee2542c5d2cdb11f1aa84 *By Luca Weiss on 2020-07-22T09:05:37*
Toggle commit list
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