Sorry to but in here.

How would I replace the live install theme?

On Tue, Jun 16, 2015 at 1:17 AM, AreYouLoco? <areyoul...@paranoici.org>
wrote:

>  If you want to replace debian installer logo you should use
> "--debian-installer live" and include the logo in your config tree:
>
> ./config/includes.installer/usr/share/graphics/logo_debian.png
> I also made symlinks from this file to:
> ./config/includes.installer/usr/share/graphics/logo_debian_dark.png
> ./config/includes.installer/usr/share/graphics/logo_installer.png
> ./config/includes.installer/usr/share/graphics/logo_installer_dark.png
>
> You don't have to use any hook anymore. Just inclide your logo in config
> tree in good place.
> I hope it will help. And I am quite sure it is what you meant.
>
> Keep on linuxin'
>
> W dniu 12.06.2015 o 08:49, Ozi Traveller pisze:
>
> Hi John
>
>  \ is a line continuation character, so a line command can be broken
> across multiple lines
>
>  Example
>
>  lb config noauto \
>  --apt-indices false \
>  --apt-recommends false \
>  --apt-source-archives false \
>         --architectures amd64 \
>  --bootloader syslinux \
>  --bootstrap debootstrap \
>  --debian-installer live \
>  --debian-installer-gui false \
>  --iso-application "xxxxxxxxx" \
>  --iso-publisher "xxxxxxxxx" \
>  --iso-volume "xxxxxxxxx" \
>  --archive-areas "main contrib non-free" \
>  --source false \
>  --memtest none \
>  --verbose \
>         --debug \
>  --win32-loader false \
>  --zsync false \
>  "${@}"
>
>  Hope that helps
>
>  Ozi
>
> On Fri, Jun 12, 2015 at 11:34 AM, John Martinson <j...@robolinux.org>
> wrote:
>
>> Hi debian-live,
>>
>> I Thank anyone who is reading this. Sorry but I need help
>> as I am stumped on deb 8.0 lb build commands and
>> where to put one of my hook scripts.
>>
>> I should start out by apologizing that I am pretty dumb with
>> understanding the new deb 8.0 live build docs. Sorry again.
>>
>> Since I have built dozens of deb 6 and 7 custom debian iso hybrids
>> in the past two years using lb build I am having great difficulty
>> in understanding lb build 8.0
>>
>> I have read the docs several times but cannot figure out
>> how to make this script I presume must be put into /config/hooks which
>> will take my custom 800 x 75 banner.png from /config/debian-installer
>> and replace the stock Debian 800 X 75 logo_debian.png during the lb build.
>>
>> Is /config/hooks in deb 8.0 used since 8.0 no longer has
>> /config/binary_local-hooks
>> like it did in deb 6 & 7?
>>
>> My deb 6 and 7 hook script name was:  banner-change.sh.binary
>> Is the name supposed to be changed to banner-change.sh.binary.hook.chroot
>> ?
>>
>> (Sorry again for being so dumb)
>>
>> Here is what was in my deb 6 and 7 script that worked every time:
>> [Please I need to make it work in live build 8.0]
>>
>> <-----
>> #!/bin/sh
>> # This is an binary hook for live-build(7) to overwrite the banner
>> # in the graphical Debian Installer.
>> # To enable it, copy or symlink this hook into your
>> config/binary_local-hooks
>> # directory and add a replacement banner.png at:
>> #
>> #  config/debian-installer/banner.png
>> #
>> # The file should be a PNG image of dimensions 800 x 75.
>> set -e
>>
>> if [ -e config/debian-installer/banner.png ]
>> then
>>     TARGET_INITRD="binary/install/gtk/initrd.gz"
>>     REPACK_TMPDIR="binary.initrd"
>>
>>     if [ -e "${TARGET_INITRD}" ]
>>     then
>>         # cpio does not have a "extract to directory", so we must change
>>         # directory
>>         mkdir -p ${REPACK_TMPDIR}
>>         cd ${REPACK_TMPDIR}
>>      gzip -d < ../${TARGET_INITRD} | cpio -i --make-directories
>> --no-absolute-filenames
>>
>>         # Overwrite banner
>>         cp ../config/debian-installer/banner.png
>> ./usr/share/graphics/logo_debian.png
>>
>>         find | cpio -H newc -o | gzip -9 > ../${TARGET_INITRD}
>>         cd ..
>>         rm -rf ${REPACK_TMPDIR}
>>     fi
>> fi
>>
>> ------>
>>
>> Here is an example of what is also confusing to me in the deb 8.0 docs
>> below: ???-->
>> (The top two lines are easy to understand btw)
>>
>> lb config
>> echo task-gnome-desktop > config/package-lists/desktop.list.chroot
>>
>> lb config --architectures i386 --linux-flavours 486 \
>> ??-->         --debian-installer live
>> $ echo debian-installer-launcher >> config/package-lists/my.list.chroot
>>
>> I have never seen a \ in a live build command. Why is --debian-installer
>> live
>> on its own line with no command?
>>
>> I presume it is part of this command?
>>
>> lb config --architectures i386 --linux-flavours 486 \ --debian-installer
>> live
>>
>> I greatly appreciate any help and again I really apologize for bone
>> heading this
>> so much. This old dog needs to learn the new 8.0 tricks somehow.
>>
>>
>> Thank you again to everyone reading this.
>>
>> John
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>> Archive: https://lists.debian.org/557a370e.3080...@robolinux.org
>>
>>
>
>

Reply via email to