And then someone else will say they did something in %post and expected to be able to work with the initramfs. Trust me. I've played this game moving it back and forth for a while and finally ~ five years ago said "%post is the end. That's it"
If you want to change the initramfs in %post, you can generate a new one and then have a second %post --chroot. If you look at livecd-tools.git, commit 11dbd0bb5ba4b845e80109e990e4e780ca402218 was a case where we did something similar before to keep old releases working - Jeremy On Fri, Feb 12, 2010 at 4:04 AM, Grant Williamson <[email protected]> wrote: > Jeremy, > I agree with you on that, however in a livecd image creation > process, the initramfs is being copied outside the normal running > environment. So I would say in this case the contract does not apply in > the same sense. > > > On 02/12/2010 08:11 AM, Jeremy Katz wrote: >> On Thu, Feb 11, 2010 at 2:18 PM, Grant Williamson<[email protected]> >> wrote: >> >>> I am wondering why the initramfs is copied prior to the post install >>> scripts being run. >>> In my case I want to customize this. >>> >>> The following patch allows me to do this, I am curious are there are >>> issues doing this. >>> >> There's a very big issue. It means that %post isn't the last thing >> that's run. One of the contracts of kickstart is that %post is the >> last thing that runs. >> >> - Jeremy >> -- >> livecd mailing list >> [email protected] >> https://admin.fedoraproject.org/mailman/listinfo/livecd >> >> > > -- > livecd mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/livecd > -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
