* several rephrasing to clarify/correct things because some wording
was ambiguous/wrong.
* changed instructions to use a mounted partition when creating the
file. In the previous instructions the present directory was used and
if it was $HOME, then the file was created in the live memory
(aufs/unionfs). Of course using memory to create the file would limit
the size of the file to the size of free memory.
* moved part of the instructions to inside create-lukshome-file.sh so
the user can see them because the hook itself is not saved in the
built live system.
* added a check to see if /mnt directory is empty.
* added some missing "umounts" and "cryptsetup remove" in some error checks.
* removed the proposal of copying from another mounted /home/
directory. It could be confusing to the user. The user should do it
later, with the live system booted with lukshome boot option, which
should be the next thing he/she will do anyway.
* renamed variable ERROR_LEVEL to EXIT_CODE (sounded too much a
redmond batch file).
Adding the ability to disable use of the GTK graphical
debian-installer is handy either to reduce the size of the
images or if the necessary files aren't available.
If you attempt a build and it fails for whatever reasons (say, a
configuration issue) and then you retry your build without calling
lh_clean, you can sometimes run into an issue with the
'deconfiguring file /bin/hostname' step. It'll try to move
chroot/bin/hostname.orig to chroot/bin/hostname but
chroot/bin/hostname.orig won't exist as chroot/bin/hostname hasn't
been moved aside like it expects (ie. the original file is still
chroot/bin/hostname). This is frustrating since if the error was
ignored, the build would be able to complete successfully and as
expected. So, let lh_chroot_hostname check if
'chroot/bin/hostname.orig' exists before attempting to
move it to 'chroot/bin/hostname'.
First, we'll make it conditional on the existence of a replacement graphic.
Second, the location of the replacement graphic shall be in the config tree,
not on the binary image.
The real fix was done in d-i; this patch change simply turns on
the right switches. In other words, you will need to use a very
new d-i for this to work, possibly with components from SVN.
Let's hold off on actually closing #510280 though, as it gives
the wrong impression.
cdebootstrap will accept --variant=standard, but debootstrap does
not; this patch means that we don't try and pass it to
debootstrap - this can happen if switching between the two
utilities.