[Tails-dev] Please review'n'merge test/fix-persistence-check…

Delete this message

Reply to this message
Autor: anonym
Data:  
Dla: The Tails public development discussion list
Temat: [Tails-dev] Please review'n'merge test/fix-persistence-checks
Hi,

branch: test/fix-persistence-checks
ticket: Feature #5465 <https://labs.riseup.net/code/issues/5465>

Candidate for Tails 0.20.1 or Tails 0.21, whichever comes first, so
please merge into devel and stable once 0.20 is out.

commit 00019f1d07a88186bfde0b39282cb8f1431bb3d2
Author: Tails developers <amnesia@???>
Date: Thu Apr 18 15:12:36 2013 +0200

    Fix buggy "persistence is not enabled" step.


    It grep:ed for the wrong device (DM mappings are involved) so it
    would pass even if persistence was disabled. Now this check uses the
    persistence state file created by Tails Greeter in a way similar to
    how tails-persistence-setup determines whether persistence is in
    use. Also, this step's positive version now use the same approach,
    and both steps were renamed to "is enabled/disabled" for greater
    consistency.


    The old code for this step, which checks whether all persistent
    directories have been successfully mounted, is put into a step of
    its own, since it's still something we should test.


Cheers!