From: Holger Levsen Date: Mon, 31 Oct 2011 15:27:45 +0000 (+0100) Subject: get content package into the oot-module packages X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=276d47f3b98d16a8d8d58d389418005de875b756;p=profitbricks%2Fjenkins-build-scripts.git get content package into the oot-module packages --- diff --git a/build-oot.sh b/build-oot.sh index 16a6cc2..a085726 100755 --- a/build-oot.sh +++ b/build-oot.sh @@ -46,6 +46,7 @@ cat > $TMPFILE << EOF set +x set -e apt-get update + apt-get -y upgrade apt-get -y install openssh-client linux-source-profitbricks-$PB_FLAVOUR $OOT_MODULE-source linux-image-profitbricks-$PB_FLAVOUR m-a unpack $OOT_MODULE cd /usr/src/ @@ -53,11 +54,12 @@ cat > $TMPFILE << EOF sed -i -s "s#^Provides: $OOT_MODULE-modules#Provides: $OOT_MODULE-modules, $OOT_MODULE-modules-profitbrick-$PB_FLAVOUR#g" modules/$OOT_MODULE/debian/control.modules.in tar xjf linux-source-*-$PB_FLAVOUR.tar.bz2 KDIR=\$(find /usr/src -name "*profitbricks-$PB_FLAVOUR*" -type d) + KVERS=\$(echo \$KDIR |cut -d "-" -f3-) cd \$KDIR cp /boot/config-*-$PB_FLAVOUR .config make prepare make modules_prepare - m-a -k \$KDIR build --not-unpack $OOT_MODULE + m-a -k \$KDIR build -l\$KVERS --not-unpack $OOT_MODULE cd /usr/src/ ls *deb # FIXME: this is soooo just wrong...