mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Skip TokuDB within autobake-deb.sh
Skipping the package within debian/rules won't work because starting with Debian 10, the helper scripts read the control file before the recipe.
This commit is contained in:
parent
9c84852809
commit
4a41712866
2 changed files with 6 additions and 5 deletions
6
debian/autobake-deb.sh
vendored
6
debian/autobake-deb.sh
vendored
|
@ -91,6 +91,12 @@ then
|
|||
sed '/Package: mariadb-plugin-rocksdb/,/^$/d' -i debian/control
|
||||
fi
|
||||
|
||||
## Skip TokuDB if arch is not amd64
|
||||
if [[ ! $(dpkg-architecture -q DEB_BUILD_ARCH) =~ amd64 ]]
|
||||
then
|
||||
sed '/Package: mariadb-plugin-tokudb/,/^$/d' -i debian/control
|
||||
fi
|
||||
|
||||
# Always remove aws plugin, see -DNOT_FOR_DISTRIBUTION in CMakeLists.txt
|
||||
sed '/Package: mariadb-plugin-aws-key-management-10.2/,/^$/d' -i debian/control
|
||||
|
||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -112,11 +112,6 @@ override_dh_auto_install:
|
|||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
# Skip TokuDB if arch is not amd64
|
||||
ifneq ($(ARCH), amd64)
|
||||
sed -i -e "/Package: mariadb-plugin-tokudb/,+16d" debian/control
|
||||
endif
|
||||
|
||||
# Copy systemd files to a location available for dh_installinit
|
||||
cp $(BUILDDIR)/support-files/mariadb.service debian/mariadb-server-10.2.mariadb.service
|
||||
cp $(BUILDDIR)/support-files/mariadb@.service debian/mariadb-server-10.2.mariadb@.service
|
||||
|
|
Loading…
Reference in a new issue