Commit graph

388 commits

Author SHA1 Message Date
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
7748ed0df1 Copy wpa_supplicant.conf from NOOBS 2017-03-06 11:49:13 +00:00
Serge Schneider
b0be14afdf Update release notes 2017-03-06 09:27:48 +00:00
Serge Schneider
daa9e35ada Copy ssh and ssh.txt to boot partition 2017-03-06 09:27:48 +00:00
Serge Schneider
a68a0713e6 Format boot partition as FAT32 2017-03-06 09:27:48 +00:00
Serge Schneider
d664bfed4b Update release notes 2017-03-06 09:27:48 +00:00
Serge Schneider
5cccd741fe stage4: install RealVNC with no recommends 2017-03-06 09:27:48 +00:00
Serge Schneider
3fa66a0699 Update release notes 2017-03-06 09:27:48 +00:00
Serge Schneider
37902fb114 export-image: Format /boot as FAT32 2017-03-06 09:27:48 +00:00
Serge Schneider
51fbf45dd7 stage2: Manually install /etc/default/console-setup
debconf alone does not seem to work
2017-03-06 09:27:48 +00: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
XECDesign
bc8a74858e Merge pull request #43 from sam3d/dev
Add stage specification documentation
2017-01-20 17:51:55 +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
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