From 51f930da27942f1e412a16d87e38c1d6e4d215a4 Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Sat, 15 Jun 2013 23:40:34 +0000 Subject: Script to merge and syncronize /etc in different system versions This commit adds a script to merge and syncronize /etc in different system versions. The first argument read from command line is the mode, which can be one of the following: - test: the purpose of this mode is to test some merge cases. It receives from the command line v1_dir, vu_dir and v2_dir and vt_dir. The meaning of these arguments is explained in the script. - merge: merges the user changes in /etc in the run system of the version given as argument - sync: syncronizes /etc in all run versions, so that this directory is exactly the same as the version given as argument. This commit also includes an auxiliary script to mount the systems directory in a give directory given as argument, and some testing folders to use with the test mode. --- .../config-sync-tests/tests.upgrades.dir.symb/vu/1 | 1 + 1 file changed, 1 insertion(+) create mode 120000 baserock-system-config-sync/config-sync-tests/tests.upgrades.dir.symb/vu/1 (limited to 'baserock-system-config-sync/config-sync-tests/tests.upgrades.dir.symb/vu/1') diff --git a/baserock-system-config-sync/config-sync-tests/tests.upgrades.dir.symb/vu/1 b/baserock-system-config-sync/config-sync-tests/tests.upgrades.dir.symb/vu/1 new file mode 120000 index 0000000..6a93f4f --- /dev/null +++ b/baserock-system-config-sync/config-sync-tests/tests.upgrades.dir.symb/vu/1 @@ -0,0 +1 @@ +afile \ No newline at end of file -- cgit v1.2.1