diff options
author | Colin Watson <cjwatson@ubuntu.com> | 2011-09-30 12:04:33 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-30 12:10:58 +0200 |
commit | 5b7adeab62b69eb84864b97dc33c1fb757c4b4c9 (patch) | |
tree | 7899662de8ba75a0559da22037eeb1395d9ed7d5 | |
parent | 96e86b96d8b0c38cfcbef4201c5de112030d0326 (diff) | |
download | vyos-live-build-5b7adeab62b69eb84864b97dc33c1fb757c4b4c9.tar.gz vyos-live-build-5b7adeab62b69eb84864b97dc33c1fb757c4b4c9.zip |
Copying gfxboot theme when building for Ubuntu.
-rwxr-xr-x | scripts/build/lb_binary_syslinux | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index 8fbdee621..da69b2863 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -53,6 +53,12 @@ case "${LB_BUILD_WITH_CHROOT}" in Check_package chroot/usr/bin/syslinux syslinux Check_package chroot/usr/share/syslinux/themes/${LB_SYSLINUX_THEME} syslinux-themes-${LB_SYSLINUX_THEME} + case "${LB_MODE}" in + ubuntu) + Check_package chroot/usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz gfxboot-theme-ubuntu + ;; + esac + # Restoring cache Restore_cache cache/packages_binary @@ -86,12 +92,25 @@ case "${LB_BUILD_WITH_CHROOT}" in true) # Copy in two steps since the theme can have absolute symlinks and would therefore not be dereferenced correctly Chroot chroot "cp -aL /usr/share/syslinux/themes/${LB_SYSLINUX_THEME}/${_BOOTLOADER}-live /root/tmp" + + case "${LB_MODE}" in + ubuntu) + Chroot chroot "tar xfz /usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz -C /root/tmp" + ;; + esac + mv chroot/root/tmp/* ${_SUFFIX} rmdir chroot/root/tmp ;; false) cp -aL /usr/share/syslinux/themes/${LB_SYSLINUX_THEME}/${_BOOTLOADER}-live/* ${_SUFFIX} + + case "${LB_MODE}" in + ubuntu) + tar xfz /usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz -C ${_SUFFIX} + ;; + esac ;; esac |