From 8ca49095a012e432394e5eabf3ca6a53b0cd335b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 25 Nov 2004 18:38:24 +0000 Subject: [PATCH] Updated usage comments at the top of the file. Added "safemode" and "shutdown" commands. Now makes a symlink from "more" to "less". git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10238 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- makehdimage | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/makehdimage b/makehdimage index 7c94051fd6..18e51618a4 100755 --- a/makehdimage +++ b/makehdimage @@ -1,17 +1,22 @@ #!/bin/sh +# Usage: makehdimage [image path/target dir] +# # This script will compile all files needed to create a bootable Haiku image, # create such an image, and copy the files to the correct location. # # You need the Userland FS Server package from Ingo Weinhold to successfully # create the image, and you also need to have the UserlandFSServer running -# in the background when you start the script. +# in the background when you start the script (as long as you don't use +# the target directory mode). # -# Usage: makehdimage [image path] # If you don't specify the image, $sourceDir/haiku.image will be used. In # the current default configuration, you have to start this script in the # "current" directory of the Haiku tree. A 40 MB image will be created there. # +# If you specify a target directory, no image is going to be created at +# all, and also the Userland FS Server is not needed. +# # You may want to change it to suit your needs. Have fun! @@ -49,7 +54,7 @@ RUN_WITHOUT_APP_SERVER=1 BEOS_BIN="touch sync ln listarea listattr listsem listport \ true false ls df mount unmount cp mv ps sh mkdir sleep \ - grep cat less clockconfig du rm date" + grep cat less clockconfig du rm date shutdown safemode" BEOS_SYSTEM_LIB="libbe.so libstdc++.r4.so libnet.so" @@ -140,7 +145,8 @@ done cd $sourceDir/distro/x86.R1/beos/bin cp ../apps/consoled $BEOS_BIN $targetDir/beos/bin/ - +cd $targetDir/beos/bin +ln -s less more # scripts and data files cd $sourceDir