Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a3e3225c
Commit
a3e3225c
authored
Apr 11, 2021
by
Otto Kekäläinen
Committed by
Daniel Black
Apr 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MCOL-4535: Clean up libreadline as ColumnStore no longer needs it
parent
f82e6973
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
debian/autobake-deb.sh
debian/autobake-deb.sh
+0
-8
debian/salsa-ci.yml
debian/salsa-ci.yml
+0
-18
No files found.
debian/autobake-deb.sh
View file @
a3e3225c
...
...
@@ -24,14 +24,6 @@ then
echo
>>
debian/control
cat
storage/columnstore/columnstore/debian/control
>>
debian/control
# From Debian Bullseye/Ubuntu Hirsute onwards libreadline is gone, so build with it
# only on older releases where it is still available. This can be removed once
# MCOL-4535 lands in MariaDB.
if
apt-cache madison libreadline-gplv2-dev |
grep
'libreadline-gplv2-dev'
>
/dev/null 2>&1
then
sed
's/libpcre2-dev,/libpcre2-dev, libreadline-gplv2-dev [amd64],/'
-i
debian/control
fi
# ColumnStore is explcitly disabled in the native build, so allow it now
# when build it when triggered by autobake-deb.sh
sed
'/-DPLUGIN_COLUMNSTORE=NO/d'
-i
debian/rules
...
...
debian/salsa-ci.yml
View file @
a3e3225c
...
...
@@ -37,14 +37,6 @@ build:
-
apt-get update && eatmydata apt-get install --yes --no-install-recommends aptitude devscripts ccache equivs
-
cd ${WORKING_DIR}/${SOURCE_DIR}
-
eatmydata install-build-deps.sh .
-
|
# From Debian Bullseye/Ubuntu Hirsute onwards libreadline is gone, so build with it
# only on older releases where it is still available. This can be removed once
# MCOL-4535 lands in MariaDB.
if apt-cache madison libreadline-gplv2-dev | grep 'libreadline-gplv2-dev' >/dev/null 2>&1
then
apt-get install --yes libreadline-gplv2-dev
fi
-
update-ccache-symlinks; ccache -z
# Zero out ccache counters
-
while
true
; do sleep 600; echo "10 minutes passed" >&2; done &
# Progress keeper since build is long and silent
-
debian/autobake-deb.sh |& tail -n
10000
# Keep Gitlab-CI output under 4 MB
...
...
@@ -142,12 +134,6 @@ blhc:
# Prime the apt cache so later apt commands can run
apt-get update
# Readline was removed from Debian Sid (and Bullseye) in Feb 2021. To be able to install older
# versions of MariaDB that depend on it, fetch and install it from Buster.
.test-install-readline-in-sid-for-backwards-compat
:
&test-install-readline-in-sid-for-backwards-compat
|
curl -O http://ftp.de.debian.org/debian/pool/main/r/readline5/libreadline5_5.2+dfsg-3+b13_amd64.deb
apt install -y ./libreadline5_5.2+dfsg-3+b13_amd64.deb
.test-verify-initial
:
&test-verify-initial
|
dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
service mysql status || service mariadb status # Early MariaDB 10.5 only had 'mariadb'
...
...
@@ -602,7 +588,6 @@ mariadb.org-10.5 to mariadb-10.6 upgrade:
-
curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-
echo 'deb http://mirror.one.com/mariadb/repo/10.5/debian sid main' > /etc/apt/sources.list.d/mariadb.list
-
apt-get update
-
*test-install-readline-in-sid-for-backwards-compat
# The 10.5.9 relase is missing mariadb-plugin-columnstore, define all other packages but it to avoid hitting the error:
# The following packages have unmet dependencies:
# mariadb-plugin-columnstore : Depends: mariadb-server-10.5 (= 1:10.5.8+maria~sid) but 1:10.5.9+maria~sid is to be installed
...
...
@@ -642,7 +627,6 @@ mariadb.org-10.4 to mariadb-10.6 upgrade:
-
curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-
echo 'deb http://mirror.one.com/mariadb/repo/10.4/debian sid main' > /etc/apt/sources.list.d/mariadb.list
-
apt-get update
-
*test-install-readline-in-sid-for-backwards-compat
-
apt-get install -y mariadb-server-10.4
# MariaDB.org version of 10.4 and early 10.5 do not install an init file, so
# it must be installed here manually
...
...
@@ -676,7 +660,6 @@ mariadb.org-10.3 to mariadb-10.6 upgrade:
-
curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-
echo 'deb http://mirror.one.com/mariadb/repo/10.3/debian sid main' > /etc/apt/sources.list.d/mariadb.list
-
apt-get update
-
*test-install-readline-in-sid-for-backwards-compat
-
apt-get install -y mariadb-server-10.3
# Verify initial state before upgrade
-
dpkg -l | grep -iE 'maria|mysql|galera' ||
true
# List installed
...
...
@@ -713,7 +696,6 @@ mariadb.org-10.2 to mariadb-10.6 upgrade:
-
curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-
echo 'deb http://mirror.one.com/mariadb/repo/10.2/debian sid main' > /etc/apt/sources.list.d/mariadb.list
-
apt-get update
-
*test-install-readline-in-sid-for-backwards-compat
-
apt-get install -y mariadb-server-10.2
# Verify initial state before upgrade
-
dpkg -l | grep -iE 'maria|mysql|galera' ||
true
# List installed
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment