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
This commit is contained in:
Axel Dörfler
2004-11-25 18:38:24 +00:00
parent 73e29ea0c4
commit 8ca49095a0
+10 -4
View File
@@ -1,17 +1,22 @@
#!/bin/sh #!/bin/sh
# Usage: makehdimage [image path/target dir]
#
# This script will compile all files needed to create a bootable Haiku image, # 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. # create such an image, and copy the files to the correct location.
# #
# You need the Userland FS Server package from Ingo Weinhold to successfully # You need the Userland FS Server package from Ingo Weinhold to successfully
# create the image, and you also need to have the UserlandFSServer running # 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 # 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 # 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. # "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! # 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 \ BEOS_BIN="touch sync ln listarea listattr listsem listport \
true false ls df mount unmount cp mv ps sh mkdir sleep \ 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" BEOS_SYSTEM_LIB="libbe.so libstdc++.r4.so libnet.so"
@@ -140,7 +145,8 @@ done
cd $sourceDir/distro/x86.R1/beos/bin cd $sourceDir/distro/x86.R1/beos/bin
cp ../apps/consoled $BEOS_BIN $targetDir/beos/bin/ cp ../apps/consoled $BEOS_BIN $targetDir/beos/bin/
cd $targetDir/beos/bin
ln -s less more
# scripts and data files # scripts and data files
cd $sourceDir cd $sourceDir