[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [rhel6-branch] add images-xen section to .treeinfo



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Feb 2010, Martin Gracik wrote:

Hello,

Does this mean, that even if we have just one normal kernel (not xen, not
PAE), we need to add the [images-xen] part, with paths to the normal kernel?
So we end up with one vmlinuz, and initrd.img, but we will have both
[images-$arch] and [images-xen] sections in .treeinfo, both pointing to
vmlinuz and initrd.img.

That is correct.  The [images-xen] section is read by virt-install on previous
RHEL releases when you do an install off media, so it's really just a
convenience thing for customers installing RHEL-6 inside a Xen guest on RHEL-5
systems.

Do I understand this correctly? This is for x86 only, or for everything?

x86[_64] only.


--

 Martin Gracik

----- "David Cantrell" <dcantrell redhat com> wrote:

Revert original attempt and come up with a new patch.  Get rid of the
$kernelxen variable.  Introduce a $xen variable that defaults to
"no",
set it to "yes" and then use it conditionally in the mk-images.$ARCH
script.

I did a scratch build of anaconda with these two patches and had
dgregor
do a test tree compose.  Trees are generated correctly and .treeinfo
contains the [images-xen] section.

virt-install on older RHEL releases looks for [images-xen] if you are
trying to install from media, so even though we don't have a special
Xen kernel package anymore, we still need to provide this section in
the .treeinfo file.

--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuGfBsACgkQ5hsjjIy1VklscwCgp355Dkn7r56IeJtKxfZajQDw
FVkAoO5Ay1Sj9Up/rAV6rGeDMEinkFzJ
=sdcT
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]