Commit graph

3357 commits

Author SHA1 Message Date
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
Bart Ribbers
52072fa952 temp/plasma-phone-components: upgrade to 5.19.3_git20200626 2020-07-08 15:47:41 +02:00
Bart Ribbers
51b6a561a3 temp/plasma-nano: upgrade to 5.19.3_git20200705 2020-07-08 15:46:41 +02:00
Oliver Smith
dfd81314b0
device/testing/firmware-google-glass: fix distfiles collision (MR 1399)
Add a $_commit prefix infront of each distfile, so bcmdhd.cal and
fw_bcmdhd.bin do not conflict with firmware-sony-sumire.
2020-07-08 05:27:50 +03:00
Dolphin von Chips
f15f71c36f
device/community/firmware-pine64-rtl8723bt: add missing "replaces=" (MR 1400)
Package got renamed and "provides" wasn't added, so right now
`apk upgrade -a` with firmware-rtl8723bt installed results in
`ERROR: firmware-pine64-rtl8723bt-0_git20181104-r0: trying to overwrite lib/firmware/rtl_bt/rtl8723bs_config-pine64.bin owned by firmware-rtl8723bt-0_git20181104-r0.`
Add `replaces="firmware-rtl8723bt"` so `apk` prefers this package.

[ci:skip-build]: already built successfully in CI
2020-07-07 20:23:37 +02:00
Oliver Smith
3e012e3714
CI: test_directory_structure: mention firmware mv (MR 1362)
Instead of encouraging the user to add the directory to
test_directory_structure.py, mention that we just moved the firmware to
device/{main,community,testing}/. This will be more helpful for users
who get the message after rebasing on master.

In the rare case that we need to change the directory structure, we will
figure out which file to edit.

[ci skip]: various firmware packages fail when built at the same time
           (they use generic source files like "bcmdhd.cal" with different checksums)
2020-07-07 16:06:02 +02:00
Minecrell
c590ed74cf
firmware/*: move rest of firmware packages to device/testing (MR 1362)
After moving the firmware packages used by devices in community to
device/community, move the rest of the firmware packages to device/testing.
2020-07-07 16:05:58 +02:00
Minecrell
4724b0f9c1
firmware/*: move community firmware packages to device/community (MR 1362)
Right now we have all firmware packages under firmware/*.
This is problematic for mainly two reasons:

  - It's not immediately clear which firmware packages we need to keep
    when forking a new stable branch. (Where we delete testing devices
    at the moment...) We might end up deleting firmware packages that
    are actually used by one of the devices in community.

  - When backporting devices to the stable we cannot just cherry-pick
    the commit that moved the device to community (since it does not
    contain the firmware package). Instead we need to cherry-pick
    earlier commits as well, which may touch a lot of deleted files
    in the testing directory.

Let's make this consistent by also placing the firmware packages in
the device/* directory. We already have the common firmware- prefix
to distinguish them from device/kernel packages, which are already
both under the device/* directory.
2020-07-07 15:48:57 +02:00