From b5c03b458bde0cdea19830c1eddff0f4b76b28ff Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 31 Oct 2011 18:56:40 +0100 Subject: [PATCH] use sudo :-D --- build-oot.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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/ -- 2.39.5