[PATCH] New APIs: inspect-get-package-format, inspect-get-package-management.
It's neat that you can now do: $ guestfish -a F14x64.img -i \ inspect-get-package-management /dev/vg_f13x64/lv_root yum But it would be better if we didn't have to "know" the root filesystem there, something like: $ guestfish -a F14x64.img -i <<EOF set roots inspect-get-roots inspect-get-package-management %{roots[0]} EOF yum I've not quite worked out what this would look like, or if it's really a good idea to add such additional complexity to guestfish. Though I do wish I'd written a proper lex/yacc parser in the first place ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
participants (1)
-
Richard W.M. Jones