First commit
For now xserver refuse to compile dues to missing dependencies
This commit is contained in:
commit
3d3a37d79f
34 changed files with 1570 additions and 0 deletions
51
README.md
Normal file
51
README.md
Normal file
|
@ -0,0 +1,51 @@
|
|||
MNT Reform Debian userland creation
|
||||
-----------------------------------
|
||||
|
||||
This script built an userland "filesystem" for MNT Reform 2 laptop computer.
|
||||
**Work in Progress**: for now there is some dependencies missing for compiling
|
||||
xservser.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
make_userland -r <recipe> -m <mirror> -o <output> -h
|
||||
```
|
||||
|
||||
* `recipe`: recipe to apply, see recipe section below, default:`default`
|
||||
* `mirroir`: Debian mirror to use, default: `http://ftp.debian.org`
|
||||
* `output`: output directory, default: `/tmp`, a directory named with recipe
|
||||
name will be createdin this directory.
|
||||
|
||||
## Recipe
|
||||
|
||||
A recipe is a collection of scripts and attached files inside a subdirectory
|
||||
of `recipes/`. Theses script are executed into a chroot of the destination
|
||||
directory by `mmdebstrap` and use its hook system.
|
||||
|
||||
## Docker
|
||||
|
||||
You can find a Dockerfile and an entrypoint script to help you create userland
|
||||
filesystem. This container is created to work on a x86 machine then you need to
|
||||
run the container with the `-privileged` parameter.
|
||||
|
||||
First you need to build the container :
|
||||
|
||||
```
|
||||
git clone https://git.epha.se/ephase/reform_mkuserland
|
||||
cd reform_mkuserland
|
||||
docker build -t reform_make_userland
|
||||
[...]
|
||||
```
|
||||
|
||||
And run it :
|
||||
|
||||
```
|
||||
docker run -v /home/docker/output:/output --rm --privileged reform_make_userland
|
||||
```
|
||||
|
||||
## Licence
|
||||
|
||||
This work is derivated from MNT script found [here][l_mnt_image] and licenced
|
||||
under the GPLv3 Licence
|
||||
|
||||
[l_mnt_image]:https://source.mnt.re/reform/reform-system-image/
|
Loading…
Add table
Add a link
Reference in a new issue