diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 21:48:49 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | 5123ca45477c8297dac700d16fff8c67f01bf791 (patch) | |
tree | 62e5adb3b0cc080fa8c58eec1b9de63343ff2c6f /scripts/build/chroot_linux-image | |
parent | 8248ffd20f36d55f697812f92ff0335c82b38f1c (diff) | |
download | vyos-live-build-5123ca45477c8297dac700d16fff8c67f01bf791.tar.gz vyos-live-build-5123ca45477c8297dac700d16fff8c67f01bf791.zip |
Moving off binary image parent archive areas into new config tree format.
Diffstat (limited to 'scripts/build/chroot_linux-image')
-rwxr-xr-x | scripts/build/chroot_linux-image | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_linux-image b/scripts/build/chroot_linux-image index 91121e353..4145bb955 100755 --- a/scripts/build/chroot_linux-image +++ b/scripts/build/chroot_linux-image @@ -63,7 +63,7 @@ then FIRMWARE_PACKAGES="" - _CONTENTS="$(for _PARENT_ARCHIVE_AREA in ${LB_PARENT_ARCHIVE_AREAS}; do echo ${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/${_PARENT_ARCHIVE_AREA}/Contents-${LIVE_IMAGE_ARCHITECTURE}.gz; done)" + _CONTENTS="$(for _PARENT_ARCHIVE_AREA in ${LIVE_IMAGE_PARENT_ARCHIVE_AREAS}; do echo ${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/${_PARENT_ARCHIVE_AREA}/Contents-${LIVE_IMAGE_ARCHITECTURE}.gz; done)" rm -f cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LIVE_IMAGE_ARCHITECTURE} @@ -74,7 +74,7 @@ then FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LIVE_IMAGE_ARCHITECTURE} | sort -u)" done - if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" + if echo ${LIVE_IMAGE_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" then # FIXME: should check that we're building on debian through e.g. a 'derivative-is-based-on' variable or somesuch. # Manually add firmware-linux/non-free meta package @@ -104,7 +104,7 @@ then done # Some known licenses required to be accepted - if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" + if echo ${LIVE_IMAGE_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" then cat >> chroot/root/packages.chroot.cfg << EOF |