Skip to content

Commit 699a437

Browse files
committed
debian: remove gcc check. don't package rocksdb on x86_32
1 parent cca55a9 commit 699a437

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

debian/autobake-deb.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ then
5050
sed "/Package: libmariadbd-dev/,/^$/d" -i debian/control
5151
fi
5252

53-
# Convert gcc version to numberical value. Format is Mmmpp where M is Major
54-
# version, mm is minor version and p is patch.
55-
# -dumpfullversion & -dumpversion to make it uniform across old and new (>=7)
56-
GCCVERSION=$(gcc -dumpfullversion -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' \
57-
-e 's/\.\([0-9]\)/0\1/g' \
58-
-e 's/^[0-9]\{3,4\}$/&00/')
53+
if [[ $(arch) =~ i[346]86 ]]
54+
then
55+
sed "/Package: mariadb-plugin-rocksdb/,/^$/d" -i debian/control
56+
fi
5957

6058
# If rocksdb-tools is not available (before Debian Buster and Ubuntu Disco)
6159
# remove the dependency from the RocksDB plugin so it can install properly

0 commit comments

Comments
 (0)