mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-17 05:15:09 +03:00
Rework how we handle binfmt_misc so it will work inside a user namespace. * Use a custom mountpoint (only accessible inside the mount namespace), this is the crux of the change, allowing us to mount it as non-root and avoid messing with any host configs too! * No longer explicitly modprobe binfmt_misc, any modern system should probe it automatically when we try to mount it... I think so anyways heh Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
14 lines
623 B
Python
14 lines
623 B
Python
# Copyright 2023 Oliver Smith
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
from pmb.parse.arguments import (
|
|
arguments as arguments,
|
|
arguments_install as arguments_install,
|
|
arguments_flasher as arguments_flasher,
|
|
get_parser as get_parser,
|
|
)
|
|
from pmb.parse._apkbuild import apkbuild as apkbuild
|
|
from pmb.parse._apkbuild import function_body as function_body
|
|
from pmb.parse.deviceinfo import deviceinfo as deviceinfo
|
|
from pmb.parse.kconfig import check as check
|
|
from pmb.parse.bootimg import bootimg as bootimg
|
|
from pmb.parse.cpuinfo import arm_big_little_first_group_ncpus as arm_big_little_first_group_ncpus
|