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

Re: Broken iso live images on debian sid



Thank you very much Ben.

Am 08.10.2012 13:21, schrieb Ben Armstrong:
On 07/10/12 05:34 PM, Mark Schneider wrote:
I did (see the line below). I created few times live images with
different config files but no one worked.
Wheezy + live-* packages from sid has always worked well for me. So I
assume some user error, but it's not clear to me exactly what yet. I
just now built a minimal 'lb config --distribution sid' build and it
worked fine (i.e. icluded sid packages, not wheezy).

lb config noauto --clean --mode debian --bootloader syslinux
--architectures amd64 *--distribution sid* --binary-images iso-hybrid
--chroot-filesystem squashfs "${@}"
Please attach a copy of the exact auto/config used to generate the build
log you posted.
Just for testing I have set all values to "sid" however it didn't solve the issue with broken iso live image for sid.
# ---
lb config noauto --clean --mode debian --bootloader syslinux --architectures amd64 \
          --parent-distribution sid --parent-debian-installer-distribution sid \
          --distribution sid --debian-installer live --debian-installer-distribution sid \
          --binary-images iso-hybrid --chroot-filesystem squashfs "${@}"

# ---
When I don't set the value of these options to "sid" there are "wheezy" entries in binary.log.

The system starts to boot displaying the boot menu like (even I specified in one more complex config "--distribution sid"):
# boot menu:

linux: 3.2.30-1

live-build                            3.0~a64-1
live-boot                             3.0~b6-1
live-config                           3.0.8-1
live-tools                            3.0.12-1


Further booting of such sid image still ends on (initramfs) prompt. The error message I can see during the boot is:
modprobe: module unknown not found in modules.dep

There more details in attached files.

Do you know it anyone has already created (a working) live iso image for sid with the last version of live builder packages (as above) within last few days?


I will check again the APT pinning section of manual. Till last "bigger"
changes in 3.x I didn't have any problems to build sid on sid and I
didn't need any APT pinning.
I didn't say you need APT pinning to build sid on sid. I said if you
only wanted sid so you could include live-* images, it is better to
build a wheezy image and include live-* from sid.

If you changed an option affecting bootstrap (e.g. --distribution)
between builds, did you 'lb clean --purge' before the next build?
Yes. I have also checked config/bootstrap file (there were only sid entries .. no one for wheezy anymore)

What do I miss? Thank you in advance for any hints.

regards, Mark

-- 
ms@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org
# My build system (debian sid)
root@sid:~# uname -a
Linux sid 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux
root@sid:~# dpkg -l | sed -n '/[^x]live-[^m]/s/all.*$//p'
ii  live-boot                             3.0~b6-1
ii  live-boot-initramfs-tools             3.0~b6-1
ii  live-build                            3.0~a64-1
ii  live-config                           3.0.8-1
ii  live-config-sysvinit                  3.0.8-1


# Files after running "lb config; lb build" with the following test configuration

root@sid:/tmp/live/sid# lb config
[2012-10-08 01:21:38] lb config
P: Executing auto/config script.
[2012-10-08 01:21:38] lb config noauto --clean --mode debian --bootloader syslinux --architectures amd64 --parent-distribution sid --parent-debian-installer-distribution sid --distribution sid --debian-installer live --debian-installer-distribution sid --binary-images iso-hybrid --chroot-filesystem squashfs
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree for a debian/amd64 system

root@sid:/tmp/live/sid# ls -l
insgesamt 210748
drwxr-xr-x  2 root root        80 Okt  8 01:21 auto
drwxr-xr-x  9 root root       220 Okt  8 01:30 binary
-rw-r--r--  1 root root     21293 Okt  8 01:30 binary.contents
-rw-r--r--  1 root root 214958080 Okt  8 01:30 binary.hybrid.iso
-rw-r--r--  1 root root    734926 Okt  8 01:30 binary.hybrid.iso.zsync
-rw-r--r--  1 root root    194906 Okt  8 01:30 binary.log
-rw-r--r--  1 root root      3561 Okt  8 01:26 binary.packages
drwxr-xr-x 10 root root       200 Okt  8 01:29 cache
drwxr-xr-x 22 root root       480 Okt  8 01:30 chroot
-rw-r--r--  1 root root      3154 Okt  8 01:25 chroot.packages.install
-rw-r--r--  1 root root      3561 Okt  8 01:25 chroot.packages.live
drwxr-xr-x  2 root root       140 Okt  8 01:21 config

# ------------------------------------------------------------------------------

The system starts to boot displaying the boot menu like (even I specified in one more complex config "--distribution sid"):
# boot menu:

linux: 3.2.30-1

live-build                            3.0~a64-1
live-boot                             3.0~b6-1
live-config                           3.0.8-1
live-tools                            3.0.12-1

# some boot error messages:
modprobe: module unknown not found in modules.dep
.
.

