So....

I think grubenv at ubuntu-image creation time should be written to
EFI/ubuntu/grubenv, not to boot/grub/grubenv, despite the fact that that
is where it is at runtime.

I expect no /var/ directory on the UbuntuSeed partition.

I expect no /snaps/ directory on the UbuntuSeed partition.

But this is me probably reading the code wrong! Or the fact that many
different pieces are out-of-date / incompatible from each other.

So I am attaching what is current.txt in the UbuntuSeed partition, and
what initrd seems to expect. Please check/validate if that makes sense
or is wrong and need changes! And then we need to make like ubuntu-image
and/or snap prepare-image to do the expect things on disk, and then
adjust gadget|initramfs to match that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852544

Title:
  uc20 grubenv block seems odd

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-pc/+bug/1852544/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to