forked from Mirror/pmbootstrap
Fix the issue of having the postmarketOS binary repository key deleted from the chroots after "abuild undeps" removes the postmarketos-keys package. This happens if e.g. building two device packages in a row (as they depend on postmarketos-base, which depends on postmarketos-keys in current pmaports.git master). I've also considered installing the postmarketos-keys next to alpine-base in new chroots. But this would introduce a bootstrap problem, since you can't install the postmarketos-keys package unless it already exists in the repository. We'd run into that when building the next release.
9 lines
368 B
Python
9 lines
368 B
Python
# Copyright 2021 Oliver Smith
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
from pmb.chroot.init import init, init_keys
|
|
from pmb.chroot.mount import mount, mount_native_into_foreign
|
|
from pmb.chroot.root import root
|
|
from pmb.chroot.user import user
|
|
from pmb.chroot.user import exists as user_exists
|
|
from pmb.chroot.shutdown import shutdown
|
|
from pmb.chroot.zap import zap
|