Add ubuntu-minimal and linux-firmware

This commit is contained in:
Ian Gulliver
2016-03-31 12:14:28 -07:00
parent 84753d9829
commit d602e7ced3

View File

@@ -62,23 +62,16 @@ class ImageBuilder(object):
_BASE_PACKAGES = [ _BASE_PACKAGES = [
'daemontools-run', 'daemontools-run',
'debconf',
'devscripts', 'devscripts',
'dialog',
'git', 'git',
'gnupg',
'isc-dhcp-client',
'locales',
'nano', 'nano',
'net-tools',
'iputils-ping', 'iputils-ping',
'linux-firmware',
'openssh-server', 'openssh-server',
'python3-openssl', 'python3-openssl',
'sudo', 'ubuntu-minimal',
'ubuntu-standard', 'ubuntu-standard',
'user-setup', 'user-setup',
'vim',
'wget',
] ]
_SUITES = [ _SUITES = [
@@ -201,6 +194,7 @@ class ImageBuilder(object):
os.fchmod(fh.fileno(), stat.S_IRWXU) os.fchmod(fh.fileno(), stat.S_IRWXU)
def _InstallPackages(self, chroot_path): def _InstallPackages(self, chroot_path):
os.environ['DEBIAN_FRONTEND'] = 'noninteractive'
self._ExecChroot( self._ExecChroot(
chroot_path, chroot_path,
'apt-get', 'apt-get',