Skip to content
/ raptz Public
forked from jozzse/raptz

raptz is capable of generating emDebian (and other systems) external architecture sysroots on Debian wheezy and later or newer Ubuntu.

Notifications You must be signed in to change notification settings

ahedlund/raptz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 Rapid APT Zysroot (why not)
-----------------------------

Create a system root:

./raptz mkroot <rootfs-path>

Directory structure
-------------------

top-dir
 +- <confdir>            - The name of the rootfs (or sysroot).
    +- raptz.cfg         - The multistrap configuration file
    +- root              - Extra root files for the enviroment
    +- conf              - Configuration files
       +-<nn><name>      - Configuration directory
         +- init.sh      - Optional init script
         +- init.dev.sh  - Optional init script for development


Basics to get a rootfs (raptz mkroot)
=====================================

Step 1 - Install rootfs (raptz mkroot)
---------------------------------

The <confdir>/raptz.cfg file is used when raptz.

Since multistrapping does not setup a complete system (configuration on
target architecture is needed for example) after multistrapping the
<confdir>/root folder is copied to the rootfs. Files are copyed if newer than
the file on rootfs or it does not exist on rootfs.
This move makes them a part of the main rootfs.

After the each directory in <confdir>/conf/ folder is copied to a temporary
directory in the rootfs and it's init scripts will be executed in a qemu
enviroment. The number of the directory name specified the order of execution.
Execution is done within a qemu-static chroot with the temporary directory
included with the first argument.

About

raptz is capable of generating emDebian (and other systems) external architecture sysroots on Debian wheezy and later or newer Ubuntu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.9%
  • Shell 4.1%