[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660584: Re: Bug#660584: closed by Daniel Baumann <daniel.baumann@progress-technologies.net> (reply to daniel.baumann@progress-technologies.net) (Re: Bug#660584: live-build: cannot remove Debian Installer icon on wheezy hdd LIVE)



hi Ben

It's really strange and I didn't get this problem on squeeze.

Before an image creation (building) I cannot find a debian-installer-launcher using grep:

and my config/binary file:

------------------------------------------------------------------------
# config/binary - options for live-build(7), binary stage

# $LB_BINARY_FILESYSTEM: set image filesystem
# (Default: fat16)
LB_BINARY_FILESYSTEM="fat16"

# $LB_BINARY_IMAGES: set image type
# (Default: hdd)
LB_BINARY_IMAGES="hdd"

# $LB_APT_INDICES: set apt/aptitude generic indices
# (Default: true)
LB_APT_INDICES="true"

# $LB_BOOTAPPEND_LIVE: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_LIVE=""

# $LB_BOOTAPPEND_INSTALL: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_INSTALL=""

# $LB_BOOTLOADER: set bootloader
# (Default: syslinux)
LB_BOOTLOADER="syslinux"

# $LB_CHECKSUMS: set checksums
# (Default: md5)
LB_CHECKSUMS="md5"

# $LB_COMPRESSION: set compression
# (Default: gzip)
LB_COMPRESSION="gzip"

# ${LB_BUILD_WITH_CHROOT: control if we build binary images chrooted
# (Default: true)
# DO NEVER, *NEVER*, *N*E*V*E*R* SET THIS OPTION to false.
LB_BUILD_WITH_CHROOT="true"

# $LB_DEBIAN_INSTALLER: set debian-installer
# (Default: false)
LB_DEBIAN_INSTALLER="false"

# $LB_DEBIAN_INSTALLER_DISTRIBUTION: set debian-installer suite
# (Default: empty)
LB_DEBIAN_INSTALLER_DISTRIBUTION="wheezy"

# $LB_DEBIAN_INSTALLER_PRESEEDFILE: set debian-installer preseed filename/url
# (Default: )
LB_DEBIAN_INSTALLER_PRESEEDFILE=""

# $LB_DEBIAN_INSTALLER_GUI: toggle use of GUI debian-installer
# (Default: true)
LB_DEBIAN_INSTALLER_GUI="false"

# $LB_GRUB_SPLASH: set custom grub splash
# (Default: empty)
LB_GRUB_SPLASH=""

# $LB_HOSTNAME: set hostname
# (Default: debian)
LB_HOSTNAME="debian"

# $LB_HDD_LABEL: set hdd label
# (Default: DEBIAN_LIVE)
LB_HDD_LABEL="DEBIAN_LIVE"

# $LB_HDD_SIZE: set hdd filesystem size
# (Default: 10000)
LB_HDD_SIZE="10000"

# $LB_ISO_APPLICATION: set iso author
# (Default: Debian Live)
LB_ISO_APPLICATION="Debian Live"

# $LB_ISO_PREPARER: set iso preparer
# (Default: live-build $VERSION; http://packages.qa.debian.org/live-build)
LB_ISO_PREPARER="live-build $VERSION; http://packages.qa.debian.org/live-build"

# $LB_ISO_PUBLISHER: set iso publisher
# (Default: Debian Live project; http://live.debian.net/; debian-live@lists.debian.org)
LB_ISO_PUBLISHER="Debian Live project; http://live.debian.net/; debian-live@lists.debian.org"

# $LB_ISO_VOLUME: set iso volume (max 32 chars)
# (Default: Debian wheezy $(date +%Y%m%d-%H:%M))
LB_ISO_VOLUME="Debian wheezy $(date +%Y%m%d-%H:%M)"

# $LB_JFFS2_ERASEBLOCK: set jffs2 eraseblock size
# (Default: unset)
LB_JFFS2_ERASEBLOCK=""

# $LB_MEMTEST: set memtest
# (Default: memtest86+)
LB_MEMTEST="memtest86+"

# $LB_WIN32_LOADER: set win32-loader
# (Default: false)
LB_WIN32_LOADER="false"

# $LB_NET_ROOT_FILESYSTEM: set netboot filesystem
# (Default: nfs)
LB_NET_ROOT_FILESYSTEM="nfs"

# $LB_NET_ROOT_MOUNTOPTIONS: set nfsopts
# (Default: empty)
LB_NET_ROOT_MOUNTOPTIONS=""

# $LB_NET_ROOT_PATH: set netboot server directory
# (Default: /srv/debian-live)
LB_NET_ROOT_PATH="/srv/debian-live"

# $LB_NET_ROOT_SERVER: set netboot server address
# (Default: 192.168.1.1)
LB_NET_ROOT_SERVER="192.168.1.1"

# $LB_NET_COW_FILESYSTEM: set net client cow filesystem
# (Default: nfs)
LB_NET_COW_FILESYSTEM="nfs"

# $LB_NET_COW_MOUNTOPTIONS: set cow mount options
# (Default: empty)
LB_NET_COW_MOUNTOPTIONS=""

# $LB_NET_COW_PATH: set cow directory
# (Default: )
LB_NET_COW_PATH=""

# $LB_NET_COW_SERVER: set cow server
# (Default: )
LB_NET_COW_SERVER=""

# $LB_NET_TARBALL: set net tarball
# (Default: true)
LB_NET_TARBALL="true"

# $LB_SWAP_FILE_PATH: set swap file path
# (Default: )
LB_SWAP_FILE_PATH=""

# $LB_SWAP_FILE_SIZE: set swap file size
# (Default: 512)
LB_SWAP_FILE_SIZE="512"

# $LB_SYSLINUX_THEME: set syslinux theme package
# (Default: live-build)
LB_SYSLINUX_THEME="live-build"

# $LB_USERNAME: set username
# (Default: user)
LB_USERNAME="user"
-----------------------------------------------------------------------------

After an image building, using this config/binary file I get the following:

# grep -r -i debian-installer-launcher /home/usr/live
/home/usr/live/binary.packages:debian-installer-launcher    10
grep: /home/user/live/cache/stages_bootstrap/etc/nologin: No such file or directory

and I still get an Debian Installer icon on the desktop.
It seems the debian installer will be not installed, but just the icon on the desktop.

Howto get this icon away (remove) from the Desktop during an image creation or can someone pls correct this BUG?


greetings
Piotr






On Feb 24, 2012, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:

p.s. Also, I know live-config has a script to configure
debian-installer-launcher, but that is triggered only if the package
exists in your image. Check:

- The .packages file generated by your build (is
debian-installer-launcher in it?)

- The version of live-config included in your image (again, check the
.packages file). In the versions I've looked at, it looks like there's
no way it would trigger without including the package.

- grep your config tree ... is it conceivable you included the
debian-installer-launcher package without meaning to by copying it from
someone else's config?

Reply to: