~ubuntu-virt/vmbuilder/0.11

Viewing all changes in revision 389.

  • Committer: Scott Moser
  • Date: 2011-03-22 20:16:16 UTC
  • Revision ID: smoser@ubuntu.com-20110322201616-rz7wglfk29ww5w59
do nothing in 'copy_settings' for natty suite.

changes for LP: #221231 introduced the 'copy_settings' routine, that would
copy /etc/default/locale, /etc/console-setup, and 
/etc/default/console-setup from the build system to the image.  It would also do things like:
 - dpkg-reconfigure -fnoninteractive -pcritical tzdata
 - locale-gen en_US
 - locale-gen <insert-lang>
 - isntall /etc/default/locale from template
 - dpkg-reconfigure -fnoninteractive -pcritical locales
 - dpkg-reconfigure -fnoninteractive -pcritical console-setup

It is the last item that is causing build failures of our natty images.  The
natty images are built on lucid host, and there were recent changes to
console-setup to support  "Aubergine-love" 
(http://www.linux-archive.org/ubuntu-server-development/502523-call-testing-aubergine-love-server-folks.html)

This commit will simply remplace the copy_settings in natty only with a no-op.  Potentially there will be follow up fixes if issues are found.

Note, that cloud-init does do some of these things

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: