Add a gitlab-ci configuration that builds bios/native/efi grub2pxe our way.

4 jobs for master in 4 minutes and 10 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
failed #2820
emulab-grub2-x86

00:04:10

failed #2817
emulab-grub2-x86

00:06:32

 
  Deploy
skipped #2819
allowed to fail manual
deploy_production
skipped #2818
deploy_testing
 
Name Stage Failure
failed
emulab-grub2-x86 Build
$ grub-mknetdir --net-directory=/tftpboot --subdir=grub2pxe-efi-sio2
grub-mknetdir: warning: cannot open directory `/usr/local/share/locale': No such file or directory.
grub-mknetdir: warning: cannot open directory `/usr/local/share/locale': No such file or directory.
Netboot directory for i386-pc created. Configure your DHCP server to point to /tftpboot/grub2pxe-efi-sio2/i386-pc/core.0
Netboot directory for x86_64-efi created. Configure your DHCP server to point to /tftpboot/grub2pxe-efi-sio2/x86_64-efi/core.efi
$ for tdir in /tftpboot/grub2pxe-{bios,native}-* ; do cp -p $tdir/i386-pc/core.0 $tdir/grub2pxe ; rm -rf $tdir/{i386-pc,fonts,locale} ; cd $tdir && ln -s ../grub2.0/locale . && ln -s ../grub2.0/i386-pc . && ln -s ../grub2.0/fonts . ; done
$ for tdir in /tftpboot/grub2pxe-efi-* ; do cp -p $tdir/x86_64-efi/core.0 $tdir/grub2pxe ; rm -rf $tdir/{x86_64-efi,fonts,locale} ; cd $tdir && ln -s ../grub2.0/locale . && ln -s ../grub2.0/x86_64-efi . && ln -s ../grub2.0/fonts . ; done
cp: cannot stat '/tftpboot/grub2pxe-efi-sio1/x86_64-efi/core.0': No such file or directory
ERROR: Job failed: exit code 1