Lines 430-436
append_busybox() {
Link Here
|
430 |
# allow for DNS resolution |
430 |
# allow for DNS resolution |
431 |
local libdir=$(get_chost_libdir) |
431 |
local libdir=$(get_chost_libdir) |
432 |
mkdir -p "${TDIR}"/lib || gen_die "Failed to create '${TDIR}/lib'!" |
432 |
mkdir -p "${TDIR}"/lib || gen_die "Failed to create '${TDIR}/lib'!" |
433 |
copy_system_binaries "${TDIR}"/lib "${libdir}"/libnss_dns.so.2 |
433 |
# depending to --busybox-config |
|
|
434 |
if LC_ALL=C "${LDDTREE_COMMAND}" bin/busybox | fgrep -q libnss_dns.so.2 |
435 |
then |
436 |
copy_system_binaries "${TDIR}"/lib "${libdir}"/libnss_dns.so.2 |
437 |
fi |
434 |
|
438 |
|
435 |
log_future_cpio_content |
439 |
log_future_cpio_content |
436 |
find . -print0 | "${CPIO_COMMAND}" ${CPIO_ARGS} --append -F "${CPIO_ARCHIVE}" \ |
440 |
find . -print0 | "${CPIO_COMMAND}" ${CPIO_ARGS} --append -F "${CPIO_ARCHIVE}" \ |