Comment 3 for bug 42019

Revision history for this message
James Westby (james-w) wrote :

Hi,

Attached is my attempt at a patch for this.

I have tested it and the functionality does what
I expect:

  * You must enter the same password at each
     prompt.
  * You are only prompted once if you don't set
     a password.
  * You can cancel at either password prompt
     to go back to the menu.

However, my testing was not satisfactory, as
for some reason grub wasn't installed when it
was running. grub-installer didn't error at all,
and installed a grub where the password was

   password --md5

i.e. blank.

I don't know if this was my fault or not.

I can test again if someone can provide some
hints. I have a virtual machine saved during
the installer just after grub-installer did
its thing if that helps.

Thanks,

James