From 2e3d1737bb72272b198b8b938704b8bdf93a76d0 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Fri, 25 Jun 2010 16:29:30 +0200 Subject: [PATCH] bugfix: remove old set of local tools and plugins before installing This is mostly important for the plugins. A new installation may want to install a different set of plugins. Cleaning up before re-installing makes sure that plugins from old installations are properly removed. Signed-off-by: Gordon Hecker --- Changelog | 2 ++ Makefile | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Changelog b/Changelog index 99bb973..42d5d6f 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,8 @@ NEXT: * BuildIds are now calculated in advance to detect errors immediately before starting the first build process + * remove old local installation before re-installing. Plugins were not + removed in e2-install-e2 before. e2factory-2.3.6 * the release build process changed: Results are now stored on the diff --git a/Makefile b/Makefile index 21fa5d9..61a3c9b 100644 --- a/Makefile +++ b/Makefile @@ -104,6 +104,12 @@ local: e2commit buildconfig.lua install-local: scripts/e2-locate-project-root + @echo removing old installation... + rm -rf $(LOCALBINDIR) + rm -rf $(LOCALLIBDIR) + rm -rf $(LOCALMAKDIR) + @echo removing old plugins... + rm -rf $(LOCALPLUGINDIR) $(MAKE) -C generic install-local $(MAKE) -C local install-local $(MAKE) -C templates install-local -- 2.39.5