Commit Graph

156 Commits (b8c94731c5e9630a934e27c9e089b62fa2907fa2)

Author SHA1 Message Date
Serge Schneider 354be6e00b Fix .config permissions 2016-11-14 18:03:57 +00:00
Serge Schneider 88622b63d3 Remove unnecessary lightdm patch 2016-11-14 18:03:12 +00:00
XECDesign dd72c202ce Merge pull request #30 from turbobytes/dev
adding mkdosfs to depends file
2016-11-14 16:24:44 +00:00
Sajal Kayan a6c7ad7736 adding mkdosfs to depends file 2016-11-14 23:17:06 +07:00
XECDesign efb26e03d8 adding dosfstools as a build dependency (#29) 2016-11-14 15:43:56 +00:00
Sajal Kayan ed1643bcda adding dosfstools as a build dependency 2016-11-14 22:38:59 +07:00
Serge Schneider 0908332966 stage4: remove autologin patch (added to lightdm) 2016-10-27 17:43:05 +01:00
Serge Schneider 5854406f80 stage4: remove 40-scratch.rules (added to nuscratch) 2016-10-27 17:43:05 +01:00
Serge Schneider c017c51d46 stage3: pre-seed rpi-chromium-mods/adobe note 2016-10-27 17:43:05 +01:00
Serge Schneider e06f61b573 stage2: remove sudoers modification (merged into raspberrypi-sys-mods) 2016-10-18 16:46:21 +01:00
Serge Schneider 801c8cac74 stage3: don't install udisks 2016-10-18 15:25:54 +01:00
Serge Schneider 71793ce183 stage2: install raspberrypi-net-mods 2016-10-18 15:23:02 +01:00
Serge Schneider 232d0a48a0 Remove desktop-background setting (not used by PIXEL) 2016-10-18 15:23:02 +01:00
Serge Schneider e800956bd8 Remove changes transferred into raspberrypi-ui-mods 2016-10-18 15:23:02 +01:00
Serge Schneider 24ad8c2adb Revert 7f0c59d5c1 2016-10-14 15:00:12 +01:00
chz^3 017d3a4341 rsync single file system (#25)
If proc is mounted in rootfs (e.g., via chroot), rsync will try copying kcore
when permitted to cross file system boundaries.
2016-10-09 22:09:25 +01:00
Joseph Carter d1f766d2b8 Fix umount_image (#22)
* export-noobs/prerun.sh: Use nested mountpoint

While it seems elegant and intuitive to use separate bootfs and rootfs
mountpoints for compressing the partitions, doing so violates a
precondition of unmount_image that they be mounted as a tree.  This
causes the image to not be properly unmounted and detached.  A better
solution might be to pack up the previous stage's chroot directory, but
that rework can wait for the time being.

scripts/common.sh: Output device name correctly

A misplaced ) in unmount_image caused the loop device to be incorrectly
identified, resulting in a fair bit of chaos trying to unmount other
filesystems on /dev/mapper devices.  Such as / on a LUKS-encrypted
installation, for example.  The unmount will fail as it should and
build.sh will abort the build without any cleanup.  Best to avoid that.

These changes close RPi-Distro/pi-gen#19
2016-10-06 10:14:43 +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
Serge Schneider 62406bad92 stage2: Noobs export 2016-09-21 04:59:49 +10:00
Serge Schneider 7c38f07bb3 stage4: add Sense HAT emulator 2016-09-21 04:59:48 +10:00
Serge Schneider d5f1040054 stage3: add chromium 2016-09-21 04:59:48 +10:00
Serge Schneider 14914c7075 stage4: add aditional python packages 2016-09-21 04:55:53 +10:00
Serge Schneider 4a76f38f45 Add RealVNC 2016-09-21 04:55:53 +10:00
Serge Schneider a1f89797ee stage3: add rfkill (needed for bluetooth plugin) 2016-09-19 15:01:17 +10:00
Serge Schneider ea205dc387 Remove 98-rpi.conf (now handled by raspberrypi-sys-mods) 2016-09-15 15:30:44 +10:00
Serge Schneider a07b9c5c4e dependencies_check: add missing bracket (closes issue #17). 2016-09-15 13:16:13 +10:00
Joseph Carter 0245cbb958 Dependency checks + important bugfix (#16) 2016-09-14 20:07:52 +10:00
XECDesign 8605ca74b2 Create License.md 2016-09-14 01:29:07 +10:00
Joseph Carter 6ee83b0eab Implement Landrash's suggestions for README.md (#15) 2016-09-11 13:16:21 +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
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
XECDesign 9cf2f2efe6 Merge pull request #9 from iKarith/dev
Minor README.md updates
2016-09-02 10:03:47 +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
XECDesign 2413210a6f Merge pull request #8 from staroselskii/pr-fix-network-interfaces-for-lite-image
Fix for patchsets with same names in substages
2016-07-30 02:41:03 +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 dddb5b5f74 export-noobs: ensure STAGE_WORK_DIR exists 2016-05-27 13:22:06 +01:00
Serge Schneider 5add7283d4 Add noobs export stage 2016-05-27 11:56:23 +01:00
Serge Schneider 062af361c8 Merge branch 'base' into dev 2016-05-27 11:55:26 +01:00
Serge Schneider cc5a65723c Add NOOBS export support 2016-05-27 11:54:56 +01:00
Serge Schneider 96bb138c83 hardlink documentation 2016-05-19 19:45:54 +01:00
Serge Schneider 00f9443309 Add python spidev packages 2016-05-17 15:01:30 +01:00
Serge Schneider c32099002b fix alacarte menu hiding problem 2016-05-09 18:29:21 +01:00
Serge Schneider bdca3e3b48 Rework 2016-05-05 21:21:42 +01:00
Serge Schneider 19a1b94d2a Merge branch 'base' into dev 2016-05-05 19:39:43 +01:00
Serge Schneider de878cc217 build.sh: fix patches 2016-05-05 16:55:35 +01:00
Serge Schneider b61c63db8f common: Fix issue date 2016-05-05 14:55:53 +01:00
Serge Schneider aca321fd70 Various fixes 2016-05-04 19:52:13 +01:00
Teguh Sobirin 612c1a73f1 Add missing /dev/pts
Missing /dev/pts causing "Can not write log, openpty() failed (/dev/pts not mounted?)"
2016-04-27 10:33:04 +01:00