-
Notifications
You must be signed in to change notification settings - Fork 406
Adding a Distribution
corbinlc edited this page Dec 6, 2018
·
4 revisions
If you want to add a distribution that is not currently supported, here is how you go about that:
- A distribution is a special type of app. Please read this first.
- Tell us that you want to help us out by doing the work to add a new distribution. You can do this by filing an issue here.
- We will create a new repo. It will be empty, but named
UserLAnd-Assets-DISTNAME
. - You fork that new repo to do your work.
- That repo needs to contain things like you see in this one.
- The anatomy of that repository is as follows:
- The assets subdirectory is where files that need to be copied to the device live. Some interesting assets are:
-
tar.gz
files (per architecture type supported) that represent the initialchroot
image. These aresplit
to avoid going over GitHub's rule about no files over 100MB without paying. -
start*.sh
scripts that are used to startup and SSH or VNC server, so we can connect to them from client side apps. -
userland_profile.sh
which sets up, or clears, needed environment variables on each login. -
assets.txt
files (per assets subdirectory) that list out all the asset files in that subdirectory and their last modified timestamps. We use the timestamps to know when to update the files (this will become more robust later).
-
- The scripts subdirectory contains scripts that help create the assets. Some interesting scripts are:
-
buildArch.sh builds the architecture dependent files needed, including the
tar.gz
files that are used to create the initialchroot
. - installArch.sh copies those built files into the assets subdirectory.
-
buildArch.sh builds the architecture dependent files needed, including the
- The assets subdirectory is where files that need to be copied to the device live. Some interesting assets are:
- When finished, make a pull request with your changes.