pmbootstrap/pmb
Newbyte c6a8a2614d
pmb.config.sudo: Use type union compatible with Python 3.7
The Type | OtherType syntax for writing unions was introduced in Python
3.10. We want to support Python 3.7, so use an Optional type hint
instead which declares the same thing and is supported by 3.7.

Fixes: d31313f7 ("Don't use 'sudo' when running as root")
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230605063142.6843-1-newbyte@postmarketos.org%3E
2023-06-05 13:12:52 +02:00
..
aportgen aportgen/binutils: set pmOS bugurl 2023-05-25 09:45:07 +02:00
build build: make preferred target arch configurable 2023-05-01 13:19:14 +02:00
chroot Don't use 'sudo' when running as root 2023-06-04 11:35:08 +02:00
ci Use ruff for linting 2023-06-04 10:56:22 +02:00
config pmb.config.sudo: Use type union compatible with Python 3.7 2023-06-05 13:12:52 +02:00
data pmb: data: keys: sync with Alpine (MR 2131) 2021-10-19 01:44:35 +02:00
export Bump copyright to 2023 2023-01-22 19:18:06 +01:00
flasher pmb.flasher.frontend: Use elif instead of repeated if 2023-05-17 22:55:01 +02:00
helpers pmb.helpers.frontend: Also clear testsuite log when running log -c 2023-06-04 11:41:23 +02:00
install install: write new file instead of modifying locale.sh from alpine-baselayout 2023-05-15 08:35:00 +02:00
netboot Bump copyright to 2023 2023-01-22 19:18:06 +01:00
parse kconfig check: Add USB gadget check to community 2023-05-02 08:38:04 +02:00
qemu qemu/run: add support for EFI boot 2023-03-24 09:11:48 +01:00
sideload Bump copyright to 2023 2023-01-22 19:18:06 +01:00
__init__.py pmb: Remind users to ensure pmbootstrap is updated before reporting errors 2023-05-25 09:24:13 +02:00