source: live-build/trunk/fuentes/debian/patches/ubuntu-pack-bootlogo.patch @ 900

Last change on this file since 900 was 900, checked in by kbut, 4 years ago

add original source

File size: 1.4 KB
  • scripts/build/lb_binary_syslinux

    Description: carry over hack from ubuntu-cdimage to update bootlogo with contents
     New gfxboot in utopic does no longer support loading assets from outside the
     bootlogo archive, so we pack everything together and update bootlogo as part of the
     syslinux build part.
    Author: Harald Sitter <apachelogger@kubuntu.org>
    Origin: vendor
    Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1387709
    Forwarded: no
    Reviewed-by: Rohan Garg <rohangarg@kubuntu.org>
    ---
    This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
    old new case "${LB_MODE}" in 
    359359                ;;
    360360esac
    361361
     362# Hack around the removal of support in gfxboot for reading from outside
     363# the bootlogo archive.  This makes customisation harder and is not ideal.
     364tmpdir="$(mktemp -d)"
     365(cd "$tmpdir" && cpio -i) < ${_TARGET}/bootlogo
     366cp -a -f        ${_TARGET}/*.fnt \
     367                ${_TARGET}/*.hlp \
     368                ${_TARGET}/*.jpg \
     369                ${_TARGET}/*.pcx \
     370                ${_TARGET}/*.tr \
     371                ${_TARGET}/*.cfg \
     372                $(test -e ${_TARGET}/lang && echo ${_TARGET}/lang) \
     373                ${_TARGET}/langlist \
     374                "$tmpdir/" || true
     375(cd "$tmpdir" && ls -1 | cpio --quiet -o) > ${_TARGET}/bootlogo
     376rm -rf "$tmpdir"
     377
    362378case "${LB_BUILD_WITH_CHROOT}" in
    363379        true)
    364380                # Saving cache
Note: See TracBrowser for help on using the repository browser.