Hi,

I built livecd-rootfs packages with this change and built cloud images
from them. I focused my testing on cloud supporting UEFI. All VMs are
amd64 except for AWS.

KVM (Groovy):

ubuntu@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:        20.10
Codename:       groovy
ubuntu@ubuntu:~$ cat /etc/fstab
LABEL=cloudimg-rootfs   /        ext4   defaults        0 1
LABEL=UEFI      /boot/efi       vfat    umask=0077      0 1
ubuntu@ubuntu:~$ mount -l | grep efi
/dev/vda15 on /boot/efi type vfat 
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
 [UEFI]
ubuntu@ubuntu:~$ ls -l /boot/ | grep efi
drwx------ 3 root root      512 Jan  1  1970 efi

AWS ARM[0] (Focal)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
$ uname -a
Linux ip-172-31-43-214 5.4.0-1045-aws #47-Ubuntu SMP Tue Apr 13 07:04:23 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux
$ cat /etc/fstab
LABEL=cloudimg-rootfs   /        ext4   defaults,discard        0 1
LABEL=UEFI      /boot/efi       vfat    umask=0077      0 1
$ ls -l /boot/ | grep efi
drwx------ 3 root root      512 Jan  1  1970 efi

Azure (Groovy)

ubuntu@sru-test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:        20.10
Codename:       groovy
ubuntu@sru-test:~$ cat /etc/fstab
# CLOUD_IMG: This file was created/modified by the Cloud Image build process
UUID=c8c63d06-c675-48ab-b62a-e5643d892aa8       /        ext4   
defaults,discard        0 1
UUID=9468-D694  /boot/efi       vfat    umask=0077      0 1
/dev/disk/cloud/azure_resource-part1    /mnt    auto    
defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig       
0       2
ubuntu@sru-test:~$ ls -l /boot/ | grep efi
drwx------ 3 root root      512 Jan  1  1970 efi
ubuntu@sru-test:~$ mount -l | grep efi
/dev/sdb15 on /boot/efi type vfat 
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
 [UEFI]

Azure (Xenial):

ubuntu@sru-test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:        16.04
Codename:       xenial
ubuntu@sru-test:~$ cat /etc/fstab
# CLOUD_IMG: This file was created/modified by the Cloud Image build process
UUID=d098c424-d293-4328-ad4a-82f0816e5c44       /        ext4   
defaults,discard        0 1
UUID=70DB-F381  /boot/efi       vfat    umask=0077      0 1
/dev/disk/cloud/azure_resource-part1    /mnt    auto    
defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig       
0       2
ubuntu@sru-test:~$ ls -l /boot/ | grep efi
drwx------ 4 root root      512 Jan  1  1970 efi
ubuntu@sru-test:~$ mount -l | grep efi
/dev/sda15 on /boot/efi type vfat 
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
 [UEFI]


[0] On AWS only ARM machines support UEFI boot 
(https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-boots-with-uefi-or-legacy-bios/)

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

Title:
  Incorrect ESP mount options

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1881006/+subscriptions

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

Reply via email to