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

Bug#778327: live-build: build fails in empty directory



Package: live-build
Version: 4.0.5-1mk1
Severity: normal

Hello,

I tried this:

mkdir dl-test
cd dl-test
lb build

No image was produced.

Man page says:

       lb_build(1)
                  alias for all stages

lb build says:

[2015-02-13 15:12:21] lb build
W: No config/ directory; using defaults for all options
P: live-build 4.0.5

This is clearly not true.

lb config && lb build

produces an image but

lb build

does not.


IMHO this will be  fixed by adding a note to run lb config in the man
page and changing the W: to E: so the build fails early rather than
running for an extended time producing nothing.

Thanks

Michal


-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (910, 'testing'), (900, 'stable'), (410, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages live-build depends on:
ii  debootstrap  1.0.66

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-4
ii  live-boot-doc                   4.0.1-1
ii  live-config-doc                 4.0.2-1
pn  live-manual-html | live-manual  <none>

live-build suggests no packages.

-- no debconf information


Reply to: