Editing init.rc file after boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Editing init.rc file after boot

578 Views
lyfsci
Contributor III

Hi Experts,

I would like to edit the init.rc file and let it be saved permanently. But during each restart of the machine the init.rc file is the same as I build.

How to solve the same ?

Regards,

Lyf

Labels (1)
0 Kudos
2 Replies

448 Views
tomgao
Contributor III

could you introduce how to update the initramfs cpio ?

0 Kudos

448 Views
b36401
NXP Employee
NXP Employee

Does you system run on root filesystem unpacked from ramdisk?

In this case you need to update the file inside of initramfs cpio archive.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos