cloud-images build has hard coded 'update-notifier-common'

Bug #897815 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Seeds
Fix Released
Medium
Unassigned

Bug Description

The 'build-lb-ec2-image' [1] code in automated-ec2-build has the following line:
  [ "${suite}" \< "precise" ] || cloud_pkgs="${cloud_pkgs} update-notifier-common"

This should be handled by a seed. If we want the update-notifier-common as part of the images, it needs to be added to cloud-image seed at [2]

[1] http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/view/head:/build-lb-ec2-image
[2] http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu.precise/view/head:/cloud-image

On another less pressing note, i'd like to see the case statement that gets 'ubuntu-desktop' or 'ubuntu-server' task installed removed, and replaced with something like was done in vmbuilder, where the config files specified packages to be added like:
 vmb_addargs=( "--addpkg=ubuntu-desktop^" )

clearly, the 'vmb_addargs' is not a great name, but similar functionality should be added, where the config can just specify a list of packages that should be included.

Scott Moser (smoser)
Changed in ubuntu:
assignee: nobody → Ben Howard (utlemming)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/897815/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Scott Moser (smoser)
Changed in ubuntu:
importance: Undecided → Medium
status: New → Triaged
tags: added: cloud-images ec2-images
Changed in ubuntu:
status: Triaged → In Progress
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

On the second point, the next release of the build toolchain uses Package-Lists _and_ a dynamic configuration.

I'm planning on releasing this code after the release of Alpha1.

Example of dynamic configuration (lb_cmd array):
http://bazaar.launchpad.net/~utlemming/+junk/automated-ec2-builds.next/view/head:/conf/precise-server.conf

Package lists:
http://bazaar.launchpad.net/~utlemming/+junk/cloud-images.new/files/head:/package-lists/

Code:
lp:~utlemming/+junk/automated-ec2-builds.next
lp:~utlemming/+junk/cloud-images.new

Changed in ubuntu:
status: In Progress → Fix Released
Mathew Hodson (mhodson)
affects: ubuntu → ubuntu-seeds
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.