Re: [PATCH] rhel: set a volume size for atomic 7.0 ISO image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 16, 2018 at 2:15 PM, Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote:
> All the atomic ISO images have the same systemd-id and volume-id, so the
> only way to distinguish them is based on volume size. The 7.1 and 7.2
> media have a volume-size recorded, but the 7.0 media does not.
>
> Currently we load entities in the order in which the filesystem returns
> them from readdir(). If we're unlucky this can mean when matching media,
> we'll match a 7.1 or 7.2 ISO against the 7.0 media by mistake.
>
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  data/os/redhat.com/rhel-atomic-7.0.xml.in | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/data/os/redhat.com/rhel-atomic-7.0.xml.in b/data/os/redhat.com/rhel-atomic-7.0.xml.in
> index cb9434e..5db6efa 100644
> --- a/data/os/redhat.com/rhel-atomic-7.0.xml.in
> +++ b/data/os/redhat.com/rhel-atomic-7.0.xml.in
> @@ -22,6 +22,7 @@
>        <iso>
>          <system-id>LINUX</system-id>
>          <volume-id>RHEL.*Atomic.*7 x86_64.*</volume-id>
> +        <volume-size>750313472</volume-size>
>        </iso>
>        <kernel>isolinux/vmlinuz</kernel>
>        <initrd>isolinux/initrd.img</initrd>
> --
> 2.14.3
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Patch will be pushed Today and will be part of the next release (done
later Today!).

-- 
Fabiano Fidêncio

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux