pmbootstrap/pmb
Oliver Smith e8a2ab2e98
check_binfmt_misc: print more helpful error
Instead of letting the mount -t binfmt_misc … command fail, and simply
telling the user that the command failed: rely on the following check
that prints a better error message on error. If it fails at this point,
the kernel option isn't enabled. Add two comments explaining why
check=False is used in this function while at it.

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230123064516.1607-1-ollieparanoid@postmarketos.org%3E
2023-02-19 16:13:52 +01:00
..
aportgen Bump copyright to 2023 2023-01-22 19:18:06 +01:00
build Bump copyright to 2023 2023-01-22 19:18:06 +01:00
chroot Bump copyright to 2023 2023-01-22 19:18:06 +01:00
ci Bump copyright to 2023 2023-01-22 19:18:06 +01:00
config Bump copyright to 2023 2023-01-22 19:18:06 +01: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 Bump copyright to 2023 2023-01-22 19:18:06 +01:00
helpers check_binfmt_misc: print more helpful error 2023-02-19 16:13:52 +01:00
install Bump copyright to 2023 2023-01-22 19:18:06 +01:00
netboot Bump copyright to 2023 2023-01-22 19:18:06 +01:00
parse Bump copyright to 2023 2023-01-22 19:18:06 +01:00
qemu Bump copyright to 2023 2023-01-22 19:18:06 +01:00
sideload Bump copyright to 2023 2023-01-22 19:18:06 +01:00
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00