Commit graph

744 commits

Author SHA1 Message Date
Pops Dylan
8760409717
main/postmarketos-mkinitfs: enable profiling with bootchart (!852)
If (a) the kernel command line parameters include PMOS_BOOTCHART2 and
(b) /sbin/bootchartd exists (i.e., the bootchart2 package has been
installed), run /sbin/bootchartd instead of /sbin/init.
2020-01-13 15:44:51 +03:00
Pops Dylan
e068de2de5
main/bootchart2: new aport (!852)
Port bootchart2 to PostmarketOS, with three patches:
1. Modification of /etc/bootchartd.conf so that the collector
will stop after sshd has started.
2. Python 3.8 compatibility
3. Disable the interactive mode of pybootchartgui.

Use bootchart2 to profile system boot or a running system.
1. Add the bootchart2 package to your device.
2. Add the following kernel command line parameters: initcall_debug
printk.time=y quiet
3. To profile system boot
	a. add the following kernel command line parameter: PMOS_BOOTCHART2.
	This parameter causes mkinitfs to start /sbin/bootchartd instead of
	/sbin/init. /sbin/bootchartd then starts /sbin/init.
	b. (optional) modify EXIT_PROC in /etc/bootchartd.conf to define
	when the collector is to stop.
	c. Boot the system. Approximately 20 seconds after sshd starts
	(if using the default value of EXIT_PROC), the collector
	will exit.
4. To profile a running system
	a. use the command '/sbin/bootchartd start' (as root) to start
	profiling
	b. use the command '/sbin/bootchartd stop' (as root) to stop
	profiling
