Do you really need them in the initrd?  Why not just put them in an
extension.

But to answer your question, the initrd is a gzipped cpio archive.

Create you directory structure in a temp directory.   i.e.  
/tmp/myinitrd/lib/modules/.........

Then change to /tmp/myinitrd

Code:
--------------------
    
  find | sudo cpio -o -H newc > gzip -9 myinitrd.gz
  
--------------------


Then you can copy your file to the boot drive.  Then you can just add
you initrd.  It's just a comma delimited list of initrd's to load.   
Keep the name small, as the list can only be 80 characters long.

- or -

Just for you knowledge, you can concatenate initrd.


Code:
--------------------
    
  cat modules-5.4.83-pcpCore-v8.gz myinitrd.gz > 
new_modules-5.4.83-pcpCore-v8.gz
  
--------------------


Then just rename the files.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to