Add ubuntu-minimal and linux-firmware
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user