make l-m-c completely automatic

Bug #718865 reported by Amit Kucheria
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Confirmed
Wishlist
Unassigned

Bug Description

Currently, l-m-c prompts user if they want to really install the unsigned packages (from the hwpack?). Can it be made to JUST DO IT since I kick off a new image build and turn to other tasks and come back after an hour to find it waiting for me to answer Yes.

Snippet below:

Get:18 http://ports.ubuntu.com natty-security/universe armel Packages [14 B]
Get:19 http://ports.ubuntu.com natty/main armel Packages [1538 kB]
Get:20 http://ports.ubuntu.com natty/universe armel Packages [5858 kB]
Get:21 http://ports.ubuntu.com natty-updates/main armel Packages [14 B]
Get:22 http://ports.ubuntu.com natty-updates/universe armel Packages [14 B]
Fetched 14.9 MB in 22s (661 kB/s)
Reading package lists...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  devio flash-kernel linux-firmware linux-image-2.6.37-1002-linaro-mx51
  linux-image-linaro-mx51 u-boot-linaro-mx51evk u-boot-tools uboot-mkimage wireless-crda
0 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/21.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  wireless-crda linux-image-2.6.37-1002-linaro-mx51 devio flash-kernel linux-firmware
  linux-image-linaro-mx51 u-boot-linaro-mx51evk u-boot-tools uboot-mkimage
Install these packages without verification [y/N]? y
debconf: delaying package configuration, since apt-utils is not installed
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package wireless-crda.

Amit Kucheria (amitk)
Changed in linaro-image-tools:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 718865] [NEW] make l-m-c completely automatic

You can pass --hwpack-force-yes to l-m-c and it will install those
packages without asking for confirmation. Maybe we should make that the
default?

Revision history for this message
James Westby (james-w) wrote :

Hi,

If you are happy with the risks then you can use --hwpack-force-yes.

Thanks,

James

Revision history for this message
Amit Kucheria (amitk) wrote :

On 11 Feb 14, Guilherme Salgado wrote:
> *** This bug is a duplicate of bug 638384 ***
> https://bugs.launchpad.net/bugs/638384
>
> You can pass --hwpack-force-yes to l-m-c and it will install those
> packages without asking for confirmation. Maybe we should make that the
> default?

Aah, I didn't know that. Is there a good reason not to make it default?

Revision history for this message
Guilherme Salgado (salgado) wrote :

On Mon, 2011-02-14 at 17:30 +0000, Amit Kucheria wrote:
> Aah, I didn't know that. Is there a good reason not to make it default?

I think in some circumstances we probably don't want to install packages
without first verifying the signatures.

Revision history for this message
James Westby (james-w) wrote :

On Mon, 14 Feb 2011 17:30:36 -0000, Amit Kucheria <email address hidden> wrote:
> Aah, I didn't know that. Is there a good reason not to make it default?

Yes, it breaks the apt security model to some extent. It would be better
to arrange for apt to consider packages from hwpacks trusted, but that
requires signing infrastructure for hwpacks too.

Thanks,

James

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.