diff options
| -rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index c8908b072b..f4efeb8323 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
| @@ -265,14 +265,6 @@ python do_package_prepend () { | |||
| 265 | f.close() | 265 | f.close() |
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | pkg_postinst_${PN} () { | ||
| 269 | # If we are not making an image we create links for the utilities that doesn't exist | ||
| 270 | # so the update-alternatives script will get the utilities it needs | ||
| 271 | # (update-alternatives have no problem replacing links later anyway) | ||
| 272 | test -n 2> /dev/null || alias test='busybox test' | ||
| 273 | if test "x$D" = "x"; then while read link; do if test ! -h "$link"; then case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; esac; busybox ln -s $to $link; fi; done </etc/busybox.links; fi | ||
| 274 | } | ||
| 275 | |||
| 276 | pkg_prerm_${PN} () { | 268 | pkg_prerm_${PN} () { |
| 277 | # This is so you can make busybox commit suicide - removing busybox with no other packages | 269 | # This is so you can make busybox commit suicide - removing busybox with no other packages |
| 278 | # providing its files, this will make update-alternatives work, but the update-rc.d part | 270 | # providing its files, this will make update-alternatives work, but the update-rc.d part |
