livemedia-creator --live-iso deliverables

Dennis Gilmore <[email protected]>
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <[email protected]>
Hi,

Today I was running through runs of livemedia-creator in mock to figure out 
what exactly we need to get koji to run in order to produce the liveiso's I 
got things running and was able to produce a live iso. aside from things like 
the iso being ~1G bigger than what we get from livecd-creator I had one big 
surprise. The surprise was the output that we got. In Release engineering we 
want the tooling to make the artifact as we are going to ship it. This means 
that someone running the tool at home can make the same thing as what we make. 
I was expecting for output something along the lines of Fedora-Live-
Workstation-x86_64-rawhide-20151215.iso  which is what we get from livecd-
creator. Instead of just an iso what I got was a tree 

EFI
EFI/BOOT
EFI/BOOT/BOOTX64.EFI
EFI/BOOT/MokManager.efi
EFI/BOOT/grubx64.efi
EFI/BOOT/grub.cfg
EFI/BOOT/fonts
EFI/BOOT/fonts/unicode.pf2
images
images/pxeboot
images/pxeboot/vmlinuz
images/pxeboot/initrd.img
images/install.img
images/efiboot.img
images/macboot.img
images/product.img
images/boot.iso
isolinux
isolinux/vmlinuz
isolinux/initrd.img
isolinux/isolinux.bin
isolinux/vesamenu.c32
isolinux/ldlinux.c32
isolinux/libcom32.c32
isolinux/libutil.c32
isolinux/isolinux.cfg
isolinux/grub.conf
isolinux/boot.msg
isolinux/splash.png
isolinux/memtest
LiveOS
LiveOS/squashfs.img

where the only thing that we will ship is images/boot.iso but we will have to 
do manipulation of  the tree to keep what we want and name it correctly and 
discard all the extra bits.  this means that every use that makes livecds will 
need to write tooling to extract the boot.iso, rename it and discard the extra 
bits.

given http://dl.fedoraproject.org/pub/fedora/linux/releases/23/Live/x86_64/ as 
an example of how we ship live media it is not a great thing to have to do. I 
strongly feel that a small piece of additional code in livemedia-creator to 
correctly name the iso given that there is a --image-name flag is reasonable 
and will save every person that makes livemedia from having to rewrite 
basically the same function, or us just writing a  wrapper around livemedia-
creator to do so.

I am happy to write the code but want to make sure that it will be welcome 
before I go off and do so.  This is a feature we are trying to get into the 
compose tools and process for Fedora 24 so that we can get rid of livecd-
creator and appliance-creator once and for all

Regards

Dennis

_______________________________________________
Anaconda-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJWcKy4AAoJEH7ltONmPFDRZ0cP/RQl/YivNvFc+k+zfTPXfjso
tqxr8/1fVwnaBG9AHrfbCh5tWExLUmz1yET4b3+kkJQ65LeYDXS0k+f57hL4valf
Kn4Xvm+HIIS3q0ymmFf+Qx6VsyHFkOUed7YjqPPrJZhYz8Lr8a86YP3iuHglG5XC
mlSPhuLhMldhhNd94+KFhcXcdvf8wixJD+GndDOULLbn2Q/TH3mUcBOaNnoWdOpB
UwIR8oW4L9/kjg8n1KSzaY0h9MgQnA++5LYavwNuoHjfTN7TVIwIYiQvZVsUrBHr
mi13zSJmHm9371X3L+yexh3WRj/ajdu7/4VVef+NQOl0Ay8TQoj7541Pbjix4Wcr
yhVxRY0G3AZ5xFaxO0JuQn43/lDe0L/UxQH8rLuqZF6Oe4aKUxWQFwM2mQtxSBni
txDdcbn04gpGFQ1CHJ+/WUmXvIjPLsFJ3MYM4YPH/LdLry4TPyTc1WaOg4eCmYOE
CqoMWlMoi6el+rH+VNzFL00RpPRsC1AIoOYGOX/zphzh2WXrNHXd5Vcq7D0I1NiD
1bAqWoxowQuShH6yo8D5MW2npegYwO6GGtDozirNcRIK23ySvceBBJ+NHS1JJgJT
Bx8Rt4l9zes+64PbO3a7S9Hw1KPJwJbNmzE5v3wP/x0uftHzvUWkdjPLEn+kXc6x
fDuj11jNslTOtDoB04oo
=S61v
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.