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:
+6
-4
@@ -66,10 +66,9 @@ jam -q kernel boot_loader config_manager pci isa ide scsi \
|
|||||||
scsi_periph intel keyboard scsi_dsk scsi_cd \
|
scsi_periph intel keyboard scsi_dsk scsi_cd \
|
||||||
rld.so kernel_fortune consoled \
|
rld.so kernel_fortune consoled \
|
||||||
$BEOS_BIN $BEOS_SYSTEM_LIB \
|
$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
|
|| exit 1
|
||||||
|
|
||||||
|
|
||||||
# create the image and the directory structure
|
# create the image and the directory structure
|
||||||
|
|
||||||
if [ ! $alreadyMounted ]; then
|
if [ ! $alreadyMounted ]; then
|
||||||
@@ -81,8 +80,11 @@ if [ ! $alreadyMounted ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $targetDir
|
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/bus_managers
|
||||||
mkdir -p beos/system/add-ons/kernel/generic
|
mkdir -p beos/system/add-ons/kernel/generic
|
||||||
mkdir -p beos/system/add-ons/kernel/file_systems
|
mkdir -p beos/system/add-ons/kernel/file_systems
|
||||||
|
|||||||
Reference in New Issue
Block a user