Bug#637183: live-build: Building tar target fails when using grub as bootloader
Package: live-build
Version: 2.0.12-2
Severity: important
When builidng a "tar" target, the process stops at the grub install.
Maybe this step could install the grub configuration files in the tar.gz file.
Those would be used later when manually extracting the tar file on a filesystem.
>From the build log :
Setting up grub-common (1.98+20100804-14) ...
Setting up grub-pc (1.98+20100804-14) ...
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
Setting up grub (0.97-64) ...
cp: cannot stat `chroot/usr/lib/grub/*/stage1': No such file or directory
cp: cannot stat `chroot/usr/lib/grub/*/e2fs_stage1_5': No such file or directory
cp: cannot stat `chroot/usr/lib/grub/*/stage2': No such file or directory
P: Begin unmounting filesystems...
-- Package-specific info:
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii debootstrap 1.0.26+squeeze1 Bootstrap a basic Debian system
Versions of packages live-build recommends:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii gnu-fdisk 1.2.4-3 Linux fdisk replacement based on l
Versions of packages live-build suggests:
pn dosfstools <none> (no description available)
ii fakeroot 1.14.4-1 Gives a fake root environment
pn genisoimage <none> (no description available)
pn memtest86+ | memtest <none> (no description available)
pn mtools <none> (no description available)
pn parted <none> (no description available)
ii squashfs-tools 1:4.0-8 Tool to create and append to squas
ii sudo 1.7.4p4-2.squeeze.2 Provide limited super user privile
pn syslinux | grub <none> (no description available)
ii uuid-runtime 2.17.2-9 runtime components for the Univers
pn win32-loader <none> (no description available)
-- no debconf information
Reply to: