Hi, Mario Marietto wrote: > I've realized that as soon as a > new kernel has been installed by the user,logos and images > should be added automatically inside the initrd.img* file. For > this reason,I've created the bash script below. It works,I've > tested it. Now I should understand where to place it and which > stage of the linux booting is the better one to invoke it. > I would like to read your suggestions.
I have to confess that i quite lost track of your adventure. But if you want to execute your script each time the system boots, won't your initrds grow and grow and grow ? cpio -A does not overwrite old files in the archive but just appends a new version of the file. At least i cannot spot code which would detect a newly installed kernel. Have a nice day :) Thomas