summaryrefslogtreecommitdiffstats
path: root/move/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-03 21:01:40 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-03 21:01:40 +0000
commitbfb74f8e19dfb79be542b07cceffb48bb89eba09 (patch)
treebd1c218d189f1581d2d376a93560fabadf72bf02 /move/Makefile
parent6eb70d879ac65c1413ed84ba286f6123060a905e (diff)
downloaddrakx-backup-do-not-use-bfb74f8e19dfb79be542b07cceffb48bb89eba09.tar
drakx-backup-do-not-use-bfb74f8e19dfb79be542b07cceffb48bb89eba09.tar.gz
drakx-backup-do-not-use-bfb74f8e19dfb79be542b07cceffb48bb89eba09.tar.bz2
drakx-backup-do-not-use-bfb74f8e19dfb79be542b07cceffb48bb89eba09.tar.xz
drakx-backup-do-not-use-bfb74f8e19dfb79be542b07cceffb48bb89eba09.zip
call summaryBefore to auto configure network, timezone, printers
obscure problems when launching foomatic-configure exhausted problem of missing subdirectories in /etc and /var, create them at startup when they are missing to prevent from future other problems of the kind
Diffstat (limited to 'move/Makefile')
-rw-r--r--move/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/move/Makefile b/move/Makefile
index 0d0220fd9..084e10099 100644
--- a/move/Makefile
+++ b/move/Makefile
@@ -2,7 +2,7 @@
DEST_LIVETREE = /tmp/live_tree
DEST_STAGE2 = $(DEST_LIVETREE)/usr/bin/stage2
-DATA_FILES = devices symlinks
+DATA_FILES = devices symlinks directories-to-create
LANG_FILES = $(shell perl -ne 'print $$1 if /ALLOWED_LANGS = qw\((.*)\)/' move.pm)
STAGE1 = ../mdk-stage1
@@ -22,6 +22,7 @@ all: install
build: xwait
cd $(STAGE1) && ADDITIONAL_DEFS="-DMANDRAKE_MOVE" MOVE=1 make init stage1-network stage1-cdrom init-move
+ sudo ./collect-directories-to-create.pl $(DEST_LIVETREE) > data/directories-to-create
install: build
while [ -e $(DEST_LIVETREE)/lock ]; do echo -e "\t*** sleeping because of lock... ***\n"; sleep 1; done
@@ -42,6 +43,7 @@ install: build
#- overwrite /usr/lib/libDrakX files of the live tree with those in CVS
sudo cp -f $(addprefix $(INSTALL)/, $(shell cd $(DEST_LIVETREE)/usr/lib/libDrakX ; ls *.pm)) $(DEST_LIVETREE)/usr/lib/libDrakX || :
+ sudo cp -f $(addprefix $(INSTALL)/printer/, $(shell cd $(DEST_LIVETREE)/usr/lib/libDrakX/printer ; ls *.pm)) $(DEST_LIVETREE)/usr/lib/libDrakX/printer || :
#- overwrite stuff.so of drakxtools because it doesn't contain C_DRAKX stuff
sudo cp -f ../perl-install/c/blib/arch/auto/stuff/stuff.so $(DEST_LIVETREE)/usr/lib/libDrakX/auto/c/stuff