summaryrefslogtreecommitdiffstats
path: root/package/oracle-mysql
Commit message (Collapse)AuthorAgeFilesLines
* oracle-mysql: fix hostname pathChristopher McCrory2018-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | MySQL detects on the build machine where the hostname program is located, and uses this value in a number of configuration files and scripts that are generated and installed in the target: output/target$ grep -r "bin/hostname" * etc/inittab:::sysinit:/bin/hostname -F /etc/hostname usr/share/mysql/mysql.server: pid_file=$datadir/mysqlmanager-`/usr/bin/hostname`.pid usr/share/mysql/mysql.server: server_pid_file=$datadir/`/usr/bin/hostname`.pid usr/bin/mysql_install_db:hostname=`/usr/bin/hostname` usr/bin/mysqld_safe: err_log=$DATADIR/`/usr/bin/hostname`.err usr/bin/mysqld_safe: pid_file="$DATADIR/`/usr/bin/hostname`.pid" However, the hostname on the build machine may not necessarily be at the same location as the hostname program on the target. Buildroot has its hostname program (coming from Busybox) in /bin, but some Linux distributions (such as Fedora) use /usr/bin/hostname, causing the incorrect hostname paths above. This commit fixes that by passing the appropriate autoconf cache variable value. Signed-off-by: Christopher McCrory <chrismcc@gmail.com> [Thomas: add commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* oracle-mysql: fix build with gcc 7.xThomas Petazzoni2017-11-201-4/+25
| | | | | | | | | | | This adjusts an existing patch to also fix gcc 7.x build issues on the server side of MySQL. Fixes: http://autobuild.buildroot.net/results/9e3a0b5b8f2506fb2ce2fcc3d5d3a494a14439cb Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/oracle-mysql: fix build with gcc 7.xBernd Kuhls2017-06-081-0/+24
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* oracle-mysql: add patch to fix gcc 6.x build issueThomas Petazzoni2017-05-171-0/+22
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/61074b69b81cd5c17a7f74dc1f7b31f3fc35fd8a/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove consecutive empty linesRicardo Martincoski2017-04-061-1/+0
| | | | | | | | | | | Occurrences were searched using [1]: check-package --include-only ConsecutiveEmptyLines $(find * -type f) and manually removed. [1] http://patchwork.ozlabs.org/patch/729666/ Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/oracle-mysql: fix path to systemd service fileYann E. MORIN2017-02-251-2/+2
| | | | | | | | | | | | | | | | The path is a remnant from before the rename of the package. Rather than hard-code the path, use the available variable. Also use that variable when copying the Sys-V init script. Fixes: http://autobuild.buildroot.org/results/767/767f0be3894c45c1e6d18bc4528d0da7b50e3757/ http://autobuild.buildroot.org/results/e93/e934683ebcb33c9cc8fe9de7b1d5dcd7866f3bce/ http://autobuild.buildroot.org/results/5d0/5d04163de80f7900d4aed14cff75b2e0761f101d/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: rename package to oracle-mysql, make a virtual packageRyan Coe2016-12-1712-0/+3965
This commit turns mysql into a virtual package, after renaming the original mysql package to oracle-mysql. This way, all existing packages that "depends on" or "select" BR2_PACKAGE_MYSQL continue to work with no modification. Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud