pmb.sideload package¶
Module Contents¶
- pmb.sideload.scp_abuild_key(args: PmbArgs, user: str, host: str, port: str) None ¶
Copy the building key of the local installation to the target device, so it trusts the apks that were signed here. :param user: target device ssh username :param host: target device ssh hostname :param port: target device ssh port
- pmb.sideload.sideload(args: PmbArgs, user: str, host: str, port: str, arch: Arch | None, copy_key: bool, pkgnames: list[str]) None ¶
Build packages if necessary and install them via SSH.
- Parameters:
user – target device ssh username
host – target device ssh hostname
port – target device ssh port
arch – target device architecture
copy_key – copy the abuild key too
pkgnames – list of pkgnames to be built
- pmb.sideload.ssh_find_arch(args: PmbArgs, user: str, host: str, port: str) Arch ¶
Connect to a device via ssh and query the architecture.
- pmb.sideload.ssh_install_apks(args: PmbArgs, user: str, host: str, port: str, paths: list[Path]) None ¶
Copy binary packages via SCP and install them via SSH. :param user: target device ssh username :param host: target device ssh hostname :param port: target device ssh port :param paths: list of absolute paths to locally stored apks