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 39bb44a5b8
commit b9415133ea
1 changed files with 4 additions and 0 deletions

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
}