Skip to content

Tails installer partition label not recognized in gui.py

While working on #10539 (closed), I realised that in tails_installer/gui.py a piece of code which is supposed to show the disk label does not work as intended:


478                 details = (_("%(size)s %(label)s") % {
479                                 'label': info['label'],
480                                 'size': size
481                             }
482                            if info['label']
483                            else size)
484                 pretty_name = _("%(vendor)s %(model)s (%(details)s) - %(device)s") % {
485                     'device':  info['device'],
486                     'vendor':  info['vendor'],
487                     'model':   info['model'],
488                     'details': details
489                 }

The part which shows the details is not shown at all and info[‘label’] seems to be not set.

I did not have time to dive into it yet in details.

Parent Task: #7544 (closed)

Original created by @u on 10581 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information