summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2020-08-07 14:59:48 +1000
committerDaniel Black <daniel@mariadb.org>2020-08-08 14:04:14 +1000
commit699a43704b804ff5db06c33d39d6d08db03b4a0e (patch)
treee55c30290880d74f2ce109596c27d851b40250b0 /debian
parentcca55a9ca9acd9ba88f57f27f4c1abe168b711dc (diff)
downloadmariadb-git-699a43704b804ff5db06c33d39d6d08db03b4a0e.tar.gz
debian: remove gcc check. don't package rocksdb on x86_32
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/autobake-deb.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index 928c67717c0..2e03d1cfa19 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -50,12 +50,10 @@ then
sed "/Package: libmariadbd-dev/,/^$/d" -i debian/control
fi
-# Convert gcc version to numberical value. Format is Mmmpp where M is Major
-# version, mm is minor version and p is patch.
-# -dumpfullversion & -dumpversion to make it uniform across old and new (>=7)
-GCCVERSION=$(gcc -dumpfullversion -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' \
- -e 's/\.\([0-9]\)/0\1/g' \
- -e 's/^[0-9]\{3,4\}$/&00/')
+if [[ $(arch) =~ i[346]86 ]]
+then
+ sed "/Package: mariadb-plugin-rocksdb/,/^$/d" -i debian/control
+fi
# If rocksdb-tools is not available (before Debian Buster and Ubuntu Disco)
# remove the dependency from the RocksDB plugin so it can install properly