Commit graph

68 commits

Author SHA1 Message Date
Serge Schneider
718a4e8c21 Switch to PARTUUID 2017-03-07 15:14:03 +00:00
Serge Schneider
8f7c537d71 partition_setup.sh: Only copy files 2017-03-06 11:58:48 +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
3fa66a0699 Update release notes 2017-03-06 09:27:48 +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
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
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
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
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