* [Buildroot] [Bug 8161] New: default /bin/sh symlink to busybox is full path and not relative
@ 2015-06-04 17:47 bugzilla at busybox.net
2015-06-04 21:13 ` [Buildroot] [Bug 8161] " bugzilla at busybox.net
2015-07-07 15:47 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-06-04 17:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8161
Summary: default /bin/sh symlink to busybox is full path and
not relative
Product: buildroot
Version: 2015.05
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: mstarr at hedonline.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Busybox creates all symlinks from all the utilities it contains to the
/bin/busybox binary as relative paths. As an example all of busybox's
utilities in /bin all have symlinks set to "busybox" since the busybox utility
is located in the same directory.
When buildroot added the BR2_SYSTEM_BIN_SH option in 2014.11 and allowed the
path to the sh symlink to be set, the default is setup as "/bin/busybox". This
modifies what busybox setups by default which is to just be "busybox". The
issue with this is that any access to /bin/sh under the target directory points
to the host build systems /bin/busybox which can be problematic. As an example
I perform an md5sum on all files in the root file system under the target
directory and then compare them to the installed system on the target hardware,
but /bin/sh fails this test since it pointed to the host build systems busybox
for the md5 instead of the one built for the target hardware.
The solution would be to change the default value of BR2_SYSTEM_BIN_SH to
"busybox" when BR2_SYSTEM_BIN_SH_BUSYBOX is selected.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 8161] default /bin/sh symlink to busybox is full path and not relative
2015-06-04 17:47 [Buildroot] [Bug 8161] New: default /bin/sh symlink to busybox is full path and not relative bugzilla at busybox.net
@ 2015-06-04 21:13 ` bugzilla at busybox.net
2015-07-07 15:47 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-06-04 21:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8161
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2015-06-04 21:13:04 UTC ---
Alternatively, you could change your script to only calculate md5sums of files
(and not directories, symlinks, ..).
With that said, I don't have any problems with changing the symlink. Care to
send a git formatted patch doing that to the buildroot mailing list?
For details about how to do this, see the manual:
http://buildroot.uclibc.org/downloads/manual/manual.html#submitting-patches
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 8161] default /bin/sh symlink to busybox is full path and not relative
2015-06-04 17:47 [Buildroot] [Bug 8161] New: default /bin/sh symlink to busybox is full path and not relative bugzilla at busybox.net
2015-06-04 21:13 ` [Buildroot] [Bug 8161] " bugzilla at busybox.net
@ 2015-07-07 15:47 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-07-07 15:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8161
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-07-07 15:47:15 UTC ---
This was fixed in
http://git.buildroot.net/buildroot/commit/system?id=e26ec6e45cb4246353bb4b88fbe718212fc89c61/
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-07 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04 17:47 [Buildroot] [Bug 8161] New: default /bin/sh symlink to busybox is full path and not relative bugzilla at busybox.net
2015-06-04 21:13 ` [Buildroot] [Bug 8161] " bugzilla at busybox.net
2015-07-07 15:47 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox