]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
install kernel first, then modules
authorHolger Levsen <holger@layer-acht.org>
Thu, 18 Apr 2013 09:20:14 +0000 (11:20 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 18 Apr 2013 09:20:14 +0000 (11:20 +0200)
extract_storage_kernel+modules.sh

index 50b1cccc82ed5796cf27c10325389d5aeecae7a9..9399531faf2099dfb00a49444f8f3b0781c90e6a 100755 (executable)
@@ -43,8 +43,8 @@ $FEATURE_APTCMD
 apt-get update
 # grub is needed in the postinst...
 apt-get install -y grub2 
-apt-get -y install profitbricks-andbd-modules-storage || true
 apt-get -t $DISTRIBUTION -y install profitbricks-linux-image-storage || true
+apt-get -y install profitbricks-andbd-modules-storage || true
 mkdir -p $TARGET_DIR
 export KERNEL_VERSION=###(ls /boot/vmlinu* | cut -d "-" -f2-)
 export GENTOO_KERNEL_VERSION="###(ls /boot/vmlinu* | cut -d "-" -f2).$BUILD_NUMBER"