]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev*-build: do not unpack source tar ball 1475/head
authorKefu Chai <kchai@redhat.com>
Fri, 20 Dec 2019 17:53:14 +0000 (01:53 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 20 Dec 2019 17:55:59 +0000 (01:55 +0800)
the uncompressed tarball is not used, moreover, the build fails on
bionic when `dpkg-source -x` the source package. because we've been
relying on a bug on xenial. see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826334;msg=31

and on bionic, the bug was fixed. so `dpkg-source -x` started to
fail.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-build/build/setup_deb
ceph-dev-new-build/build/setup_deb

index 08b24525fb05b06be43af685e345bf4d1a235bb2..b8a530b073a79f7c01b265dd0348f90bee87d931 100644 (file)
@@ -23,12 +23,6 @@ export LC_ALL=C # the following is vulnerable to i18n
 
 $SUDO apt-get install -y lsb-release
 
-# unpack the tar.gz that contains the debian dir
-cd dist
-tar xzf *.orig.tar.gz
-cd ceph-*
-pwd
-
 BRANCH=`branch_slash_filter $BRANCH`
 
 cd $WORKSPACE
index 02601ba1b1c54b57fd00f9e25951dc70c08e07f9..b8a530b073a79f7c01b265dd0348f90bee87d931 100644 (file)
@@ -23,12 +23,6 @@ export LC_ALL=C # the following is vulnerable to i18n
 
 $SUDO apt-get install -y lsb-release
 
-# unpack the tar.gz that contains the debian dir
-cd dist
-tar xzf *.orig.tar.gz
-cd $(basename *.orig.tar.gz .orig.tar.gz | sed s/_/-/)
-pwd
-
 BRANCH=`branch_slash_filter $BRANCH`
 
 cd $WORKSPACE