I read the post Differences between %pre and %post in Kickstart on CentOS?, which includes the following statement:
%post
runs chrooted into the new install root, or it can run in the root of anaconda (with %post --nochroot
), where you can access the files you might have created/saved during %pre
.
How can these files be accessed, exactly? Can I access these files (which were created during %pre) in an RPM package %post scriptlet? If so, how?