diff --git a/package/target-finish/1st-stage/1st-stage.conf b/package/target-finish/1st-stage/1st-stage.conf index fd057901b..590b0ea71 100644 --- a/package/target-finish/1st-stage/1st-stage.conf +++ b/package/target-finish/1st-stage/1st-stage.conf @@ -44,7 +44,9 @@ echo "/dev/root / auto defaults 0 0" > etc/fstab # supress udev uig/gid warnings cp -vp ${rootdir}/etc/{passwd,group} etc/ -cp -vp ${rootdir}/$multilib/libnss_files.so.* $multilib/ +for x in ${rootdir}/$multilib/libnss_files.so.* ; do + [ -f "$x" ] && cp -vp "$x" $multilib/ +done echo "Creating some device nodes" mknod dev/ram0 b 1 0