Update README.md
This commit is contained in:
parent
ea93abbd73
commit
4f6cdd3a9c
52
README.md
52
README.md
|
@ -1,43 +1,12 @@
|
||||||
#TODO
|
|
||||||
|
|
||||||
1. Documentation
|
|
||||||
|
|
||||||
#Dependencies
|
#Dependencies
|
||||||
|
|
||||||
`quilt kpartx realpath qemu-user-static debootstrap zerofree pxz zip dosfstools bsdtar libcap2-bin`
|
`quilt kpartx realpath qemu-user-static debootstrap zerofree pxz zip dosfstools bsdtar libcap2-bin`
|
||||||
|
|
||||||
#Config
|
|
||||||
|
|
||||||
Upon execution, `build.sh` will source the file `config` in the current
|
|
||||||
working directory. This bash shell fragment is intended to set needed
|
|
||||||
environment variables.
|
|
||||||
|
|
||||||
The following environment variables are supported:
|
|
||||||
|
|
||||||
* `IMG_NAME` **required** (Default: unset)
|
|
||||||
|
|
||||||
The name of the image to build with the current stage directories. Setting
|
|
||||||
`IMG_NAME=Raspbian` is logical for an unmodified RPi-Distro/pi-gen build,
|
|
||||||
but you should use something else for a customized version. Export files
|
|
||||||
in stages may add suffixes to `IMG_NAME`.
|
|
||||||
|
|
||||||
* `APT_PROXY` (Default: unset)
|
|
||||||
|
|
||||||
If you require the use of an apt proxy, set it here. This proxy setting
|
|
||||||
will not be included in the image, making it safe to use an `apt-cacher` or
|
|
||||||
similar package for development.
|
|
||||||
|
|
||||||
A simple example for building Raspbian:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
IMG_NAME='Raspbian'
|
|
||||||
```
|
|
||||||
|
|
||||||
#Stage Anatomy
|
#Stage Anatomy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Raspbian Stage Overview
|
# drideOS (Raspbian) Stage Overview
|
||||||
|
|
||||||
The build of Raspbian is divided up into several stages for logical clarity
|
The build of Raspbian is divided up into several stages for logical clarity
|
||||||
and modularity. This causes some initial complexity, but it simplifies
|
and modularity. This causes some initial complexity, but it simplifies
|
||||||
|
@ -67,21 +36,4 @@ maintenance and allows for more easy customization.
|
||||||
creates necessary groups and gives the pi user access to sudo and the
|
creates necessary groups and gives the pi user access to sudo and the
|
||||||
standard console hardware permission groups.
|
standard console hardware permission groups.
|
||||||
|
|
||||||
There are a few tools that may not make a whole lot of sense here for
|
- Stage 3, Install Dride related softwere.
|
||||||
development purposes on a minimal system such as basic python and lua
|
|
||||||
packages as well as the `build-essential` package. They are lumped right
|
|
||||||
in with more essential packages presently, though they need not be with
|
|
||||||
pi-gen. These are understandable for Raspbian's target audience, but if
|
|
||||||
you were looking for something between truly minimal and Raspbian-lite,
|
|
||||||
here's where you start trimming.
|
|
||||||
|
|
||||||
- Stage 3, desktop system. Here's where you get the full desktop system
|
|
||||||
with X11 and LXDE, web browsers, git for development, Raspbian custom UI
|
|
||||||
enhancements, etc. This is a base desktop system, with some development
|
|
||||||
tools installed.
|
|
||||||
|
|
||||||
- Stage 4, complete Raspbian system. More development tools, an email
|
|
||||||
client, learning tools like Scratch, specialized packages like sonic-pi and
|
|
||||||
wolfram-engine, system documentation, office productivity, etc. This is
|
|
||||||
the stage that installs all of the things that make Raspbian friendly to
|
|
||||||
new users.
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user