[oe] Alternatives handling for cpio (cpio vs busybox)

Rod Whitby rod at whitby.id.au
Tue Mar 27 08:05:57 UTC 2007


I have a need for the *real* cpio to override the busybox cpio.  This is
normal practice in OE, and well understood.

The problem, however, is that busybox puts cpio in /bin, whereas the
cpio package puts cpio in /usr/bin.  This makes it hard for
update-alternatives to work.

I propose to change the cpio package such that it installs cpio in /bin
instead of /usr/bin, and then uses update-alternatives to select it
ahead of busybox.

Any objections?

-- Rod




More information about the Openembedded-devel mailing list