Commit Graph

59 Commits

Author SHA1 Message Date
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