CentOS upgrade - access to chroot in %pre?

Matt Rose mrose at n-able.com
Tue Aug 25 18:08:58 UTC 2009


Yes, on upgrade, but it's not easy.  You have to detect and mount the 
partitions by hand.  If you know some python, you can include the 
anaconda libs and helper functions, but if you're just using sh, you'd 
have one hell of a %pre script.

Matt

Moray Henderson (ICT) wrote:
> Hi everyone,
>
> Is it possible to make the /mnt/sysimage/... chroot available to the %pre script of a CentOS 5.3 upgrade?
>
>
> Moray.
> "To err is human.  To purr, feline"
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20090825/75d1d24f/attachment.htm>


More information about the Kickstart-list mailing list