Re: fix for suse install on virtinst 0.3

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

 



On Fri, Sep 12, 2008 at 02:16:27PM -0600, Corey Henderson wrote:
> Hello,
> 
> I'm running a CentOS 5.2 xen dom0 with opensuse 10.3 paravirutalized
> guests. I've been using my own installation script in the past, but have
> decided to give virt-install a whirl with autoyast.
> 
> It got to the point where it downloads the ls-lR.gz file and looks for the
> kernel RPM, and fails.
> 
> Looking at the code, I was a little puzzled as to why it's trying to
> extract a kernel rpm and built an initrd when one already exists in the
> opensuse 10.3 install tree.... so I wrote a quick patch that basically
> just removed the wacky code and added the paths:

This must be new change. Historically SUSE never provided pre-built
kernel/initrds for Xen installation. So, deleteing this code is not
the correct approach. It should first probe for the pre-built image
paths, and fallback to the existing code if those are missing.

> +        kernelpath = "boot/i386/vmlinuz-xenpae"
> +        initrdpath = "boot/i386/initrd-xenpae"
> 
> (this is obviously just for i386, might want to do something a little more
> elaborate to detect if arch is x86_64)

On a i386 host, it obviously only needs to look for the i386 directory,
but on a x86_64 host, it would need to look for both x86_64 and then
try the i386 dir if that fails.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux