pmbootstrap/pmb/helpers
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
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
aportupgrade.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
args.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
cli.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
devices.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
file.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
frontend.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
git.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
http.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
lint.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
logging.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
mount.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
other.py check_binfmt_misc: print more helpful error 2023-02-19 16:13:52 +01:00
package.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pkgrel_bump.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pmaports.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
repo.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
repo_missing.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
run.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
run_core.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
status.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
ui.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00