Hi, all
Now I have some work with anaconda on different media (usb/iso), and also have some questions, please have a review.
My target: have a directory contains kinds of data could be used to generate a bootable iso (by mkisofs) and be copied to usb drive as boot-install usb.
And I have one test case could work:
/images/install.img # stage2 contains anaconda codes /isolinux/... # use for booting in iso case /syslinux/... # use for booting in usb case /os/xxx.iso # a directory contains an ISO image /repo/*.rpm # my own repo node.ks # kickstart which uses /repo/*.rpm as additional repo for packages /Packages/*.rpm # this directory and repodata/ below is standard repo in Centos6.4 /repodata/ .discinfo # these two are used in iso case .treeinfo
this case works for my cases: in iso case, it boots by isolinux, and install @core in /Packages; and in usb case, it boots by syslinux and install @core packages from /os/*.iso.
Now my problem is that the /os/xxx.iso and /Packages&/repodata are duplicated actually. I tried use /os/xx.iso and repo=cdrom:/os but failed with un-catched exception "nonetype has no attribute 'format' "
Now before further testing on repo=cdrom:/os I have several questions:
(my anaconda version is 13.21.195 ) 1. will anaconda find *.iso under /os in my ISO image by repo=cdrom:/os? 2. are there more better or more common solutions for my target?
Thanks for any reply
anaconda-devel@lists.fedoraproject.org