thecoder-001 / debian-rootfs

Generation of Debian rootfs for multiple architectures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️

Please prefer to use upstream repos

Testing repo

CHANGE LOG

This forked fork have made following changes to the original code:

  • Switched back to debian buster as MIPS big-endian support has been dropped.
  • From upstream:
    • Added support for riscv64 architecture. To generate, run sudo ./make-rootfs.sh riscv64 multistrap_debian-ports.conf
    • Removed deprecated package iproute
    • Added packages vim binutils file gcc and make. If they are not wanted, remove them in multistrap*.conf

Note

I experienced an error with the message

The following signatures couldn't be verified because the public key is not available

when using multistrap. According to this report, that is a bug in multistrap. This patch can be applied to $(which multistrap) to fix it.

debian-rootfs

Generation of Debian rootfs for multiple architectures

This project relies on multistrap and thus can only be used on Debian/Ubuntu host system.
Its purpose is to automate the generation of Debian rootfs for the following architectures:

The following packages need to be installed:
# apt-get install multistrap binfmt-support qemu-user-static

To create a Debian rootfs, symply run:
# ./make-rootfs.sh ARCHITECTURE

Default multistrap configuration files provide Debian packages suited to embedded targets.
They have been tested on a Debian Jessie amd64 host system to build rootfs for all architectures.
They can be modified/overriden if you want to add/remove packages installed by default.

The generated rootfs are ready to use, no further configuration is required.
The root user has an empty password and logs automativally in.
A ssh server is also running (except for s390x), root can connect to it with an emtpy password.

Once running on your target, the rootfs can be upgraded with apt-get commands.

As examples, already built rootfs can be downloaded by clicking on the architecture name in the above list.

About

Generation of Debian rootfs for multiple architectures

License:MIT License


Languages

Language:Shell 100.0%