-
- grub_target = target + '/boot/grub/'
- execute(mkdir, grub_target)
-
- if not os.path.isfile(GRML2USB_BASE + "/grub/splash.xpm.gz"):
- logging.critical("Error: %s/grub/splash.xpm.gz can not be read.", GRML2USB_BASE)
- logging.critical("Please make sure you've installed the grml2usb (Debian) package!")
- raise
- else:
- exec_rsync(GRML2USB_BASE + '/grub/splash.xpm.gz', grub_target + 'splash.xpm.gz')
-
- # grml splash in grub
- copy_if_exist(GRML2USB_BASE + "/grub/grml.png", grub_target + 'grml.png')
-
- # font file for graphical bootsplash in grub
- copy_if_exist('/usr/share/grub/ascii.pf2', grub_target + 'ascii.pf2')
-
- # always copy grub content as it might be useful
-