5. When the collector exits, /usr/bin/pybootchartgui will create
a visualization in /var/log/bootchart.png.
2020-01-13 15:43:00 +03:00
Bart Ribbers
d1bd790f9d
main/pmbootstrap: modprobe the required kernel module on boot (!847) 2020-01-06 04:13:38 +01:00
Oliver Smith
3fa07dcb1d
*/*: !armhf where depending on qt5-qtdeclarative
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2230
2020-01-06 03:41:56 +01:00
Oliver Smith
a3a63f2151
main/pmbootstrap: upgrade to 1.13.0 2020-01-03 05:33:13 +01:00
Minecrell
e0021755b0
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc4 (!848)
- Update to Linux 5.5-rc4
- Fix freeze/crash when accessing reserved memory on Samsung devices
  - This happened e.g. when doing large eMMC writes
    because the disk cache filled all available RAM.
- Fix SD card detection on samsung-serranovelte
  - Disable UHS-1 modes since they appear to be broken in hardware

[ci:skip-build]: already built successfully in CI
2020-01-03 03:23:21 +01:00
Alexey Min
e3d1701d5e
main/mauikit: add kquicksyntaxhighlighter dependency (!831) 2019-12-31 11:54:30 +05:30
Minecrell
2c2fbe4236
main/linux-postmarketos-novathor: new aport (!833) 2019-12-30 19:19:40 +01:00
Pops Dylan
7b7c1db0ff
main/postmarketos-base: remove initstepslew from chrony configuration (!838)
Comment out the initstepslew line in /etc/chrony/chrony.conf.
initstepslew can delay booting while chrony sets the time. The
makestep 1 -1 line in the configuration also causes chrony to step
the time (whenever the offset is greater than 1s), making
initstepslew redundant.
2019-12-30 18:34:14 +01:00
Luca Weiss
4cc96c5715
main/abootimg: modernize (!840) 2019-12-30 18:29:22 +01:00
Alexey Min
8529c59859
main/postmarketos-ui-plasma-mobile: add plasma-nm-mobile dep (!829)
Wi-Fi kcm is missing in plasma-settings, so add missing dependency.

This also adds mobile-broadband kcm
2019-12-24 21:44:20 +03:00
Bart Ribbers
598f7c9589
main/postmarketos-ui-plasma-mobile-extras: add ktrip to depends (!813) 2019-12-24 16:43:39 +03:00
Bart Ribbers
2090d3bbc7
main/postmarketos-ui-plasma-mobile: add missing urfkill-openrc dep (!813)
Without it the .post-install script would fail as the init script it's
trying to enable isn't available
2019-12-24 16:43:39 +03:00
Oliver Smith
eeca34eaf4
main/pmbootstrap: depend on openssl (!827)
Fixes: #403
2019-12-24 15:38:12 +03:00
Minecrell
8ac2eaa2cf
main/linux-postmarketos-qcom-msm8916: build for armv7 (!828)
Unfortunately, early firmware versions on MSM8916 (used together with
Android 4.4) are not capable of booting aarch64 kernels. MSM8916 was
Qualcomm's first 64-bit capable CPU, and back when it was introduced
Android did not even support aarch64 yet. So the aarch64 capable
hardware was usually used together with armv7 binaries.

To make things worse, this firmware is also signed (usually per-device),
making it (currently) impossible to update it without help from the manufacturer.
This means that we are currently unable to run mainline on devices
that never received an update to Android 5.0
(e.g. the Samsung Galaxy S4 Mini Value Edition).

One way to circumvent this limitation is to build mainline for armv7.
This works surprisingly well with some additional fixes.
Devices with this firmware limitation are still unable to use aarch64
binaries, but at least we can run mainline on them!
2019-12-24 03:14:54 +03:00
Daniele Debernardi
6798ff9666
main/linux-postmarketos-stable: enable CONFIG_SND_HDA (!794) 2019-12-24 00:03:32 +01:00
Minecrell
403ddcc037
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc3 (!824)
- Rebase on Linux 5.5-rc3
- Add display, touchscreen and GPIO keys for samsung-gt510wifi
- Add vibrator for wileyfox-crackling
- Zinitix touchscreen improvements (used in samsung-a3ulte)
- Upstreamed several patches
2019-12-23 16:40:11 +01:00
Oliver Smith
2accd185de
main/pmbootstrap: upgrade to 1.12.0 2019-12-14 03:40:44 +01:00
Drew DeVault
729d4f9e7b
main/postmarketos-ui-weston: add htop to depends (!806) 2019-12-11 17:29:18 +01:00
Drew DeVault
32de4f4536
main/postmarketos-base: trim down dependencies (!806)
htop and tmux don't belong in this package, and dbus is a transitive
dependency via networkmanager et al, and so it doesn't need to be
specified here.
2019-12-11 17:29:07 +01:00
Bart Ribbers
659508922f
main/postmarketos-ui-plasma-mobile: use the upstream launch script (!784) 2019-12-09 13:10:14 +01:00
Bhushan Shah
891f935705
main/linux-postmarketos-allwinner: switch to conservative governor (!760)
Current default is performance, and that is for sure not a great choice
for battery. We can experiment with ondemand as well, but based on docs,
conservative is recommended.

[ci:skip-build]: build takes too long
2019-12-07 15:08:53 +01:00
Bart Ribbers
777f3e6d61
main/kaidan: remove, upstreamed (!793) 2019-12-07 01:52:36 +01:00
Bart Ribbers
30f039b63b
main/qxmpp: remove, upstreamed (!793) 2019-12-07 01:52:35 +01:00
Pops Dylan
4c67611c90
postmarketos-base: configure getty using deviceinfo_getty variable (!771)
On some devices a getty should run on the serial console.
Configure the getty by setting the deviceinfo_getty variable. The
format is "<port>;<baud rate>". For example, "ttyS0;115200".

A post-installation trigger in postmarketos-base checks
/etc/deviceinfo, and modifies /etc/inittab if the device should run
a getty.
2019-12-07 01:32:23 +01:00
Danct12
970bb0bf0b
main/linux-postmarketos-allwinner: upgrade to 5.4.0 (!778)
[ci:skip-build]: does not finish in time

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-06 14:45:58 +03:00
Daniele Debernardi
eebc0050cb
main/postmarketos-ui-xfce4: upgrade to 3.0 (!727)
Upgrade the xfce4-phone package to 3.0
2019-12-06 01:33:55 +01:00
Daniele Debernardi
08725a11b0
main/postmarketos-ui-xfce4: add whiskermenu, screensaver and postmarketos icons (!727) 2019-12-06 01:33:55 +01:00
Daniele Debernardi
a3fd6bdfcd
main/postmarketos-ui-xfce4: add terminal and pulseaudio plugin (!727) 2019-12-06 01:33:55 +01:00
Danct12
0cff86852d
main/postmarketos-base: networkmanager permission fix (!777)
This patch fixes nmtui and nm-applet not authorized to control
networking.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-05 22:53:30 +01:00
Antoine Fontaine
684dc41f0e
postmarketos-ui-phosh: ask Qt not to show window decorations (!769) 2019-11-28 01:16:29 +03:00
Michael Orishich
77ea310aac
main/postmarketos-ui-weston: fix weston failing to read config (!767) 2019-11-26 18:48:35 +03:00
pedro
b0a8448716
main/wcnss-wlan: allow to insert delay (!762)
Make it possible to sleep before enabling the wlan driver. This is
needed to make it work properly with lg-mako.

Related: #46
2019-11-24 20:49:57 +01:00
Bhushan Shah
079ad8f94a
main/postmarketos-ui-plasma-mobile: add kpeoplevcard (!766)
[ci:skip-build]: already built successfully in CI
2019-11-24 20:26:32 +01:00
Martijn Braam
cfcf1e6d7d
main/postmarketos-mkinitfs: added pmos_boot and pmos_root (!756) 2019-11-24 20:16:41 +01:00
Oliver Smith
b8ed9356b4
main/pmbootstrap: upgrade to 1.11.0 2019-11-22 00:17:32 +01:00
Oliver Smith
5fcb49fcb7
main/urfkill: depend on polkit-elogind, not polkit
Fix the following error when installing postmarketos-ui-plasma-mobile:

ERROR: unsatisfiable constraints:
  polkit-elogind-0.116-r1:
    breaks: polkit-dev-0.116-r0[polkit=0.116-r0]
    satisfies: polkit-kde-agent-1-5.17.3-r0[polkit-elogind]
               .pmbootstrap-20191121.210534[polkit-elogind]
               consolekit2-1.2.1-r1[polkit]
               consolekit2-1.2.1-r1[so:libpolkit-gobject-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-agent-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-gobject-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-agent-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-gobject-1.so.0]
               accountsservice-0.6.55-r0[so:libpolkit-gobject-1.so.0]
               urfkill-0.5.0_git20170118-r0[so:libpolkit-gobject-1.so.0]

This is the reason, why the pmbootstrap qemu test (which performs a full
plasma mobile installation and checks running processes) check failed:
https://postmarketos.gitlab.io/-/pmbootstrap/-/jobs/357942365/artifacts/log_testsuite.txt
2019-11-21 23:19:06 +01:00
Oliver Smith
874e979c04
maemo/*: disable armhf, armv7
Most of the time, gtk+2.0-maemo hangs infinitely while building.
Detailed reasoning here:
https://gitlab.com/postmarketOS/pmaports/issues/388
2019-11-21 21:27:15 +01:00
Bhushan Shah
c8c3cfd7d9
main/postmarketos-ui-plasma-mobile: enable urfkill by default (!638) 2019-11-21 11:11:22 +05:30
Bart Ribbers
b0bbce0e1b main/urfkill: new aport (!638) 2019-11-21 05:39:21 +00:00
Luca Weiss
c6c6bc75bf
main/telepathy-ofono: switch to branch ofono-on-ring (!759)
Required for Plasma Mobile to be able to initiate calls.

[ci:skip-build]: already built successfully in CI
2019-11-20 23:41:16 +01:00
David Heidelberg
e561fffd30
phosh/*: enable on armhf (!746)
Enable armhf again, because "gnome-session" is available in Alpine for
armhf now.

[ci:skip-build]: already built successfully in CI. ollieparanoid made
                 sure that all packages build for armhf.
[ci:skip-vercheck]

Signed-off-by: David Heidelberg <david@ixit.cz>
2019-11-20 23:07:01 +01:00
Bhushan Shah
a35e19dbda
linux-postmarketos-allwinner: enable thermal driver and wakelocks (!757)
They can be used for power management

[ci:skip-build]: won't finish in time
2019-11-20 22:58:25 +01:00
Luca Weiss
c6e3000931
main/dtbtool: add patch for providing alternative dt tag (!641)
Add the equivalent of the --dt-tag option found in dtbToolCM or
dtbToolLineage, needed on htc-memul.
2019-11-20 22:29:51 +01:00
Oliver Smith
45a79246ab
main/unicsy-demo: remove
Depends on py-gtk-dev, which was removed from Alpine. It doesn't seem
like anybody is using this demo, so let's just remove it.
2019-11-20 21:09:56 +01:00
Luca Weiss
66db4dff0c
main/xf86-video-opentegra: remove (!754)
The package doesn't build anymore and blocks the binary repository.

See postmarketOS/pmaports#339
2019-11-19 19:53:55 +01:00
Oliver Smith
7308632f6c
main/buho: fix build
It seems the the CFLAGS are not properly set in the CMakeLists.txt.
Cmake currently appends -std=gnu90 at the end of the CFLAGS, overriding
the earlier set -std=c99. Work around this with sed. Better fix is
welcome, this is a stop-gap solution to unbreak the build (which is
blocking build.postmarketos.org).
2019-11-17 20:10:19 +01:00
Bart Ribbers
6ba8b2d7ed
postmarketos-ui-matchbox: drop (!729)
It's unmaintained both on our side and upstream. Nobody stepped up to
maintain it (https://gitlab.com/postmarketOS/pmaports/issues/372), so
let's drop it before it introduces security issues and compilation
problems.
2019-11-17 15:13:10 +01:00
Bart Ribbers
ecf9cb8729
main/telepathy-ofono: rebuild against telepathy-qt (!742) 2019-11-14 14:20:31 +01:00
Bart Ribbers
d73bb462b8
main/telepathy-qt: fix lib install location (!742) 2019-11-14 14:20:27 +01:00