Alternatives handling for cpio (cpio vs busybox)
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
Quoted 3 lines · Rod Whitby
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.
+1 from me - Debian store cpio in /bin/
Signature · 4 lines
JID: hrw-jabber.org
OpenEmbedded developer/consultant
I don't know. I don't care. And it doesn't make any difference.Quoted 6 lines · Marcin Juszkiewicz
Quoted 3 lines · Rod Whitby
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.+1 from me - Debian store cpio in
/bin/
Go from me too.
Øyvind
Quoted 5 lines · Rod Whitby
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?
Nope, sounds good.
Regards,
:M:
Signature · 1 line
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de