Commit Graph

123 Commits

Author SHA1 Message Date
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
Yossi
64a14a749f Add dride install script 2017-01-19 19:58:51 +02:00
Serge Schneider
1806504983 stage2: Add apt-transport-https
Fixes RPi-Distro/repo#52
2017-01-12 14:24:43 +00:00
Serge Schneider
a9c27d27bd stage4: don't copy ui-mods files 2016-12-06 16:32:33 +00:00
XECDesign
d0020af839 README.md: Add libcap2-bin as a dependency 2016-12-05 12:32:19 +00:00
XECDesign
09a29f745c Merge pull request #35 from martignoni/dev
Add bsdtar to dependencies
2016-12-05 12:31:09 +00:00
Nicolas Martignoni
2b3cb8ff72 Add bsdtar to dependencies 2016-12-04 20:38:28 +01:00
Serge Schneider
06ba664bfc export-noobs: umount boot before archiving root
bsdtar does not add directories which are mountpoints. This removes /boot from
the archive and prevents init_resize.sh from working.
2016-11-29 14:42:40 +00:00
Serge Schneider
848cbf48a0 partition_setup.sh: Don't cut off parameters added by pix-plym-splash 2016-11-29 14:42:14 +00:00
Serge Schneider
21a681692a Port regenerate_ssh_host_key to a systemd service 2016-11-24 20:07:05 +00:00
Serge Schneider
c5e4f61df2 regenerate_ssh_host_keys: run in the foreground 2016-11-24 17:41:10 +00:00
Serge Schneider
58e7e4023e Disable SSH by default 2016-11-23 16:15:22 +00:00
Serge Schneider
845496123b export-noobs: use gnutar format for bsdtar 2016-11-22 12:12:40 +00:00
Serge Schneider
b84399f9aa Update release notes 2016-11-21 18:33:26 +00:00
Serge Schneider
09590eba4a export-noobs: use bsdtar 2016-11-21 18:00:51 +00:00
Serge Schneider
c4fb032d3b Use capsh to ensure file capabilities aren't set 2016-11-14 23:55:45 +00:00
Serge Schneider
db10424a9b stage4: add pprompt 2016-11-14 18:04:10 +00:00
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