ARCH=$(dpkg --print-architecture)
-if ! [ -f "grub-pc_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-common_${GRUB}_${ARCH}.deb" ] ; then
+if ! [ -f "grub-pc_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-pc-bin_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-common_${GRUB}_${ARCH}.deb" ] ; then
wget http://cdn.debian.net/debian/pool/main/g/grub2/grub-pc_"${GRUB}"_${ARCH}.deb
+ wget http://cdn.debian.net/debian/pool/main/g/grub2/grub-pc-bin_"${GRUB}"_${ARCH}.deb
wget http://cdn.debian.net/debian/pool/main/g/grub2/grub-common_"${GRUB}"_${ARCH}.deb
fi
-if ! [ -f "grub-pc_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-common_${GRUB}_${ARCH}.deb" ] ; then
+if ! [ -f "grub-pc_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-pc-bin_${GRUB}_${ARCH}.deb" ] || ! [ -f "grub-common_${GRUB}_${ARCH}.deb" ] ; then
echo "Error reading grub files version $GRUB - exiting.">&2
exit 1
fi
ar x "${oldpwd}"/"grub-pc_${GRUB}_${ARCH}.deb"
tar xzf data.tar.gz
+ar x "${oldpwd}"/"grub-pc-bin_${GRUB}_${ARCH}.deb"
+tar xzf data.tar.gz
ar x "${oldpwd}"/"grub-common_${GRUB}_${ARCH}.deb"
tar xzf data.tar.gz
-*915resolution: 915resolution
*acpi: acpi
*background_image: gfxterm
*cat: cat
*cpuid: cpuid
+*crc: hashsum
*drivemap: drivemap
*echo: echo
*functional_test: functional_test
*load_env: loadenv
*loopback: loopback
*ls: ls
+*lsacpi: lsacpi
*lspci: lspci
*md5sum: hashsum
+*menuentry: normal
*probe: probe
*read_byte: memrw
*read_dword: memrw
*read_word: memrw
+*regexp: regexp
*save_env: loadenv
*search: search
+*sendkey: sendkey
*serial: serial
*setpci: setpci
+*sha1sum: hashsum
*sha256sum: hashsum
*sha512sum: hashsum
*sleep: sleep
+*submenu: normal
+*terminfo: terminfo
+*test_blockarg: test_blockarg
*xnu_splash: xnu
.: configfile
+915resolution: 915resolution
[: test
+authenticate: normal
+background_color: gfxterm
badram: mmap
blocklist: blocklist
boot: boot
+break: normal
cat: minicmd
chainloader: chain
clear: normal
+cmosclean: cmostest
cmostest: cmostest
cmp: cmp
configfile: configfile
-crc: crc
+continue: normal
+cutmem: mmap
date: date
dump: minicmd
efiemu_loadcore: efiemu
efiemu_unload: efiemu
exit: minicmd
export: normal
+extract_entries_configfile: configfile
+extract_entries_source: configfile
+extract_legacy_entries_configfile: legacycfg
+extract_legacy_entries_source: legacycfg
false: true
gptsync: gptsync
help: minicmd
initrd16: linux16
initrd: linux
+keymap: keylayouts
kfreebsd_loadenv: bsd
kfreebsd_module: bsd
kfreebsd_module_elf: bsd
+knetbsd_module: bsd
+knetbsd_module_elf: bsd
+kopenbsd_ramdisk: bsd
+legacy_check_password: legacycfg
+legacy_configfile: legacycfg
+legacy_initrd: legacycfg
+legacy_initrd_nounzip: legacycfg
+legacy_kernel: legacycfg
+legacy_password: legacycfg
+legacy_source: legacycfg
linux16: linux16
linux: linux
loadfont: font
+lsapm: lsapm
lsfonts: font
lsmmap: lsmmap
lsmod: minicmd
multiboot: multiboot
normal: normal
normal_exit: normal
+ntldr: ntldr
outb: iorw
outl: iorw
outw: iorw
pxe_unload: pxecmd
read: read
reboot: reboot
-regexp: regexp
+return: normal
rmmod: minicmd
-root: minicmd
search.file: search_fs_file
search.fs_label: search_label
search.fs_uuid: search_fs_uuid
+setparams: normal
+shift: normal
source: configfile
terminal_input: terminal
terminal_output: terminal
-terminfo: terminfo
test: test
+testload: testload
true: true
usb: usbtest
-vbeinfo: vbeinfo
-vbetest: vbetest
+vbeinfo: videoinfo
+vbetest: videotest
+videoinfo: videoinfo
videotest: videotest
write_byte: memrw
write_dword: memrw
-date: datetime normal
+squash4: gzio fshelp
search_fs_uuid:
-gcry_twofish: crypto
-multiboot2: boot gzio video relocator mmap
+legacycfg: linux gcry_md5 crypto password normal
+date: datetime normal
uhci: pci usb
+multiboot2: boot video acpi relocator mmap lsapm vbe
+gcry_twofish: crypto
cmostest:
gcry_rijndael: crypto
echo: extcmd
cpio:
-gcry_cast5: crypto
+xzio: gcry_crc
+part_sun:
gcry_sha512: crypto
+gcry_cast5: crypto
boot:
-part_sun:
-gzio:
ls: extcmd normal
-gfxterm: video extcmd bitmap_scale bitmap font
+gzio:
video:
-gcry_serpent: crypto
+test_blockarg: extcmd normal
+gfxterm: video extcmd bitmap_scale bitmap font
gcry_tiger: crypto
+gcry_serpent: crypto
aout:
gcry_blowfish: crypto
+trig:
extcmd:
-at_keyboard:
-minix:
+at_keyboard: boot keylayouts
+videoinfo: video
pxe: bufio
-reboot:
+minix:
+keylayouts:
xnu_uuid: gcry_md5
-help: extcmd normal
-usbms: usb scsi
usbtest: usb
-blocklist:
+usbms: usb scsi
+reboot:
+help: extcmd normal
part_msdos:
-gcry_rfc2268: crypto
-pbkdf2: crypto
+blocklist:
probe: extcmd
+pbkdf2: crypto
+gcry_rfc2268: crypto
gcry_camellia: crypto
fat:
-gcry_md4: crypto
-parttool: normal
pci:
-linux: boot video mmap normal
+parttool: normal
+linux: boot video relocator mmap vbe normal
+gcry_md4: crypto
zfsinfo: zfs
+usb_keyboard: keylayouts usb
gcry_md5: crypto
fshelp:
-usb_keyboard: usb
bitmap_scale: bitmap
ata: pci scsi
+datetime:
+usbserial_common: usb serial
gcry_des: crypto
-datehook: datetime normal
-dm_nv: raid
reiserfs: fshelp
+dm_nv: raid
+datehook: datetime normal
afs_be: fshelp
-efiemu: acpi crc normal
-gcry_seed: crypto
+efiemu: acpi gcry_crc normal
+kernel:
video_cirrus: video pci video_fb
+gcry_seed: crypto
crypto:
+test:
terminal:
+lsacpi: extcmd acpi
jpeg: bufio bitmap
-test:
-bsd: boot gzio video aout extcmd elf cpuid mmap
+bsd: boot video aout extcmd cpuid elf relocator serial mmap vbe
memdisk:
-cmp: gzio
-gfxmenu: gfxterm video trig bitmap_scale bitmap normal font
-acpi: gzio extcmd mmap
-elf: gzio
-affs: fshelp
+gfxmenu: video gfxterm trig bitmap_scale bitmap normal font
+cmp:
+acpi: extcmd mmap
xfs: fshelp
+elf:
cpuid: extcmd
-crc:
+affs: fshelp
usb: pci
videotest: video gfxmenu font
-play:
+testload:
relocator:
+play:
+pxecmd: pxe
password: crypto normal
-mdraid: raid
part_sunpc:
-pxecmd: pxe
video_fb: video
sleep: extcmd normal
serial: extcmd terminfo
-gcry_rmd160: crypto
-gcry_sha256: crypto
search_fs_file:
+gcry_sha256: crypto
+gcry_rmd160: crypto
search: search_fs_uuid extcmd search_fs_file search_label
+mdraid09: raid
chain: boot video
memrw: extcmd
cs5536: pci
ata_pthru: ata
-gcry_crc: crypto
password_pbkdf2: gcry_sha512 pbkdf2 crypto normal
+mdraid1x: raid
+linux16: boot video relocator mmap
+gcry_crc: crypto
configfile: normal
befs: fshelp
-linux16: boot video mmap
-gcry_arcfour: crypto
raid5rec: raid
-gettext: gzio normal
+gcry_arcfour: crypto
+sendkey: boot extcmd
+gettext:
hello: extcmd
-hashsum: extcmd crypto normal
vga_text:
-vbeinfo: vbe
-regexp:
-gptsync:
+usbserial_pl2303: usbserial_common usb serial
+hashsum: extcmd crypto normal
+regexp: extcmd normal
part_gpt:
ohci: boot pci usb cs5536
+gptsync:
zfs:
-bufio:
part_apple:
hdparm: extcmd
+bufio:
+btrfs: gzio
bitmap:
true:
-terminfo:
-hfs:
+terminfo: extcmd
ntfscomp: ntfs
+hfs:
biosdisk:
ufs1:
-915resolution: extcmd
-gcry_sha1: crypto
-lsmmap:
-nilfs2: fshelp
+ntldr: boot video relocator
+setjmp:
ufs2:
-befs_be: fshelp
+nilfs2: fshelp
+lsmmap:
+gcry_sha1: crypto
+915resolution:
mmap: boot
-png: bufio bitmap
+befs_be: fshelp
tar:
-hfsplus: fshelp
+png: bufio bitmap
lspci: extcmd pci
+hfsplus: fshelp
tga: bufio bitmap
-functional_test: extcmd
+minix2:
+setpci: extcmd pci
scsi:
-lvm:
raid:
-setpci: extcmd pci
+lvm:
+lsapm:
+functional_test: extcmd
iso9660: fshelp
+vbe: video video_fb
+udf: fshelp
search_label:
-msdospart: parttool
raid6rec: raid
-udf: fshelp
-vbe: video video_fb
-halt: extcmd
-keystatus: extcmd
+msdospart: parttool
+halt: extcmd acpi
+xnu: boot video extcmd bitmap_scale efiemu relocator bitmap normal
read:
-multiboot: boot gzio video relocator mmap
-xnu: boot gzio video extcmd bitmap_scale efiemu relocator bitmap normal
-normal: boot crypto terminal
-loopback: extcmd
-part_amiga:
-sfs: fshelp
+multiboot: boot video relocator mmap lsapm vbe
+keystatus: extcmd
+normal: boot gfxterm extcmd crypto terminal
video_bochs: video pci video_fb
+sfs: fshelp
+part_amiga:
+loopback: extcmd
jfs:
-vbetest: video vbe
-cat: gzio extcmd
part_acorn:
-afs: fshelp
iorw: extcmd
-hexdump: gzio extcmd
-gcry_whirlpool: crypto
-loadenv: extcmd
+cat: extcmd
+afs: fshelp
+hexdump: extcmd
+usbserial_ftdi: usbserial_common usb serial
minicmd:
+loadenv: extcmd
+gcry_whirlpool: crypto
drivemap: boot extcmd mmap
-example_functional_test: functional_test
+vga: video video_fb
+part_bsd: part_msdos
font: video bufio
-part_bsd:
ext2: fshelp
-vga: video video_fb
+example_functional_test: functional_test
ntfs: fshelp