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
This commit is contained in:
Axel Dörfler
2004-12-03 22:32:58 +00:00
parent 7c012c2316
commit 32d759d782
+6 -4
View File
@@ -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 \<driver\>tty "<driver>config" \
kernel_uname libnet.so null zero random \<driver\>tty \<driver\>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