Advertisement
Schreibwaise

Untitled

Jan 26th, 2018
1,784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.58 KB | None | 0 0
  1. diff --git a/packages/tools/installer/scripts/installer b/packages/tools/installer/scripts/installer
  2. index 4858d4b..8fbdfc1 100755
  3. --- a/packages/tools/installer/scripts/installer
  4. +++ b/packages/tools/installer/scripts/installer
  5. @@ -275,6 +275,8 @@ do_install_quick() {
  6.            cp $TMPDIR/part1/syslinux.cfg $TMPDIR/part1/EFI/BOOT
  7.            cp /usr/share/syslinux/bootx64.efi $TMPDIR/part1/EFI/BOOT
  8.            cp /usr/share/syslinux/ldlinux.e64 $TMPDIR/part1/EFI/BOOT
  9. +          cp /usr/share/syslinux/bootia32.efi $TMPDIR/part1/EFI/BOOT
  10. +          cp /usr/share/syslinux/ldlinux.e32 $TMPDIR/part1/EFI/BOOT
  11.          fi
  12.          sync
  13.  
  14. diff --git a/packages/tools/syslinux/package.mk b/packages/tools/syslinux/package.mk
  15. index 0538bed..10ce83d 100644
  16. --- a/packages/tools/syslinux/package.mk
  17. +++ b/packages/tools/syslinux/package.mk
  18. @@ -77,6 +77,8 @@ makeinstall_host() {
  19.      cp bios/mbr/gptmbr.bin $TOOLCHAIN/share/syslinux
  20.      cp efi64/efi/syslinux.efi $TOOLCHAIN/share/syslinux/bootx64.efi
  21.      cp efi64/com32/elflink/ldlinux/ldlinux.e64  $TOOLCHAIN/share/syslinux
  22. +    cp efi32/efi/syslinux.efi $TOOLCHAIN/share/syslinux/bootia32.efi
  23. +    cp efi32/com32/elflink/ldlinux/ldlinux.e32  $TOOLCHAIN/share/syslinux
  24.  }
  25.  
  26.  makeinstall_target() {
  27. @@ -92,4 +94,6 @@ makeinstall_target() {
  28.      cp bios/mbr/gptmbr.bin $INSTALL/usr/share/syslinux
  29.      cp efi64/efi/syslinux.efi $INSTALL/usr/share/syslinux/bootx64.efi
  30.      cp efi64/com32/elflink/ldlinux/ldlinux.e64  $INSTALL/usr/share/syslinux
  31. +    cp efi32/efi/syslinux.efi $INSTALL/usr/share/syslinux/bootia32.efi
  32. +    cp efi32/com32/elflink/ldlinux/ldlinux.e32  $INSTALL/usr/share/syslinux
  33.  }
  34. diff --git a/scripts/mkimage b/scripts/mkimage
  35. index 6ff5b5e..dfe6a12 100755
  36. --- a/scripts/mkimage
  37. +++ b/scripts/mkimage
  38. @@ -84,7 +84,7 @@ trap cleanup SIGINT
  39.    SYSTEM_PART_END=$(( $SYSTEM_PART_START + ($SYSTEM_SIZE * 1024 * 1024 / 512) - 1 ))
  40.    parted -s "$DISK" -a min unit s mkpart primary fat32 $SYSTEM_PART_START $SYSTEM_PART_END
  41.    if [ "$BOOTLOADER" = "syslinux" ]; then
  42. -    parted -s "$DISK" set 1 legacy_boot on
  43. +    parted -s "$DISK" set 1 boot on
  44.    else
  45.      parted -s "$DISK" set 1 boot on
  46.    fi
  47. @@ -163,6 +163,8 @@ EOF
  48.      mmd EFI EFI/BOOT
  49.      mcopy $TOOLCHAIN/share/syslinux/bootx64.efi ::/EFI/BOOT
  50.      mcopy $TOOLCHAIN/share/syslinux/ldlinux.e64 ::/EFI/BOOT
  51. +    mcopy $TOOLCHAIN/share/syslinux/bootia32.efi ::/EFI/BOOT
  52. +    mcopy $TOOLCHAIN/share/syslinux/ldlinux.e32 ::/EFI/BOOT
  53.      mcopy "$LE_TMP"/syslinux.cfg ::/EFI/BOOT
  54.  elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
  55.    # create bootloader configuration
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement