Re: How is initrd.img packed and compressed?

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



Mircea Husz wrote:
>
> In order to work around a known upstream bug I needed to add a udev
> rule to pxeboot initrd.img on CentOS 7.
> 
> The process is straightforward:
> 1 - extract the pxeboot initrd.img  to a new directory
> 2 - add the udev rule needed to fix the bug
> 3 - pack and compress it back in initrd.img format

Instead of re-creating a new initrd.img, why not just create an 
'updates' image that contains your new udev rule and use the 
'inst.updates=' pxeboot cmdline option?

I use this to add things to the install image - no need to alter the 
existing initrd image - if you need more info, let me know

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux