summaryrefslogtreecommitdiffstats
path: root/move/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-15 13:07:55 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-15 13:07:55 +0000
commit40adb6505e2c7349e08480d22c710011a75ca9c1 (patch)
treef2b2b45b924d3890073cc18c7d28db3a5133c3ae /move/Makefile
parent80546302129cdc8e944ff766d7e12da710b2a0ea (diff)
downloaddrakx-40adb6505e2c7349e08480d22c710011a75ca9c1.tar
drakx-40adb6505e2c7349e08480d22c710011a75ca9c1.tar.gz
drakx-40adb6505e2c7349e08480d22c710011a75ca9c1.tar.bz2
drakx-40adb6505e2c7349e08480d22c710011a75ca9c1.tar.xz
drakx-40adb6505e2c7349e08480d22c710011a75ca9c1.zip
try to lock to avoid problems with pixel
Diffstat (limited to 'move/Makefile')
-rw-r--r--move/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/move/Makefile b/move/Makefile
index f0a147a49..80649db63 100644
--- a/move/Makefile
+++ b/move/Makefile
@@ -15,6 +15,8 @@ build:
cd $(STAGE1) && ADDITIONAL_DEFS="-DMANDRAKE_MOVE" make init stage1-network stage1-cdrom init-move
install: build
+ while [ -e $(DEST_LIVETREE)/lock ]; do echo -e "\t*** sleeping because of lock... ***\n"; sleep 1; done
+ sudo touch $(DEST_LIVETREE)/lock
#- todo: make_boot_img alike to create boot volume from ../mdk-stage1/stage1-cdrom (isolinux mandatory since stock kernel is so big)
sudo cp -f $(STAGE1)/init-move $(DEST_LIVETREE)/sbin/init
@@ -38,3 +40,4 @@ install: build
grep ChangeLog $(INSTALL)/CVS/Entries > /tmp/version
sudo cp -f /tmp/version $(DEST_LIVETREE)/usr/share/VERSION
+ sudo rm -f $(DEST_LIVETREE)/lock