diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | functions/packages.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 1dbda316b..30599a09a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,8 @@ live-build (1:20160105) UNRELEASED; urgency=medium * Drop an optimization in chroot_archives that has undesired side-effects. Thanks to jnqnfe for the patch. Closes: #775989 * Drop gpgv and debian-keyring from Suggests. + * Fix Check_installed function when checking against host. Thanks to jnqnfe + for the report. Closes: #774807 [ Kristian Klausen ] * Include ext{3,4} journal size when calculating image size. Closes: #801712 diff --git a/functions/packages.sh b/functions/packages.sh index 477d3379a..c2f7cfabf 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -82,7 +82,7 @@ Check_installed () else if which dpkg-query > /dev/null 2>&1 then - if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install" + if dpkg-query -s "${PACKAGE}" 2> /dev/null | grep -qs "Status: install" then INSTALL_STATUS=0 else |