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

Re: Transition from live-build 2 to 3 - Build problems



Hi,

On Fri, 10 May 2013 17:37:54 -0300
Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:

> On 10/05/13 07:20 AM, Henry Jensen wrote:
> > The parameter "--linux-packages linux-image-3.2.0-4" did help. Without
> > it 3.2.0-4-686-pae and 3.2.0-4-rt-686-pae will be selected and
> > installed, which results in the error 
> > 
> > "mv: target `binary/live/vmlinuz' is not a directory"
> 
> That makes absolutely no sense unless something else is screwed up in
> your build tree, such as:
> 
> - you don't have or have an incorrect auto/clean
> - you didn't run 'lb clean' before rebuilding

I built from a clean build tree. My auto/clean is:

#!/bin/sh

set -e

lb clean noauto "${@}"

rm -f config/binary config/bootstrap config/chroot config/common config/source
rm -f build.log

It all fails in the binary_syslinux stage:

# lb binary_syslinux
[2013-05-10 23:56:40] lb binary_syslinux 
P: Begin installing syslinux...
cp: cannot stat `/root/isolinux/libutil.c32': No such file or directory
cp: cannot stat `/root/isolinux/ldlinux.c32': No such file or directory
cp: cannot stat `/root/isolinux/libcom32.c32': No such file or directory
mv: target `binary/live/vmlinuz' is not a directory

which is a result from line 172 in binary_syslinux:

                        mv binary/live/vmlinuz-* binary/live/vmlinuz                                                   

which leads to the question, why there are two binary/live/vmlinuz-* images.

Regards,

Henry



Reply to: