Commit graph

45 commits

Author SHA1 Message Date
gudata
640027d5df build script is build.sh
build script is build.sh
2019-01-21 19:29:17 +10:00
Sam Tygier
d7ef46b06a Allow custom stages
STAGE_LIST can be specified in the config file to run additional build stages.
2019-01-07 12:49:45 +10:00
Sam Tygier
7fbfdda31e Add commandline argument for config file
A config file can be specified when running build, e.g.:

  ./build.sh myconfig
2018-12-21 04:09:47 +00:00
Sam Tygier
cc6605695d Allow enabling ssh server from config
Add ENABLE_SSH option
2018-12-21 04:09:47 +00:00
Sam Tygier
f4dc2dcce6 Allow setting up wifi from config
Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
2018-12-21 04:09:47 +00:00
Sam Tygier
d07096ebb5 Allow setting user name and password from config
Add FIRST_USER_NAME and FIRST_USER_PASS variables that can be set
in the config (or enviroment). Defaults to the standard pi and
raspberry.
2018-12-21 04:09:47 +00:00
Krisjanis Rijnieks
c9b658ecd6 Add curl to apt-get script in README 2018-10-22 13:58:15 +01:00
Attie Grande
330ce73491 added Troubleshooting section to README.md, and addressed binfmt_misc issues 2018-08-03 12:21:26 +01:00
Serge Schneider
07bb3bdc7d depends: add 'git' 2018-07-03 14:29:23 +01:00
Serge Schneider
8e898a6b34 depends: add 'file' 2018-07-03 14:21:57 +01:00
David Steele
75452f9a00 Add README detail on the 'patches' process (#170) 2018-03-24 18:10:47 +00:00
David Steele
de5b2baa1c README.md: Clarify USE_QEMU (#165) 2018-03-19 19:17:58 +00:00
Junian Triajianto
019d47db3b Update stage specification using SKIP_IMAGES (#163)
Change Stage specification guide from removing `EXPORT*` files to adding `SKIP_IMAGES` as per new recommended development process.
2018-03-13 10:20:22 +00:00
andig
b4035400ff Add option to preserve build container (#160) 2018-03-05 15:35:11 +00:00
Ben Pirt
066eb03d52 Allow image building to be skipped for stages (#137) 2018-01-03 12:48:31 +00:00
Ben Pirt
6e32569415 Update README with some information on how the build works (#136) 2017-12-15 11:31:40 +00:00
Rick
9f2941954f Add caution about WORK_DIR filesystem 2017-09-28 13:40:58 +01:00
Jacen
26fcf59f3f [adding] qemu emulation layout to test images with qemu 2017-09-14 10:12:30 +01:00
Serge Schneider
2f032b1d19 Update README.md
Fixes #105
2017-09-04 09:39:04 +01:00
Serge Schneider
68cdf34cb4 Add xz-utils dependency
Closes #90
2017-07-28 13:22:03 +01:00
TJ Rana
3441133d1c Corrected various typos (#91)
* Rename License.md to LICENSE

* Correct typos

* Clean up code layout

Organize layout with extra lines
2017-07-27 12:11:07 +02:00
Claus Strasburger
fe45b73987 Added docker-compose.yml for easy apt-cacher-ng startup 2017-07-17 12:21:37 +02:00
Serge Schneider
be2018ee5f README: Add stage 5 description 2017-06-27 13:16:41 +01:00
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