Partial revert of 35b46f08b27c975edad28479469459155d32aea5
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 30 Nov 2018 20:32:07 +0000 (15:32 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 30 Nov 2018 20:32:07 +0000 (15:32 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/build-kernel.sh
scripts/system-tests/check-build-needs.sh

index 219eb4289b1beb8eba45e805c9b2570825697fce..1c435b32ce76dbd2ace16075b3c2c1779cd86efc 100644 (file)
 echo 'kernel-built.txt does not exist'
 echo 'So we build it'
 
-make --directory="$LINUX_PATH" "-j$NPROC" bzImage
+make --directory="$LINUX_PATH" "-j$NPROC" bzImage modules
+make --directory="$LINUX_PATH" INSTALL_MOD_PATH="$MODULES_INSTALL_FOLDER" modules_install
 
 cp "$LINUX_PATH"/arch/x86/boot/bzImage "$DEPLOYDIR"/"$KERNEL_COMMIT_ID".bzImage
 cp "$LINUX_PATH"/.config "$DEPLOYDIR"/"$KERNEL_COMMIT_ID".config
 
+tar -czf "$DEPLOYDIR/$KERNEL_COMMIT_ID.linux.modules.tar.gz" -C "$MODULES_INSTALL_FOLDER/" lib/
+
 $SCP_COMMAND "$DEPLOYDIR/$KERNEL_COMMIT_ID.bzImage" "$STORAGE_USER@$STORAGE_HOST:$STORAGE_KERNEL_IMAGE"
 $SCP_COMMAND "$DEPLOYDIR/$KERNEL_COMMIT_ID.config" "$STORAGE_USER@$STORAGE_HOST:$STORAGE_KERNEL_CONFIG"
+$SCP_COMMAND "$DEPLOYDIR/$KERNEL_COMMIT_ID.linux.modules.tar.gz" "$STORAGE_USER@$STORAGE_HOST:$STORAGE_LINUX_MODULES"
 $SCP_COMMAND "$LINUX_PATH/Module.symvers" "$STORAGE_USER@$STORAGE_HOST:$STORAGE_KERNEL_MODULE_SYMVERS"
 
 $S3_COMMAND put "$DEPLOYDIR/$KERNEL_COMMIT_ID.bzImage" s3://"$S3_STORAGE_KERNEL_IMAGE"
 $S3_COMMAND put "$DEPLOYDIR/$KERNEL_COMMIT_ID.config" s3://"$S3_STORAGE_KERNEL_CONFIG"
+$S3_COMMAND put "$DEPLOYDIR/$KERNEL_COMMIT_ID.linux.modules.tar.gz" s3://"$S3_STORAGE_LINUX_MODULES"
 $S3_COMMAND put "$LINUX_PATH/Module.symvers" s3://"$S3_STORAGE_KERNEL_MODULE_SYMVERS"
index fc15c83bc877b6827b43b273632e6cae5a531563..cf51ab2ace0df6a14443ad910c5a4fd642bea679 100644 (file)
@@ -64,8 +64,6 @@ if [ $NEED_MODULES_BUILD -eq 1 ] || [ $NEED_KERNEL_BUILD -eq 1 ] ; then
     make --directory="$LINUX_PATH" kvmconfig
   fi
 
-  # Embed everything
-  make --directory="$LINUX_PATH" localyesconfig
   make --directory="$LINUX_PATH" modules_prepare
 fi
 
This page took 0.023708 seconds and 4 git commands to generate.