From 50a08a0cba09ad9d53bad1f7552eb87019da36b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 5 May 2011 18:14:15 +0200 Subject: [PATCH] Install binary without version suffix. --- slapos/patch/xtrabackup_build.sh_with_prefix.patch | 11 +++++++++++ slapos/profile/xtrabackup.cfg | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/slapos/patch/xtrabackup_build.sh_with_prefix.patch b/slapos/patch/xtrabackup_build.sh_with_prefix.patch index 54ffcc8e81..7d1f7174dc 100644 --- a/slapos/patch/xtrabackup_build.sh_with_prefix.patch +++ b/slapos/patch/xtrabackup_build.sh_with_prefix.patch @@ -1,3 +1,14 @@ +diff --git a/Makefile b/Makefile +index dbb15d5..852a627 100644 +--- a/Makefile ++++ b/Makefile +@@ -137,5 +137,5 @@ $(TARGET): xtrabackup.o $(INNODBOBJS) $(MYSQLOBJS) + clean: + rm -f *.o xtrabackup_* + install: +- install -m 755 innobackupex-1.5.1 $(BIN_DIR) ++ install -m 755 innobackupex-1.5.1 $(BIN_DIR)/innobackupex + install -m 755 xtrabackup_* $(BIN_DIR) diff --git a/utils/build.sh b/utils/build.sh index 3f0cee7..ae0f35b 100755 --- a/utils/build.sh diff --git a/slapos/profile/xtrabackup.cfg b/slapos/profile/xtrabackup.cfg index 3caec11800..07938b3a99 100644 --- a/slapos/profile/xtrabackup.cfg +++ b/slapos/profile/xtrabackup.cfg @@ -13,7 +13,7 @@ parts = [xtrabackup-build-patch-download] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/../patch/${:filename} -md5sum = a5ac31fedbe36e1ede82058ad2fce782 +md5sum = 93856cdb8fba76a0c9261d975a5d7377 download-only = true filename = xtrabackup_build.sh_with_prefix.patch -- 2.30.9