~smoser/cirros:fix/1598783-config-drive-upper-case

Last commit made on 2017-12-21
Get this branch:
git clone -b fix/1598783-config-drive-upper-case https://git.launchpad.net/~smoser/cirros
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
fix/1598783-config-drive-upper-case
Repository:
lp:~smoser/cirros

Recent commits

e3a288f... by Scott Moser on 2017-12-20

configdrive: support upper or lower case labels.

The label on a config drive may end up being 'config-2' or 'CONFIG-2'.
The bug explains well why that is.

This isn't ideal as we end up using blkid twice, but it is the simplist
fix for the moment.

LP: #1598783

f33bf60... by Murilo Opsfelder Araújo on 2017-11-24

Enable build on Ubuntu 16.04.3 LTS

This patch enables building CirrOS on top of Ubuntu 16.04.3 LTS.

The build failed on Xenial because GCC 5.x changed the preprocessor
output, which ncurses build scripts relied on. This has been reported and
fixed in ncurses and buildroot:

  https://trac.sagemath.org/ticket/18301
  https://git.busybox.net/buildroot/commit/?id=4297e7298edbef6dde75d8bf468441c6a242da5c

However, the fix applied on buildroot does not match the version string
`5.4.0`, returned by `gcc -dumpversion` on Xenial. With this change, the
gcc version `5.4.0` is matched and ncurses preprocessor flags are set
properly.

It was necessary to add python package to bin/system-setup because python
is not installed by default on Xenial.

2745c3a... by Robin H. Johnson on 2017-11-09

src/etc/modules: config_drive cdrom support.

config_drive can present as a SCSI CDROM, so we need suitable modules
loaded to access it.

Added in a new section for block storage.

There is no growth in size on Ubuntu, because all 3 modules are
compiled-in already, but the module loading is useful for other kernels
where they might be modular.

LP: #1715009
Signed-off-by: Robin H. Johnson <email address hidden>

1b753b6... by Robin H. Johnson on 2017-11-09

src/etc/modules: networking tweak.

- add section
- add lots of commented out modules based on bugs filed in LP, do not
  want the size bloat yet.

Signed-off-by: Robin H. Johnson <email address hidden>

a52f98b... by Robin H. Johnson on 2017-11-09

src/etc/modules: add nls_utf8, nls_ascii

Improve VFAT support by adding two more very common encodings it can
use: UTF-8 and ASCII.

nls_ascii is frequently compiled into kernels, thus this fix is only
applicable to very modular kernels.

Size impact:
------------
(Uncompressed modules, size in bytes, Ubuntu 4.4.0-28.47)
amd64 15548
arm64 20740
armhf 14212
i386 11244
ppc64 18604
ppc64el 17708

Signed-off-by: Robin H. Johnson <email address hidden>

f23c44e... by Robin H. Johnson on 2017-11-09

src/etc/modules: filesystem tweak.

Split to section for further changes.
Document that nls_* are included for VFAT to work.

Signed-off-by: Robin H. Johnson <email address hidden>

66f4928... by Robin H. Johnson on 2017-11-09

src/etc/modules: rename ibmvscsic to ibmvscsi

Newer kernels (including 4.4.0-28) renamed ibmvscsic to ibmvscsi.

345854f... by Robin H. Johnson on 2017-11-09

src/etc/modules: powerpc tweak.

Split to section, ready for further changes.

Signed-off-by: Robin H. Johnson <email address hidden>

1f78fb4... by Robin H. Johnson on 2017-11-09

src/etc/modules: add 9pnet_virtio

Support host filesystem passthrough

Size impact:
------------
(Uncompressed modules, size in bytes, Ubuntu 4.4.0-28.47)
amd64 163564
arm64 182604
armhf 126744
i386 110800
ppc64 192188
ppc64el 188580

See: https://www.linux-kvm.org/page/9p_virtio

168348f... by Robin H. Johnson on 2017-11-09

src/etc/modules: add qemu_fw_cfg

Add support for input devices on the virtio bus.

Size impact:
------------
(Uncompressed modules, size in bytes)
amd64 21374 **4.13.0-17.20
arm64 20475 **4.14.0-0.rc8.git2.2.fc28
armhf N/A
i386 14206 **4.13.0-17.20
ppc64 N/A
ppc64el N/A

Requires: linux>=4.6
Requires: qemu>=2.6
See: http://www.contrib.andrew.cmu.edu/~somlo/QEMU_fw_cfg/