All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11816] New: Only selected coreutils binaries are installed
@ 2019-05-02  2:21 bugzilla at busybox.net
  2019-05-02  7:18 ` [Buildroot] [Bug 11816] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-05-02  2:21 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11816

            Bug ID: 11816
           Summary: Only selected coreutils binaries are installed
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: pmorici at dev295.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Selecting the coreutils package doesn't install all the core utils and there is
no way to select which ones to install.

It looks like only the binaries listed in the variable, COREUTILS_BIN_PROGS are
installed into the target.

This came up because I need the coreutils version of base64 since the busybox
version doesn't have the -w flag and there doesn't appear to be any elegant way
of including that w/o editing the coreutils .mk file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11816] Only selected coreutils binaries are installed
  2019-05-02  2:21 [Buildroot] [Bug 11816] New: Only selected coreutils binaries are installed bugzilla at busybox.net
@ 2019-05-02  7:18 ` bugzilla at busybox.net
  2019-05-03  7:55 ` bugzilla at busybox.net
  2019-05-06 10:11 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-05-02  7:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11816

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
Can you be more specific? It works here for me:

make coreutils && ls -lah target/usr/bin/base64 
..
lrwxrwxrwx 1 peko peko 9 May  2 09:16 target/usr/bin/base64 -> coreutils

find target -name base64                                                       
        target/usr/bin/base64

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11816] Only selected coreutils binaries are installed
  2019-05-02  2:21 [Buildroot] [Bug 11816] New: Only selected coreutils binaries are installed bugzilla at busybox.net
  2019-05-02  7:18 ` [Buildroot] [Bug 11816] " bugzilla at busybox.net
@ 2019-05-03  7:55 ` bugzilla at busybox.net
  2019-05-06 10:11 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-05-03  7:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11816

--- Comment #2 from Pete Morici <pmorici@dev295.com> ---
Upon closer inspection it seems what is happening is that when both busybox
base64 and coreutils are selected they get installed to different paths.  /bin
is ahead of /usr/bin in PATH and so the busybox version takes precedent. 
Adding base64 to COREUTILS_BIN_PROGS causes the coreutils version to be
installed in /bin instead of /usr/bin.

output/target/usr/bin/base64 -> coreutils
output/target/bin/base64 -> busybox

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11816] Only selected coreutils binaries are installed
  2019-05-02  2:21 [Buildroot] [Bug 11816] New: Only selected coreutils binaries are installed bugzilla at busybox.net
  2019-05-02  7:18 ` [Buildroot] [Bug 11816] " bugzilla at busybox.net
  2019-05-03  7:55 ` bugzilla at busybox.net
@ 2019-05-06 10:11 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-05-06 10:11 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11816

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> ---
Ahh yes. In general, your best bet is to enable BR2_ROOTFS_MERGED_USR to get
rid of this class of issues.

With that said, I have pushed a commit adding base64 to _BIN_PROGS. I will also
cherry pick it for the next 2019.02.x update.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-06 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-02  2:21 [Buildroot] [Bug 11816] New: Only selected coreutils binaries are installed bugzilla at busybox.net
2019-05-02  7:18 ` [Buildroot] [Bug 11816] " bugzilla at busybox.net
2019-05-03  7:55 ` bugzilla at busybox.net
2019-05-06 10:11 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.