Revert mistaken committed change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39517 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+11
-10
@@ -1397,19 +1397,20 @@ rule BuildFloppyBootImage image : haikuLoader : archive
|
|||||||
|
|
||||||
actions BuildFloppyBootImage1
|
actions BuildFloppyBootImage1
|
||||||
{
|
{
|
||||||
# haiku_loader_size=`stat -c %s $(>[1])`
|
haiku_loader_size=`stat -c %s $(>[1])`
|
||||||
# archive_image_offset=`echo "$(ARCHIVE_IMAGE_OFFSET) * 1024" | bc`
|
archive_image_offset=`echo "$(ARCHIVE_IMAGE_OFFSET) * 1024" | bc`
|
||||||
# if [ $haiku_loader_size -gt $archive_image_offset ] ; then
|
if [ $haiku_loader_size -gt $archive_image_offset ] ; then
|
||||||
# echo "Error: $(>[1]) is too big ($haiku_loader_size) to fit "
|
echo "Error: $(>[1]) is too big ($haiku_loader_size) to fit "
|
||||||
# echo " before the boot archive starting at $archive_image_offset!"
|
echo " before the boot archive starting at $archive_image_offset!"
|
||||||
# exit 1
|
exit 1
|
||||||
# fi
|
fi
|
||||||
$(RM) $(<)
|
$(RM) $(<)
|
||||||
# make an empty image
|
# make an empty image
|
||||||
dd if=/dev/zero of=$(<) bs=1k count=$(FLOPPY_IMAGE_SIZE)
|
dd if=/dev/zero of=$(<) bs=1k count=$(FLOPPY_IMAGE_SIZE)
|
||||||
# add haiku_loader, then the boot drivers tgz archive
|
# add haiku_loader
|
||||||
echo "cat $(>[1]) $(>[2]) | dd of=$(<) conv=notrunc"
|
dd if=$(>[1]) of=$(<) conv=notrunc
|
||||||
cat $(>[1]) $(>[2]) | dd of=$(<) conv=notrunc
|
# add the boot drivers tgz archive
|
||||||
|
dd if=$(>[2]) of=$(<) bs=$(ARCHIVE_IMAGE_OFFSET)k seek=1 conv=notrunc
|
||||||
}
|
}
|
||||||
|
|
||||||
actions BuildFloppyBootImageFixupM68K
|
actions BuildFloppyBootImageFixupM68K
|
||||||
|
|||||||
Reference in New Issue
Block a user