[pve-devel] [PATCHV4 2/4] Revert commit 18335ece8876f7ef0b745c37de555646314c1943

Wolfgang Link w.link at proxmox.com
Mon Sep 5 11:58:51 CEST 2016


We like to have the dog binaries in /usr/sbin and not in /usr/bin
---
 ...move-dog-binary-to-bin-dir-instead-of-sbi.patch | 39 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 40 insertions(+)
 create mode 100644 debian/patches/Revert-dog-move-dog-binary-to-bin-dir-instead-of-sbi.patch

diff --git a/debian/patches/Revert-dog-move-dog-binary-to-bin-dir-instead-of-sbi.patch b/debian/patches/Revert-dog-move-dog-binary-to-bin-dir-instead-of-sbi.patch
new file mode 100644
index 0000000..1afbdcf
--- /dev/null
+++ b/debian/patches/Revert-dog-move-dog-binary-to-bin-dir-instead-of-sbi.patch
@@ -0,0 +1,39 @@
+From de2f8b2b9abac60746729511399c4e4bde903ef1 Mon Sep 17 00:00:00 2001
+From: Wolfgang Link <w.link at proxmox.com>
+Date: Wed, 13 Jul 2016 08:56:06 +0200
+Subject: [PATCH] Revert "dog: move dog binary to bin dir instead of sbin"
+
+This reverts commit 18335ece8876f7ef0b745c37de555646314c1943.
+---
+ dog/Makefile.am | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/dog/Makefile.am b/dog/Makefile.am
+index 6b29a47..cbbd5d1 100644
+--- a/dog/Makefile.am
++++ b/dog/Makefile.am
+@@ -21,7 +21,7 @@ AM_CFLAGS		=
+ 
+ AM_CPPFLAGS		= -I$(top_builddir)/include -I$(top_srcdir)/include
+ 
+-bin_PROGRAMS		= dog
++sbin_PROGRAMS		= dog
+ 
+ dog_SOURCES		= farm/object_tree.c farm/sha1_file.c farm/snap.c \
+ 			  farm/trunk.c farm/farm.c farm/slice.c \
+@@ -49,10 +49,10 @@ dog_LDADD		+= -leq_embed
+ endif
+ 
+ install-exec-hook:
+-	if [ -z "${DESTDIR}" ];then $(LN_S) -f ${bindir}/dog ${bindir}/collie;fi
++	if [ -z "${DESTDIR}" ];then $(LN_S) -f ${sbindir}/dog ${sbindir}/collie;fi
+ 
+ uninstall-hook:
+-	rm -f ${sbindir}/collie ${sbindir}/dog
++	rm -f ${sbindir}/collie
+ 
+ all-local:
+ 	@echo Built dog
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 4d213d4..5dd8fec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ simplify-log-rotation.patch
 set-no-file-limit.patch
 cleanup-systemd-service.patch
 add-service-start-condition.patch
+Revert-dog-move-dog-binary-to-bin-dir-instead-of-sbi.patch
\ No newline at end of file
-- 
2.1.4





More information about the pve-devel mailing list