From ebd98bc78127b264c7bbe49767496f0c14c1b51f 2017-12-25 17:41:27 From: drtyhlpr Date: 2017-12-25 17:41:27 Subject: [PATCH] Fix: copy of kernel .config fixed by youxiaojie --- diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index f0b5d34..b488592 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -12,8 +12,8 @@ if [ "$BUILD_KERNEL" = true ] ; then # Copy existing kernel sources into chroot directory if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then - # Copy kernel sources - cp -r "${KERNELSRC_DIR}/"* "${R}/usr/src/linux" + # Copy kernel sources and include hidden files + cp -r "${KERNELSRC_DIR}/". "${R}/usr/src/linux" # Clean the kernel sources if [ "$KERNELSRC_CLEAN" = true ] && [ "$KERNELSRC_PREBUILT" = false ] ; then