summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/chroot_linux-image6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/chroot_linux-image b/scripts/build/chroot_linux-image
index ced454915..4996a553e 100755
--- a/scripts/build/chroot_linux-image
+++ b/scripts/build/chroot_linux-image
@@ -113,12 +113,16 @@ then
echo $(echo ${_PACKAGE} | awk -F/ '{ print $NF }') >> chroot/root/packages.chroot
done
-# Some known licenses required to be accepted
+ # Some known licenses required to be accepted
+ if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free"
+ then
+
cat >> chroot/root/packages.chroot.cfg << EOF
firmware-ivtv firmware-ivtv/license/accepted boolean true
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
+ fi
fi
# Creating stage file