IRC question: squashfs
From josv on IRC:
Hi! I am on Fedora 25 and installed libguestfs (1.36.2) from the fedora repo. It seems that the squashfs feature is missing in this installation (guestfish add-drive /dev/null : run : available squashfs returns "error: squashfs: group not available"). What would be the recommended way to have the squashfs feature available?
$ guestfish -a /dev/null run : supported ... squashfs no ... $ rpm -q squashfs-tools squashfs-tools-4.3-12.fc24.x86_64 I think actually this is a bug. I'll take a look into it tomorrow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Thursday, 6 April 2017 00:26:26 CEST Richard W.M. Jones wrote:
From josv on IRC:
Hi! I am on Fedora 25 and installed libguestfs (1.36.2) from the fedora repo. It seems that the squashfs feature is missing in this installation (guestfish add-drive /dev/null : run : available squashfs returns "error: squashfs: group not available"). What would be the recommended way to have the squashfs feature available?
$ guestfish -a /dev/null run : supported ... squashfs no ...
$ rpm -q squashfs-tools squashfs-tools-4.3-12.fc24.x86_64
I think actually this is a bug. I'll take a look into it tomorrow.
It looks like the Fedora packaging does not have squashfs-tools as Build-Require -- adding it should do the job. Speaking of Fedora: the libosinfo dependency can be changed to osinfo-db in f25+, as we just need the osinfo data. Thanks, -- Pino Toscano
On Thu, Apr 06, 2017 at 11:15:53AM +0200, Pino Toscano wrote:
On Thursday, 6 April 2017 00:26:26 CEST Richard W.M. Jones wrote:
From josv on IRC:
Hi! I am on Fedora 25 and installed libguestfs (1.36.2) from the fedora repo. It seems that the squashfs feature is missing in this installation (guestfish add-drive /dev/null : run : available squashfs returns "error: squashfs: group not available"). What would be the recommended way to have the squashfs feature available?
$ guestfish -a /dev/null run : supported ... squashfs no ...
$ rpm -q squashfs-tools squashfs-tools-4.3-12.fc24.x86_64
I think actually this is a bug. I'll take a look into it tomorrow.
It looks like the Fedora packaging does not have squashfs-tools as Build-Require -- adding it should do the job.
Ah yes, that's right. Because it's not available at build time it doesn't get added to /usr/lib64/guestfs/supermin.d/packages. So even if you later install it at runtime, it is not included. I will fix this and the osinfo thing in the next build. Thanks, Rich.
Speaking of Fedora: the libosinfo dependency can be changed to osinfo-db in f25+, as we just need the osinfo data.
Thanks, -- Pino Toscano
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (2)
-
Pino Toscano -
Richard W.M. Jones