summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJan Blunck <jblunck@infradead.org>2014-07-10 15:14:50 +0200
committerJan Blunck <jblunck@infradead.org>2014-07-10 15:47:43 +0200
commite22572e719863d26c52725f954a5a3a5ae4cbf58 (patch)
tree70f375b76b01e84cb77dbcf275b13172529f1560 /Build
parentf7deea488a8e2cbf1959cc84ecb8b21efa3e1b69 (diff)
livebuild: Do not substitute while parsing
If the project configuration is changing the source is not parsed again. Therefore the substitution shall be done in bs_sched and bs_repserver. Signed-off-by: Jan Blunck <jblunck@infradead.org>
Diffstat (limited to 'Build')
-rw-r--r--Build/LiveBuild.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/Build/LiveBuild.pm b/Build/LiveBuild.pm
index 55c060d..2089385 100644
--- a/Build/LiveBuild.pm
+++ b/Build/LiveBuild.pm
@@ -73,18 +73,6 @@ sub parse {
# check that directory layout matches live-build directory structure
- # defaults live-build package dependencies base on 4.0~a26 gathered with:
- # $ grep Check_package -r /usr/lib/live/build
- my @lb4_requirements = (
- 'apt-utils', 'dctrl-tools', 'debconf', 'dosfstools', 'e2fsprogs', 'grub',
- 'librsvg2-bin', 'live-boot', 'live-config', 'mtd-tools', 'parted',
- 'squashfs-tools', 'syslinux', 'syslinux-common', 'wget', 'xorriso',
- 'zsync' );
-
- # dependency injection based on live-build version
- my @packages = @{$config->{'substitute'}->{'build-packages:livebuild'} || []};
- push @packages, @lb4_requirements unless @packages;
-
# always require the list of packages required by live-boot for
# bootstrapping the target distribution image (e.g. with debootstrap)
push @packages, ( 'live-build-desc' );