Commit graph

22 commits

Author SHA1 Message Date
Andrew Smith
22c4105b57 Tell docker to delete the volume as well
Addresses #62

Because of the use of volumes the .img files (and everything else) will stay around on disk even when you do `docker rm pigen_work`. Passing `-v` deletes the volume as well and frees up disk space.
2017-06-27 13:10:09 +01:00
Jacob Siverskog
d2f88a6e4f Update stage specification example
The previous example failed for me due to a missing SKIP in
stage5. While at it, complete the example with all steps needed to get
an image generated.
2017-06-27 13:09:40 +01:00
T. Joseph Carter
d729fc2dbb README.md: Describe more config variables, cleanup
Added some documentation of environment variables to README.md,
specifically WORK_DIR and DEPLOY_DIR.  Explicitly did not include
SCRIPT_DIR at this time because that appears to require some small work
before it can be changed.

Took the chance for some other syntax cleanups while I was at it, mostly
breaking long lines and inserting whitespace where some Markdown parsers
require it.
2017-05-08 16:25:04 +01:00
Ross Schulman
8f017cb69a Building in a different direction by replacing stage folders (#51) 2017-02-26 18:12:37 +00:00
Sam Holmes
a45a061ec4 Add README warning for binfmt-support requirement (#46) 2017-02-08 16:10:11 +00:00
Claus F. Strasburger
667318116a Added Docker support (#40)
* Added Docker support

- replaced necessity for devicemapper (through kpartx) by using parted and
  losetup with offsets
- added Dockerfile
- added dependency for parted and grep
- added hints to README.md
- common: loop through unmounts, fix shellcheck warnings

* stage2: use debconf instead of console-setup patch. Fixes #41
2017-01-23 12:44:03 +00:00
Sam Holmes
a1c26242f6 Add stage specification instructions 2017-01-20 17:38:41 +00:00
Sam Holmes
c5e36bc86a Tidy up README hierarchy further 2017-01-20 17:38:41 +00:00
Sam Holmes
9f5cfdea6b Update README markdown formatting
The additional space between the # at the beginning of a section and
title conforms to correct markdown spec (and works in all markdown
renderers, as opposed to just GitHub)
2017-01-20 17:38:37 +00:00
XECDesign
d0020af839 README.md: Add libcap2-bin as a dependency 2016-12-05 12:32:19 +00:00
Nicolas Martignoni
2b3cb8ff72 Add bsdtar to dependencies 2016-12-04 20:38:28 +01:00
Sajal Kayan
ed1643bcda adding dosfstools as a build dependency 2016-11-14 22:38:59 +07:00
Serge Schneider
24ad8c2adb Revert 7f0c59d5c1 2016-10-14 15:00:12 +01:00
Joseph Carter
1d18e27f9c README.md: Improve config variable documentation (#24) 2016-10-05 22:56:45 +01:00
Greg MacLellan
7f0c59d5c1 Add MAX_STAGE and RUN_STAGE variables (#21)
* Add MAX_STAGES variable

If set, only runs up to that stage

* Show "Skipping stageX" message for all skipped stages

* Add RUN_STAGE variable to run a single stage

* Document RUN_STAGE and MAX_STAGE

* Removed SKIP file support for main stage
2016-10-05 09:32:03 +01:00
Joseph Carter
0245cbb958 Dependency checks + important bugfix (#16) 2016-09-14 20:07:52 +10:00
Joseph Carter
6ee83b0eab Implement Landrash's suggestions for README.md (#15) 2016-09-11 13:16:21 +10:00
Joseph Carter
b9b8df3d11 README.md: Working toward basic documentation (#10)
* README.md: document config file

Still pretty sparse, but as this bit is necessary to actually use
pi-gen, here it is.

* README.md: Overview of Raspbian's stages

* README.md: Stages -> Raspbian Stages + heading

Decided that the Stages heading probably made more sense as being
retitled to refer specifically to Raspbian since it has no direct
bearing on pi-gen itself which could produce any Debianish system for
the pi, and also that there ought to be a Stage Anatomy section first
talking about the nuts and bolts of what goes into these stages.

Stage Anatomy is just a heading for now.

* README.md: Make Config section less conversational

Left the stage overview as it was since it's intended more as a plain
language explanation than a technically complete look.  I believe that
kind of information is useful to have, but perhaps as README.md becomes
longer it may be advisable to move it to another location.
2016-09-05 14:02:39 +10:00
T. Joseph Carter
fa88d07848 README.md: Image and NOOBS export exist now
Document that the TODO items of exporting images and NOOBS packages have
been implmented.
2016-09-01 15:35:22 -07:00
T. Joseph Carter
0ff507a048 README.md: Note dependency on pxz
The export of a NOOBS image requires the pxz program.
2016-09-01 15:33:33 -07:00
Serge Schneider
5200b19f9a Update README.md 2016-04-11 07:32:43 +01:00
Serge Schneider
25b7d54af5 Setup initial layout 2016-04-08 03:32:06 +01:00