[NEW PATCH] Remove symlinks for subsequent autobuild runs (via gerrit-bot)
Federico Simoncelli
fsimonce at redhat.com
Tue Aug 23 10:37:54 UTC 2011
New patch submitted by Federico Simoncelli (fsimonce at redhat.com)
You can review this change at: http://gerrit.usersys.redhat.com/847
commit 36a358a1cae065c014d78fb9552054aafd21553a
Author: Federico Simoncelli <fsimonce at redhat.com>
Date: Tue Aug 23 10:36:19 2011 +0000
Remove symlinks for subsequent autobuild runs
Change-Id: I76be9b1dcc1dcf9f40b8ba930423012dc166f4f3
diff --git a/vdsm_hooks/faqemu/Makefile.am b/vdsm_hooks/faqemu/Makefile.am
index 213a6e7..239daa8 100644
--- a/vdsm_hooks/faqemu/Makefile.am
+++ b/vdsm_hooks/faqemu/Makefile.am
@@ -13,6 +13,7 @@ EXTRA_DIST = \
before_vm_start.py
install-data-local:
+ $(RM) $(DESTDIR)$(bindir)/qemu-system-x86_64
$(LN_S) qemu $(DESTDIR)$(bindir)/qemu-system-x86_64
$(MKDIR_P) $(DESTDIR)$(vdsmhooksdir)/before_vm_start
$(INSTALL_SCRIPT) $(srcdir)/before_vm_start.py \
diff --git a/vdsm_hooks/vhostmd/Makefile.am b/vdsm_hooks/vhostmd/Makefile.am
index 0cab465..af15374 100644
--- a/vdsm_hooks/vhostmd/Makefile.am
+++ b/vdsm_hooks/vhostmd/Makefile.am
@@ -22,9 +22,11 @@ install-data-local: install-data-sudoers
$(INSTALL_SCRIPT) $(srcdir)/after_vm_destroy.py \
$(DESTDIR)$(vdsmhooksdir)/after_vm_destroy/50_vhostmd
$(MKDIR_P) $(DESTDIR)$(vdsmhooksdir)/before_vm_migrate_destination
+ $(RM) $(DESTDIR)$(vdsmhooksdir)/before_vm_migrate_destination/50_vhostmd
$(LN_S) ../before_vm_start/50_vhostmd \
$(DESTDIR)$(vdsmhooksdir)/before_vm_migrate_destination/50_vhostmd
$(MKDIR_P) $(DESTDIR)$(vdsmhooksdir)/before_vm_dehibernate
+ $(RM) $(DESTDIR)$(vdsmhooksdir)/before_vm_dehibernate/50_vhostmd
$(LN_S) ../before_vm_start/50_vhostmd \
$(DESTDIR)$(vdsmhooksdir)/before_vm_dehibernate/50_vhostmd
More information about the vdsm-patches
mailing list