Skip to contentSkip to conversation

Alternatives handling for cpio (cpio vs busybox)

DISCUSSION Rod Whitby 4 participants 4 messages Mar 27, 2007

lore
Share & tools
lore

Rod Whitby

author
#0 lore raw

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

#1 lore raw
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.
#2 lore raw
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

#3 lore raw
In reply to Rod Whitby
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