← Back to team overview

ubuntu-bugcontrol team mailing list archive

[Merge] lp:~cjwatson/qa-regression-testing/click-install-untrusted into lp:qa-regression-testing

 

Colin Watson has proposed merging lp:~cjwatson/qa-regression-testing/click-install-untrusted into lp:qa-regression-testing.

Commit message:
Pass the necessary options to pkcon and click install to permit installing unsigned packages.

Requested reviews:
  Ubuntu Bug Control (ubuntu-bugcontrol)

For more details, see:
https://code.launchpad.net/~cjwatson/qa-regression-testing/click-install-untrusted/+merge/234132

Pass the necessary options to pkcon and click install to permit installing unsigned packages.

This should work with current devel-proposed and ubuntu-rtm/14.09-proposed images, although probably not yet with their promoted counterparts.
-- 
https://code.launchpad.net/~cjwatson/qa-regression-testing/click-install-untrusted/+merge/234132
Your team Ubuntu Bug Control is requested to review the proposed merge of lp:~cjwatson/qa-regression-testing/click-install-untrusted into lp:qa-regression-testing.
=== modified file 'tests/image/unprivileged/apparmor-easyprof-ubuntu'
--- tests/image/unprivileged/apparmor-easyprof-ubuntu	2014-08-15 12:18:10 +0000
+++ tests/image/unprivileged/apparmor-easyprof-ubuntu	2014-09-10 14:50:43 +0000
@@ -145,10 +145,10 @@
     echo "[OK]"
 
     # TODO: update when click packages can be installed by non-root on desktop
-    cmd="pkcon install-local"
+    cmd="pkcon install-local --allow-untrusted"
     echo "Installing click package ... "
     if [ -f /tmp/.X0-lock ]; then
-        cmd="sudo click install --user=$USER --force-missing-framework"
+        cmd="sudo click install --user=$USER --force-missing-framework --allow-unauthenticated"
     fi
 
     if $cmd "$clickpkg" ; then

=== modified file 'tests/image/unprivileged/click-apparmor'
--- tests/image/unprivileged/click-apparmor	2014-03-19 17:04:04 +0000
+++ tests/image/unprivileged/click-apparmor	2014-09-10 14:50:43 +0000
@@ -82,10 +82,10 @@
     clickpkg="$1"
 
     # TODO: update when click packages can be installed by non-root on desktop
-    cmd="pkcon install-local"
+    cmd="pkcon install-local --allow-untrusted"
     if [ -f /tmp/.X0-lock ]; then
         echo "Check sudo click install ... "
-        cmd="sudo click install --user=$USER --force-missing-framework"
+        cmd="sudo click install --user=$USER --force-missing-framework --allow-unauthenticated"
     else
         echo "Check pkcon install-local ... "
     fi