summaryrefslogtreecommitdiff
path: root/examples/hooks/losetup-lukshome.sh
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Settinglosetup-lukshome example hook executable bit again.Daniel Baumann1-0/+0
2011-03-09Correcting some rough edges in lukshome example hook.Rui Miguel Bernardo1-95/+144
* 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).
2011-03-09Adding example hook from Rui Miguel Bernardo <rui.bernardo.pt@gmail.com> to ↵Daniel Baumann1-0/+411
use home on a seperated luks encrypted partition.