Bootstrap a Debian system in a file, mostly for deploying to Android.
Project description
This tool uses Multistrap to bootstrap a Debian (or Debian-based) system into an image file as well as adding an Android-targeted launcher script to chroot into the system.
Installation
Requirements on the host system:
Requirements on the target device:
root access
Busybox (this might be pre-installed on your system or you could use one of the various installers on the Play Store)
a kernel that supports loop mounts and whatever file system you wish to use
Installation with pip:
# pip3 install android-debian-builder
Installation from the source tarball:
# python3 setup.py install
Usage
Simply running android-debian-builder (as root) will start building a Debian image in the current directory. To see possible command line options, run android-debian-builder --help. Usually, you’ll want to customise the configuration; the easiest way is to dump the default configuration with android-debian-builder --print-config and build your own based on that.
Additional example configurations are included. These can be found in android_debian_builder/examples in the source distribution or in the examples` subdirectory of the installed package. To include one of these examples in your configuration setup, prefix the file name with ``builtin:examples/ on the command line, like so:
# android-debian-builder --config builtin:examples/jessie-armhf.cfg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file android-debian-builder-1.1.0.tar.gz
.
File metadata
- Download URL: android-debian-builder-1.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f90efd0dd9961cb52dca9fa8be61289dd7d7138e03a6ad67733959c4ccec5b1 |
|
MD5 | 21b6ba250feb82b32416daf58f545d76 |
|
BLAKE2b-256 | 704dc06283d64763c339b49e4cd430981a697a6250f052c8d09666e907f6547c |
File details
Details for the file android_debian_builder-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: android_debian_builder-1.1.0-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef724b00e1cc789e58dd50ca70abc71c35c2cfc7a878d94f3857e8e66a31896 |
|
MD5 | 513e700459cbfb76de8f58e5ec9020a5 |
|
BLAKE2b-256 | 004b9f9113d2b56f2a633f95d607ce82c997ffbd60dbae6bed972b611fa8540d |