On Thu, 2012-01-05 at 01:05 +0100, Andrea Adami wrote: > I'd say we have to test for the in-existence of the file instead of > blindly touching it. > Smthg like > > if [! -e ${IMAGE_ROOTFS}/init]; then > touch ${IMAGE_ROOTFS}/init > fi > > > Now, repeating that block for all 4 cpio images is a bit ugly... better ideas?
Make it a shell function we call? I'd also check for ${base_sbindir}/init first too? Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core