[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers
From: |
Ani Sinha |
Subject: |
Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers |
Date: |
Thu, 4 May 2023 14:47:02 +0530 |
> On 04-May-2023, at 2:19 PM, Ani Sinha <anisinha@redhat.com> wrote:
>
>
>
>> On 04-May-2023, at 1:32 PM, Daniel P. Berrangé <berrange@redhat.com> wrote:
>>
>> On Thu, May 04, 2023 at 08:35:53AM +0200, Thomas Huth wrote:
>>> On 03/05/2023 16.55, Ani Sinha wrote:
>>>> mformat and xorriso tools are needed by biosbits avocado tests. This
>>>> patchset
>>>> adds those two tools in the docker container images.
>>>
>>> tests/qtest/cdrom-test.c already uses genisoimage to create ISO images, and
>>> the containers already have that tool installed. Could you maybe switch the
>>> biosbits test to use that tool? Or the other way round? ... at least having
>>> two tools to create ISO images in our containers sounds IMHO excessive.
>>
>> It looks like this series wasn't tested, because it doesn't even install
>> the alpine image:
>>
>> ERROR: unable to select packages:
>> cdrkit-1.1.11-r3:
>> conflicts: xorriso-1.5.4-r2[cmd:mkisofs=1.1.11-r3]
>> satisfies: world[cdrkit]
>> xorriso-1.5.4-r2:
>> conflicts: cdrkit-1.1.11-r3[cmd:mkisofs=1.5.4-r2]
>> satisfies: world[xorriso]
>>
>>
>> We definitely need to have either biosbits or cdrom-test.c changed to
>> use the same tool.
>
> Wait, it seems xorriso package also provides geninsoimage?
>
> xorriso-1.5.4-4.el9.x86_64 : ISO-9660 and Rock Ridge image manipulation tool
> Repo : @System
> Matched from:
> Filename : /usr/bin/genisoimage
>
> xorriso-1.5.4-4.el9.x86_64 : ISO-9660 and Rock Ridge image manipulation tool
> Repo : rhel-9-for-x86_64-appstream-rpms
> Matched from:
> Filename : /usr/bin/genisoimage
>
> $ rpm -ql xorriso-1.5.4-4.el9.x86_64 | grep bin
> /usr/bin/cdrecord
> /usr/bin/genisoimage
> /usr/bin/mkisofs
> /usr/bin/osirrox
> /usr/bin/wodim
> /usr/bin/xorrecord
> /usr/bin/xorriso
> /usr/bin/xorriso-dd-target
> /usr/bin/xorrisofs
>
Ah
$ file /usr/bin/genisoimage
/usr/bin/genisoimage: symbolic link to /etc/alternatives/mkisofs-genisoimage
$ vi /etc/alternatives/mkisofs-genisoimage
$ file /etc/alternatives/mkisofs-genisoimage
/etc/alternatives/mkisofs-genisoimage: symbolic link to /usr/bin/xorrisofs
But the one provided by cdrkit is actually a elf binary in its own right. So if
we replace genisoimage with xorriso, we need to check that the iso file for
cdrom-test in a way that does not break it.
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers, (continued)
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers, Ani Sinha, 2023/05/04
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers,
Ani Sinha <=
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers, Daniel P . Berrangé, 2023/05/04
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers, Thomas Huth, 2023/05/04
- Re: [PATCH 0/2] Add mformat and xorriso dependencies in containers, Ani Sinha, 2023/05/04