From bfb74f8e19dfb79be542b07cceffb48bb89eba09 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 3 Nov 2003 21:01:40 +0000 Subject: 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 --- move/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'move/Makefile') 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 -- cgit v1.2.1