Skip to content

Commit

Permalink
Merge pull request #388 from nickbroon/livebuild-archive
Browse files Browse the repository at this point in the history
Only block .chroot archive config
  • Loading branch information
adrianschroeter committed Nov 22, 2017
2 parents 4fd6788 + df21f18 commit 21e93de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-recipe-livebuild
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ recipe_build_livebuild() {
fi

# Sanity check to not configure archives inside configuration
files=($BUILD_ROOT/$TOPDIR/$LIVEBUILD_ROOT/config/archives/*)
files=($BUILD_ROOT/$TOPDIR/$LIVEBUILD_ROOT/config/archives/*.chroot)
if [ ${#files[@]} -gt 0 ]; then
cleanup_and_exit 1 "E: No configuration in config/archives/* allowed"
cleanup_and_exit 1 "E: No configuration in config/archives/*.chroot allowed"
fi

# TODO: Add the repository public key
Expand Down

0 comments on commit 21e93de

Please sign in to comment.