(initramfs)

# ------------------------------------------------------------------------------

# Tested configurations (auto/config)
#!/bin/sh

set -e

lb config noauto --clean --mode debian --bootloader syslinux --architectures amd64 \
          --parent-distribution sid --parent-debian-installer-distribution sid \
          --distribution sid --debian-installer live --debian-installer-distribution sid \
          --binary-images iso-hybrid --chroot-filesystem squashfs "${@}"

Attachment: binary.log.gz
Description: application/gzip

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

# $LB_ARCHITECTURES: select chroot architectures
# (Default: autodetected)
LB_ARCHITECTURES="amd64"

# $LB_DISTRIBUTION: select distribution to use
# (Default: sid)
LB_DISTRIBUTION="sid"

# $LB_PARENT_DISTRIBUTION: select parent distribution to use
# (Default: sid)
LB_PARENT_DISTRIBUTION="sid"

# $LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION: select parent distribution for debian-installer to use
# (Default: sid)
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="sid"

# $LB_PARENT_MIRROR_BOOTSTRAP: set parent mirror to bootstrap from
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/";

# $LB_PARENT_MIRROR_CHROOT: set parent mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_CHROOT="http://ftp.debian.org/debian/";

# $LB_PARENT_MIRROR_CHROOT_SECURITY: set security parent mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_CHROOT_SECURITY="http://security.debian.org/";

# $LB_PARENT_MIRROR_CHROOT_UPDATES: set updates parent mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_CHROOT_UPDATES="http://ftp.debian.org/debian/";

# $LB_PARENT_MIRROR_CHROOT_BACKPORTS: set backports parent mirror to fetch packages from
# (Default: http://backports.debian.org/debian-backports/)
LB_PARENT_MIRROR_CHROOT_BACKPORTS="http://backports.debian.org/debian-backports/";

# $LB_PARENT_MIRROR_BINARY: set parent mirror which ends up in the image
# (Default: http://http.debian.net/debian/)
LB_PARENT_MIRROR_BINARY="http://http.debian.net/debian/";

# $LB_PARENT_MIRROR_BINARY_SECURITY: set security parent mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_BINARY_SECURITY="http://security.debian.org/";

# $LB_PARENT_MIRROR_BINARY_UPDATES: set updates parent mirror which ends up in the image
# (Default: http://http.debian.net/debian/)
LB_PARENT_MIRROR_BINARY_UPDATES="http://http.debian.net/debian/";

# $LB_PARENT_MIRROR_BINARY_BACKPORTS: set backports parent mirror which ends up in the image
# (Default: http://http.debian.net/debian-backports/)
LB_PARENT_MIRROR_BINARY_BACKPORTS="http://http.debian.net/debian-backports/";

# $LB_PARENT_MIRROR_DEBIAN_INSTALLER: set debian-installer parent mirror
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/";

# $LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/";

# $LB_MIRROR_CHROOT: set mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_CHROOT="http://ftp.debian.org/debian/";

# $LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/";

# $LB_MIRROR_CHROOT_UPDATES: set updates mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_CHROOT_UPDATES="http://ftp.debian.org/debian/";

# $LB_MIRROR_CHROOT_BACKPORTS: set backports mirror to fetch packages from
# (Default: http://backports.debian.org/debian-backports/)
LB_MIRROR_CHROOT_BACKPORTS="http://backports.debian.org/debian-backports/";

# $LB_MIRROR_BINARY: set mirror which ends up in the image
# (Default: http://http.debian.net/debian/)
LB_MIRROR_BINARY="http://http.debian.net/debian/";

# $LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/";

# $LB_MIRROR_BINARY_UPDATES: set updates mirror which ends up in the image
# (Default: http://http.debian.net/debian/)
LB_MIRROR_BINARY_UPDATES="http://http.debian.net/debian/";

# $LB_MIRROR_BINARY_BACKPORTS: set backports mirror which ends up in the image
# (Default: http://http.debian.net/debian-backports/)
LB_MIRROR_BINARY_BACKPORTS="http://http.debian.net/debian-backports/";

# $LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/";

# $LB_ARCHIVES: enable available third-party archives
# (Default: empty)
LB_ARCHIVES=""

# $LB_ARCHIVE_AREAS: select archive areas to use
# (Default: main)
LB_ARCHIVE_AREAS="main"

# $LB_PARENT_ARCHIVE_AREAS: select archive areas to use
# (Default: main)
LB_PARENT_ARCHIVE_AREAS="main"

# $LB_BOOTSTRAP_QEMU_ARCHITECTURES: architectures to use foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_ARCHITECTURES=""

# $LB_BOOTSTRAP_QEMU_EXCLUDE: packages to exclude during foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_EXCLUDE=""

# $LB_BOOTSTRAP_QEMU_STATIC: static qemu binary for foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_STATIC=""

Reply to: