From 32d759d782d4fb8d9b1beb3f566fbccd8297125e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 3 Dec 2004 22:32:58 +0000 Subject: [PATCH] No longer deletes all data on the target directory, but only everything in beos/ - this makes the update function useful again. Also took all the blame on why Jerome introduced this :-) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10355 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- makehdimage | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/makehdimage b/makehdimage index 9fb425bfb9..2809d1d75d 100755 --- a/makehdimage +++ b/makehdimage @@ -66,10 +66,9 @@ jam -q kernel boot_loader config_manager pci isa ide scsi \ scsi_periph intel keyboard scsi_dsk scsi_cd \ rld.so kernel_fortune consoled \ $BEOS_BIN $BEOS_SYSTEM_LIB \ - kernel_uname libnet.so null zero random \tty "config" \ + kernel_uname libnet.so null zero random \tty \config \ || exit 1 - # create the image and the directory structure if [ ! $alreadyMounted ]; then @@ -81,8 +80,11 @@ if [ ! $alreadyMounted ]; then fi cd $targetDir -# this avoids diskspace leaking with current combination userlandfs/obfs -rm -Rf * + +# this avoids diskspace leaking with our current BFS version +# (because of some unidentified bugs, of course :) +rm -rf beos + mkdir -p beos/system/add-ons/kernel/bus_managers mkdir -p beos/system/add-ons/kernel/generic mkdir -p beos/system/add-ons/kernel/file_systems