Don't fail the build if the APT lists don't include any package whose name matches... 3.9-rc1
commit5f1cd1b98f6494be814ce1613158c778f2edcb9f
authorintrigeri <intrigeri@boum.org>
Thu, 16 Aug 2018 19:35:32 +0000 (16 19:35 +0000)
committerintrigeri <intrigeri@boum.org>
Thu, 16 Aug 2018 19:41:01 +0000 (16 19:41 +0000)
tree5f42e4bd8e7b3530217842e0eb66c8b1281c02d8
parent97d055451718ced620ccc9843020092b3acff0bb
Don't fail the build if the APT lists don't include any package whose name matches ^geoclue.

The build of my first tentative 3.9~rc1 ISO failed with:

 E: Unable to locate package ^geoclue*
 E: Couldn't find any package by glob '^geoclue*'
 E: Couldn't find any package by regex '^geoclue*'
 E: config/chroot_local-hooks/98-remove_unwanted_packages failed (exit non-zero). You should check for errors.

That's because the partial, tagged APT snapshot used to build this ISO don't
include any package whose name matches ^geoclue. So let's only attempt to remove
such packages if at least one of them is installed.
config/chroot_local-hooks/98-remove_unwanted_packages
debian/changelog