Re: Are existing installs upgradeable?

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

 



On Tue, 2005-09-20 at 21:31 -0800, Jim wrote:
> I have been trying to figure out how anaconda tells if a previous 
> installation is upgradeable, and am way over my head. Can anyone point 
> me in the right direction?

It's a combination of
a) being able to mount the filesystem, and
b) finding an /etc/fstab on the filesystem
c) looking in /etc/redhat-release and matching it against the product
name for the tree[1]

You'll find the actual code in
partedUtils.py:Diskset.findExistingRootPartitions()

Jeremy

[1] Obviously passing 'upgradeany' on the kernel command line makes the
last check not get used


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