if config file

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-06-16 12:52:08 -07:00
parent c5873310c6
commit 2025a74b71

View File

@ -19,6 +19,10 @@ install_kernel(){
cd /usr/src/linux-${VERSION}
if [[ ! -f .config ]] && [[ -f ../config ]]; then
cp ../config .config
fi
nice -19 make -j$JOBS KDEB_PKGVERSION=$PKGVERSION INSTALL_MOD_STRIP=1 deb-pkg
}