Commit graph

3314 commits

Author SHA1 Message Date
Bart Ribbers
a1aae9ff47
temp/u-boot-pinephone: add crust firmware (MR 1163) 2020-07-16 23:14:54 +02:00
Martijn Braam
5ac381fc46
main/crust: new aport (MR 1163) 2020-07-16 23:14:45 +02:00
Oliver Smith
2722f6cac5
main/postmarketos-ui-{gnome,phosh}: less revealing epiphany user-agent (MR 1402)
Make it less trivial to fingerprint users of the epiphany browser on
postmarketOS, by replacing the postmarketOS specific user-agent with an
user-agent from a current pixel device.

Old:
	Mozilla/5.0 (postmarketOS device, like iPhone; X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 Epiphany/605.1.15

New:
	Mozilla/5.0 (Linux; Android 10; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36

Taken from the following page. Note that this seems to be one of the few
cases, where not a full android build ID is included. Which makes it a
bit harder to fingerprint. Not as good as the tor browser one, but with
that one we'd have to pretend that a webkit browser is firefox.

https://developers.whatismybrowser.com/useragents/explore/operating_platform/pixel/2

Related: https://blog.torproject.org/browser-fingerprinting-introduction-and-challenges-ahead
Related: https://developer.chrome.com/multidevice/user-agent
Related: https://webaim.org/blog/user-agent-string-history/
2020-07-15 13:35:33 +02:00
Oliver Smith
7381619a40
cross/gcc-*: upgrade to 9.3.0-r4 2020-07-14 18:06:49 +02:00
Bart Ribbers
e3e4b01add
main/postmarketos-ui-phosh: add gnome-contacts to depends (MR 1415) 2020-07-14 13:35:03 +02:00
Danct12
df50bddb6b
linux-xiaomi-lavender: halium-friendly defconfig and USER_NS (MR 1411)
Signed-off-by: Danct12 <danct12@disroot.org>
(cherry picked from commit f509c39642341c7d4fb5d0d215a6cb581b4156d1)

[ci:skip-build] Takes too long. Builds fine locally
2020-07-12 19:37:05 +03:00
Alexey Min
5ece330273
linux-xiaomi-willow: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:34:44 +03:00
Alexey Min
01cf31e75d
linux-xiaomi-vince: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:18:25 +03:00
Alexey Min
1bd981b9d0
linux-xiaomi-cactus: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:11:53 +03:00
Alexey Min
558b08b31d
linux-xiaomi-beryllium: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:54:42 +03:00
Alexey Min
d5af8012d1
linux-teclast-x80pro: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:43:58 +03:00
Alexey Min
450a23600a
linux-sony-suzu: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:12:34 +03:00
Alexey Min
5e77369afc
linux-sony-nicki-mainline: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:12:26 +03:00
Alexey Min
cfff7eb23f
linux-sony-castor-windy: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:00:53 +03:00
Alexey Min
1c897c1cdd
linux-samsung-p4wifi: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:21:38 +03:00
Alexey Min
809fd0df5e
linux-samsung-i927: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:16:35 +03:00
Alexey Min
9966992619
linux-ouya-ouya-mainline: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:04:00 +03:00
Alexey Min
e12a6f3e8f
linux-nokia-n9: enable CONFIG_USER_NS (MR 1411) 2020-07-12 16:40:50 +03:00
Alexey Min
4c227722ae
linux-motorola-payton: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:55:43 +03:00
Alexey Min
e3f8ed8467
linux-motorola-def: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:44:27 +03:00
Alexey Min
4e6585aa1e
linux-motorola-channel: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:26:54 +03:00
Alexey Min
a7ad522868
linux-huawei-cameron: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:02:09 +03:00
Alexey Min
e0369cdbc7
linux-google-crosshatch: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:40:47 +03:00
Alexey Min
bb6952f256
linux-essential-mata: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:26:28 +03:00
Alexey Min
f609fa1a71
linux-amazon-mustang: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:13:37 +03:00
Ferenc Bakonyi
39b6a7e19c
main/postmarketos-ui-fbkeyboard: support rotated fbcon, remove unneeded console resize (MR 1410) 2020-07-11 20:40:30 +03:00
PureTryOut
2f1fb6c371
main/postmarketos-ui-plasma-mobile: add dep on kaccounts-providers (MR 1376)
This way people can setup online accounts like NextCloud to sync contacts and such
2020-07-11 20:30:23 +03:00
Bart Ribbers
60f773dc4a
kde/kpeoplesink: new aport (MR 1376) 2020-07-11 19:50:42 +03:00
Oliver Smith
cb3f7f22ea
main/postmarketos-welcome-gtk3: new aport (MR 1381)
Add a simple welcome screen app, that we should eventually display when
starting Phosh for the first time (needs to be done in a different
patch).
2020-07-11 19:45:17 +03:00
gompa
4b45d93ef7
firmware-lge-h815: new aport (MR 1404)
add new firmware package
change kernel wifi firmware location
2020-07-11 17:28:16 +02:00
Ferenc Bakonyi
49b18224bb
main/fbkeyboard: upgrade to 0.4 (MR 1409) 2020-07-11 17:19:57 +02:00
Oliver Smith
7463d92293
device/*: clarify "close to mainline" (cosmetic) (MR 1408)
Make it clear, that these kernels are not mainline, but "close to
mainline".

[ci:skip-build] [ci:skip-vercheck]: just changing pkgdesc

Related: https://wiki.postmarketos.org/wiki/(Close_to)_Mainline
2020-07-11 16:06:16 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Minecrell
2a8897b079
main/linux-postmarketos-qcom-msm8916: enable CONFIG_CRYPTO_XTS (MR 1405)
Seems like "pmbootstrap kconfig edit" causes unrelated kernel config
changes for some reason (probably because pmbootstrap does not install
a cross compiler for it). For now let's just edit the config manually
with the new options so everything else stays as-is.
2020-07-11 15:26:34 +02:00
Oliver Smith
3679e6018d
samsung-i9100: fixup for linux prepare_isorec() (MR 1405)
Fixes: 10cbdc72 ("linux-samsung-i9100: modernize with new gcc8 linux aportgen code")
2020-07-11 15:26:34 +02:00
Oliver Smith
1bdafe5aa0
wiko-lenny2: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ca883ecf9d
gp-peak: delete 'rm .config' in linux pmaport (MR 1405)
Remove it, to prevent the following error:
	rm: can't remove '.config': No such file or directory

This must have been necessary before, because the prepare script was
different, or abuild did something differently.
2020-07-11 15:26:34 +02:00
Oliver Smith
e794dde79e
gp-peak: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ae35afd208
asus-z00vd: use _outdir in linux pmaport (MR 1405)
Make it possible to find the kernel config with "pmbootstrap kconfig
edit". While at it, also remove redundant -C "$builddir" arguments for
make (since prepare is running in $builddir already).
2020-07-11 15:26:34 +02:00
Oliver Smith
e62c87a4e8
oneplus-sdm845: adjust to linux source rename (MR 1405) 2020-07-11 15:26:29 +02:00
Martijn Braam
7743b4a25d
pine64-pinephone: use wys-pinephone (MR 1406) 2020-07-11 12:12:23 +02:00
Martijn Braam
c6afbf8942
temp/wys-pinephone: new aport (MR 1406) 2020-07-10 22:37:59 +02:00
Danct12
50aa62358b
main/postmarketos-ui-plasma-mobile: combine extras package into a subpackage (MR 1006) 2020-07-09 09:19:42 +03:00
PureTryOut
6b1b89f271
main/mkbootimg-osm0sis: upgrade to 2020.05.18 (MR 1375) 2020-07-08 19:12:56 +03:00
Oliver Smith
204a56c095
CI: add distfile-check (MR 1388)
Verify that each distfile has the same hash in a directory full of APKBUILDs.

I've considered merging the new job with aports-static, but since there
are quite a few setup steps, it would make the .gitlab-ci.yml less
readable.

Related: https://gitlab.com/postmarketOS/ci-common/-/blob/master/distfile-check/README.md
2020-07-08 18:05:32 +02:00
Oliver Smith
76b3512a1c
CI: aports-static: remove redundant apk add git (MR 1388)
install_pmbootstrap.sh is already installing git, and that line can be
used to install additional dependencies (as done currently with pytest).
2020-07-08 18:05:32 +02:00
Oliver Smith
784782f543
main/postmarketos-base: keep /etc/fstab (MR 1398)
Only add a comment, do not try to mount the root or boot partitions
anymore. The initramfs is doing this already.

Related: https://postmarketos.org/fstab
2020-07-08 18:02:49 +02:00
Oliver Smith
863ec713ba
main/postmarketos-mkinitfs: mount /sysroot/boot (MR 1398)
Mount the boot partition at /sysroot/boot and keep it mounted, when
running the switch_root command. This way, OpenRC doesn't need to mount
it and possibly use the wrong partition. The OpenRC service does not use
the same logic to find the boot partition, in particular it does not
support the pmos_boot kernel parameter.

While at it, print the mountpoint and read-only/read-write arguments in
the mounting log message for both root and boot.

Fixes: #664
2020-07-08 18:02:49 +02:00
Oliver Smith
58ae4df2ef
main/postmarketos-base: rm write_unless_modified (MR 1398)
Get rid of the "write_unless_modified" code, which was supposed to only
change /etc/fstab, /etc/issue, /etc/motd if the user did not modify it.

This is nice in theory, but we have a bug report where the code did not
do what it should (apk audit possibly failed due to a qemu bug?), and
then it lead to strange bugs related to not having the expected
/etc/fstab installed.

Fixes: #661, #258
2020-07-08 18:02:49 +02:00
Martijn Braam
4cff95a5bb
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200705 (MR 1397)
This adds panel stability patches and enables more resolutions on
the hdmi port of the A64.
2020-07-08 17:26:42 +02:00