]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixing make install and chroot make process; revision should not be part
authorBen Gras <ben@minix3.org>
Fri, 22 Apr 2005 16:16:23 +0000 (16:16 +0000)
committerBen Gras <ben@minix3.org>
Fri, 22 Apr 2005 16:16:23 +0000 (16:16 +0000)
of cvs

tools/Makefile
tools/chrootmake.sh
tools/mkboot
tools/revision [deleted file]

index dcc178f3a0f1362f7a5c95e191ca362d4d873d4e..bc911594ae7b19a91fc551a36b83d8e94c0537d0 100755 (executable)
@@ -66,6 +66,7 @@ hdboot:       image
 fdboot:        image
        exec su root mkboot $@
 
+install: hdboot
 
 # clean up compile results
 clean:
index 53821dd946c718e8932e64b50f6d66d67d3f50f4..ae4c4c303a4b1a0938d2e8bf1154935065c04327 100755 (executable)
@@ -1,20 +1,12 @@
 #!/bin/sh
-
-DIST=/usr/dist
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
-
+cd /usr || exit 1
+tar cf src.tar src || exit 1
 cd /usr/src || exit 1
-mkdir -p $DIST
-#echo "Making src.tar"
-#tar cf /dist/src.tar /usr/src || exit 1
 make world install || exit 1
-
 cd tools || exit 1
 make hdboot
-
-#rm -rf /usr/src
-#echo "Making bin.tar"
-#tar cf /dist/bin.tar /
-
+cd /usr || exit 1
+rm -rf /usr/src || exit 1
 exit 0
 
index 2170871fc0792721d26a283f3fad161740511301..09a96e249459ed1905ee51c1438994c967926232 100755 (executable)
@@ -47,7 +47,7 @@ hdboot)
        # Install a new image on the root device.
        if [ ! -d $rootdir/boot/image ]
        then
-               # /boot/image is not yet a directory!  Fix it.
+                /boot/image is not yet a directory!  Fix it.
                su root -c \
                    "exec mv $rootdir/boot/image /M"
                install -d $rootdir/boot/image
diff --git a/tools/revision b/tools/revision
deleted file mode 100644 (file)
index b1e7d26..0000000
+++ /dev/null
@@ -1 +0,0 @@
-61