From: Holger Levsen Date: Mon, 31 Oct 2011 17:56:40 +0000 (+0100) Subject: use sudo :-D X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b5c03b458bde0cdea19830c1eddff0f4b76b28ff;p=profitbricks%2Fjenkins-build-scripts.git use sudo :-D --- diff --git a/build-oot.sh b/build-oot.sh index 2d9a6ee..19ebd09 100755 --- a/build-oot.sh +++ b/build-oot.sh @@ -35,12 +35,6 @@ else export PB_SUITE=$4 fi -cat > /etc/kernel-pkg.conf << EOF -maintainer := Profitbricks GmbH -email := support@profitbricks.com -priority := Low -EOF - TMPFILE=$(mktemp) echo "Building $OOT_MODULE for kernel profitbricks-$PB_FLAVOUR for $DIST and $PB_SUITE using script in $TMPFILE which has this content:" @@ -62,6 +56,11 @@ cat > $TMPFILE << EOF cd /usr/share/doc/linux-image-*profitbricks-$PB_FLAVOUR zcat changelog.Debian.gz > changelog our_version=\$(dpkg-parsechangelog -l./changelog|grep-dctrl -n -s Version ''|cut -d "-" -f4) + cat > /etc/kernel-pkg.conf << EFO +maintainer := Profitbricks GmbH +email := support@profitbricks.com +priority := Low +EFO echo "debian = \\\$(version)-\$our_version" >> /etc/kernel-pkg.conf cd /usr/src/