diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-17 02:16:30 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-17 02:16:30 +0000 |
commit | df6434f27a749465e176affbe27d677aba586269 (patch) | |
tree | ca4ba65e690383d0765da906e50c2ed8802fd659 /DuetPkg/CreateBootDisk.sh | |
parent | db0b7ad5f450cc5fdcfc12d88411ba00b0cf118f (diff) | |
download | edk2-platforms-df6434f27a749465e176affbe27d677aba586269.tar.xz |
Rollback patch temporary until receive legal approve.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/CreateBootDisk.sh')
-rw-r--r-- | DuetPkg/CreateBootDisk.sh | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/DuetPkg/CreateBootDisk.sh b/DuetPkg/CreateBootDisk.sh index faa9032cc3..fb54a31b0d 100644 --- a/DuetPkg/CreateBootDisk.sh +++ b/DuetPkg/CreateBootDisk.sh @@ -2,7 +2,7 @@ # Set up environment at fisrt. export BUILD_DIR=$WORKSPACE/Build/DuetPkg/DEBUG_UNIXGCC -export BASETOOLS_DIR=$EDK_TOOLS_PATH/Source/C/bin +export BASETOOLS_DIR=$WORKSPACE/Conf/BaseToolsSource/Source/C/bin export BOOTSECTOR_BIN_DIR=$WORKSPACE/DuetPkg/BootSector/bin export DISK_LABEL=DUET export PROCESS_MARK=TRUE @@ -57,23 +57,12 @@ then if [ "$4" = FAT12 ] then echo "Start to create file boot disk ..." - dd if=/dev/zero of=$EFI_BOOT_MEDIA bs=512 count=2880 2> /dev/null - mformat -i $EFI_BOOT_MEDIA -f 1440 :: echo Create boot sector ... ## Linux version of GenBootSector has not pass build yet. $BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_MEDIA -o FDBs.com $BASETOOLS_DIR/BootSectImage -g FDBs.com $BOOTSECTOR_BIN_DIR/bootsect.com -f - $BASETOOLS_DIR/GnuGenBootSector -o tmp.$EFI_BOOT_MEDIA -i $BOOTSECTOR_BIN_DIR/bootsect.com - dd if=tmp.$EFI_BOOT_MEDIA of=$EFI_BOOT_MEDIA conv=notrunc 2> /dev/null - rm -f tmp.$EFI_BOOT_MEDIA - - mcopy -i $EFI_BOOT_MEDIA $BUILD_DIR/FV/Efildr ::/Efildr - - mmd -i $EFI_BOOT_MEDIA ::/efi - mmd -i $EFI_BOOT_MEDIA ::/efi/boot - - mcopy -i $EFI_BOOT_MEDIA $WORKSPACE/EdkShellBinPkg/MinimumShell/Ia32/Shell.efi ::/efi/boot/bootia32.efi + $BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_MEDIA -i $BOOTSECTOR_BIN_DIR/bootsect.com echo Done. else echo "Wrong FAT type" $4 "for floppy!" |