[Libosinfo] [PATCH] rhel: set a volume size for atomic 7.0 ISO image
Fabiano Fidêncio
fabiano at fidencio.org
Sun Mar 18 19:49:31 UTC 2018
On Fri, Mar 16, 2018 at 2:15 PM, Daniel P. Berrangé <berrange at redhat.com> 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 at redhat.com>
> ---
> 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 at redhat.com
> 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
More information about the Libosinfo
mailing list