livebuild: Prevent users from configuring archives in lb config

Since the OBS live-build only has access to the configured repositories
(due to the lack of network access) the user shall not configure archives
inside the configuration itself.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
livebuild: create local repository in $BUILD_ROOT/.build.binaries

Instead of creating the repository in $TOPDIR/SOURCES/repos this is
adapting to what mock is doing.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
livebuild: Write system default configuration to /etc/live/build.conf

This reduces the amount of code required in the livebuild_pre_run hook.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
livebuild: Run OBS buildroot livebuild_pre_run hook before user provided one

We should not change the buildroot between the lb config and the lb build
calls. Therefore move the OBS buildroot hook to run first.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
livebuild: Only process package-lists with the *.list suffix

live-build itself is only processing them when they have the *.list suffix.
Therefore we should do the same thing.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Revert "For livebuild we have (like kiwi) sub-directories with additional packages in the source folder"

This reverts commit 758824d36df2b5103f842bbe4804bdb6b6cc95e8.
livebuild: Remove another left-over when using the repos sub-directory

This is removing another code section that is not required anymore since we
are using the /.build.binaries folder instead.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
livebuild: Introduce build-packages:livebuild Project Configuration variable

This variable can be used to override the list of dependencies that
live-build expects to have available in the buildroot.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Merge pull request #116 from jblunck/livebuild-build-binaries

Requested changes to use /.build.binaries as a repository path