Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126304 - busybox does not install symlinks from /usr/{bin,sbin}
Summary: busybox does not install symlinks from /usr/{bin,sbin}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 07:01 UTC by Axel Burri
Modified: 2006-03-27 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Burri 2006-03-15 07:01:01 UTC
when setting USE=make-symlinks, the ebuild does only make symlinks for /bin and /sbin but not for /usr/bin and /usr/sbin.

<patch>

--- busybox-1.1.0.ebuild.orig   2006-03-11 01:41:44.000000000 +0100
+++ busybox-1.1.0.ebuild        2006-03-15 15:57:59.758949456 +0100
@@ -173,13 +173,15 @@
                        die "silly options will destroy your system"
                fi
                make CROSS="${CROSS}" install || die
-               dodir /bin
-               cp -pPR _install/bin/* "${D}"/bin/
-               dodir /sbin
-               cp -pPR _install/sbin/* "${D}"/sbin/
+               local bindir
+               for bindir in bin sbin usr/bin usr/sbin ; do
+                       dodir $bindir
+                       cp -pPR _install/$bindir/* "${D}"/$bindir/
+               done
+               [[ -L _install/linuxrc ]] && cp -pP _install/linuxrc "${D}"/
                cd "${D}"
                local symlink
-               for symlink in {bin,sbin}/* ; do
+               for symlink in {bin,sbin,usr/bin,usr/sbin}/* linuxrc ; do
                        [[ -L ${symlink} ]] || continue
                        [[ -e ${ROOT}/${symlink} ]] \
                                && eerror "Deleting symlink ${symlink} because it exists in ${ROOT}" \
Comment 1 SpanKY gentoo-dev 2006-03-27 18:47:15 UTC
should be fixed now in 1.1.0 and 1.1.1