* [Buildroot] [PATCH] package/oracle-mysql: fix path to systemd service file
@ 2017-02-25 14:31 Yann E. MORIN
2017-02-25 15:46 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2017-02-25 14:31 UTC (permalink / raw)
To: buildroot
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>
---
package/oracle-mysql/oracle-mysql.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/oracle-mysql/oracle-mysql.mk b/package/oracle-mysql/oracle-mysql.mk
index ed3c0ea..f0f0649 100644
--- a/package/oracle-mysql/oracle-mysql.mk
+++ b/package/oracle-mysql/oracle-mysql.mk
@@ -108,12 +108,12 @@ endef
ORACLE_MYSQL_POST_INSTALL_TARGET_HOOKS += ORACLE_MYSQL_ADD_FOLDER
define ORACLE_MYSQL_INSTALL_INIT_SYSV
- $(INSTALL) -D -m 0755 package/oracle-mysql/S97mysqld \
+ $(INSTALL) -D -m 0755 $(ORACLE_MYSQL_PKGDIR)/S97mysqld \
$(TARGET_DIR)/etc/init.d/S97mysqld
endef
define ORACLE_MYSQL_INSTALL_INIT_SYSTEMD
- $(INSTALL) -D -m 644 package/mysql/mysqld.service \
+ $(INSTALL) -D -m 644 $(ORACLE_MYSQL_PKGDIR)/mysqld.service \
$(TARGET_DIR)/usr/lib/systemd/system/mysqld.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/mysqld.service \
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/oracle-mysql: fix path to systemd service file
2017-02-25 14:31 [Buildroot] [PATCH] package/oracle-mysql: fix path to systemd service file Yann E. MORIN
@ 2017-02-25 15:46 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-02-25 15:46 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 25 Feb 2017 15:31:23 +0100, Yann E. MORIN wrote:
> 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>
> ---
> package/oracle-mysql/oracle-mysql.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-25 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 14:31 [Buildroot] [PATCH] package/oracle-mysql: fix path to systemd service file Yann E. MORIN
2017-02-25 15:46 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.