Commit Graph

20 Commits (066eb03d52868290661e813738a9a66eda263aa9)

Author SHA1 Message Date
Ben Pirt 066eb03d52 Allow image building to be skipped for stages (#137) 2018-01-03 12:48:31 +00:00
Jacen 26fcf59f3f [adding] qemu emulation layout to test images with qemu 2017-09-14 10:12:30 +01:00
Thomas Phillips 50e5c01f57 Image build date now honours timezone 2017-06-27 13:06:50 +01:00
Mike Roberts 000e61f84d Updated {i}-run-chroot script filename to match {i}-run.sh format 2017-03-20 15:53:55 +01:00
David C Wang 16b3133f46 Make WORK_DIR and DEPLOY_DIR configurable through config file 2017-03-14 14:00:28 +00:00
Serge Schneider 8373e58195 build.sh: execute postrun.sh, if executable 2017-03-13 17:44:31 +00:00
Serge Schneider 1f1ddb5f13 Specify additional variables in EXPORT_* files 2017-03-13 17:39:58 +00:00
Serge Schneider 8e74b4f15c Revert "Enable pi-gen build when "pi-gen/work" dir is a symlink"
This reverts commit 40b5af925b.
2017-03-06 14:37:13 +00:00
David C Wang 40b5af925b Enable pi-gen build when "pi-gen/work" dir is a symlink
* Occasionally, it is necessary to symbolically link the pi-gen/work
  directory to a different place on the filesystem.  This is true if
  the current partition is low on space, or when building within
  vagrant virtual machine shared mounts which do not support all
  regular fs operations.
* Without this change, the pi-gen build will fail to unmount because
  the OS 'mount' command returns canonical paths which fails to match
  the symbolically linked path to 'work' dir.
2017-03-06 11:56:12 +00:00
Serge Schneider c4fb032d3b Use capsh to ensure file capabilities aren't set 2016-11-14 23:55:45 +00:00
Serge Schneider 24ad8c2adb Revert 7f0c59d5c1 2016-10-14 15:00:12 +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 abc3e45727 build.sh: Support comments in package files (#14)
* build.sh: Support comments in package files

This patch allows the use of hash comments inside patch files.  It's a
little ugly, but it strips comments and collapses all whitespace down to
single space characters between package names.  It handles comments
anywhere in a line, as well.

Was unsure if \ continuation of the long sed line or the inclusion of a
couple of lines of comments explaining what the sed expressions are
doing would be appreciated, so didn't include them in this patch.

* build.sh: whitespace fix

* build.sh: Use sed script for packages files

Broke the sed expressions out of build.sh and put them their own
documented sed script.  This greatly improves readability and avoids
build.sh getting messier.

Broke the substitution command into two separate subs.  The first just
deletes comments, and the second collapses all whitespace into a single
space.  This too is easier to read, and catches a couple of edge cases
that would result it not all whitespace being collapsed.  The result may
still have (one) leading and/or trailing space, which is acceptable.
2016-09-08 06:32:36 +10:00
Staroselskii Georgii 9b0a793dfb build.sh: fix for patchsets with same names in substages
In that case (i.e. stage2/01-sys-tweaks and stage2/02-net-tweaks) a
directory with a same name (00-pc) is getting created for both quilt
patch sets. This might yield a situation when second patch set is not
applied.

The fix is to come up with a more sophisticated naming convention for intermediate
patchset directory (which .pc symlinks to) and create separate
directories for each patchset.
2016-07-29 18:51:55 +03:00
Serge Schneider cc5a65723c Add NOOBS export support 2016-05-27 11:54:56 +01:00
Serge Schneider de878cc217 build.sh: fix patches 2016-05-05 16:55:35 +01:00
Serge Schneider aca321fd70 Various fixes 2016-05-04 19:52:13 +01:00
Serge Schneider 2701f10c90 Initial build script 2016-04-11 07:21:07 +01:00
Serge Schneider 25b7d54af5 Setup initial layout 2016-04-08 03:32:06 +01:00