diff options
Diffstat (limited to 'gen_initramfs.sh')
-rwxr-xr-x | gen_initramfs.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 4ecdef5..6bc8777 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1324,9 +1324,12 @@ append_dropbear() { fi fi - local libdir=$(get_chost_libdir) - mkdir -p "${TDIR}"/lib || gen_die "Failed to create '${TDIR}/lib'!" - copy_system_binaries "${TDIR}"/lib "${libdir}"/libnss_files.so + if isTrue "$(is_glibc)" + then + local libdir=$(get_chost_libdir) + mkdir -p "${TDIR}"/lib || gen_die "Failed to create '${TDIR}/lib'!" + copy_system_binaries "${TDIR}"/lib "${libdir}"/libnss_files.so + fi cd "${TDIR}" || gen_die "Failed to chdir to '${TDIR}'!" |