From 258f9f1304d54140a89a362d9baa55eef3f8faf1 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 20 Nov 2003 22:55:51 +0000 Subject: found no way to write into /var/run/utmp than to create my own program :( --- move/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'move/Makefile') diff --git a/move/Makefile b/move/Makefile index 3e727c983..e775d9b0b 100644 --- a/move/Makefile +++ b/move/Makefile @@ -26,7 +26,7 @@ endif all: install -build: xwait isolinux/boot.msg +build: xwait runlevel_set isolinux/boot.msg 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 sudo find $(DEST_LIVETREE)/etc -type f | perl -pe 's|$(DEST_LIVETREE)||' > data/all-etcfiles @@ -42,6 +42,7 @@ install: build $(MAKE) -C ../perl-install/share/po install NAME=libDrakX DATADIR=$(DEST_LIVETREE)/usr/share sudo cp -f xwait $(DEST_LIVETREE)/usr/bin + sudo cp -f runlevel_set $(DEST_LIVETREE)/usr/bin sudo cp -f runstage2 $(DEST_LIVETREE)/usr/bin/runstage2.pl sudo rm -rf $(DEST_STAGE2) sudo mkdir -p $(DEST_STAGE2) @@ -108,6 +109,9 @@ iso: un_live_tree_boot install live_tree_boot xwait: %: %.c $(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@ +runlevel_set: %: %.c + $(CC) $(CFLAGS) $< -o $@ + clean: rm -f xwait -- cgit v1.2.1