Re: what is storage.protectedDevices?

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

 



My boot options is:

initrd=initrd.img text stage2=hd:xxxx:/images/install.img ip=static ks=hd:xxxxx:/node.ks repo=hd:xxxxx:/os


On Tue, Jul 30, 2013 at 1:54 PM, Kun Huang <gareth@xxxxxxxxxxxxxxx> wrote:
Hi, all

https://github.com/pyKun/install.img/blob/master/usr/lib/anaconda/storage/__init__.py#L92

this is an old version anaconda, but I just need know the meaning of this line.

In my case, I used 'repo=hd:......' so anaconda.protected here valuate as true in L93, so when run to L97( my case is not livecd, and "not storage.protectedDevices"), the program looks me as upgrade case, so it checks anaconda.id.getUpgrade(). 

My case is installing a system from usb. Kickstart files, and repo are all from usb device. But how storage.protectedDevices means here?

Thanks 
Gareth  

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

[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