~mopsfelder/cirros:build-on-xenial

Last commit made on 2017-11-24
Get this branch:
git clone -b build-on-xenial https://git.launchpad.net/~mopsfelder/cirros
Only Murilo Opsfelder Araújo can upload to this branch. If you are Murilo Opsfelder Araújo please log in for upload directions.

Branch merges

Branch information

Name:
build-on-xenial
Repository:
lp:~mopsfelder/cirros

Recent commits

c0011f9... by Murilo Opsfelder Araújo on 2017-11-23

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/

37256c4... by Robin H. Johnson on 2017-11-09

src/etc/modules: add virtio_input

Add support for input devices on the virtio bus.

Size impact:
------------
(Uncompressed modules, size in bytes, on Ubuntu 4.4.0-28.47)
amd64 15134
arm64 18678
armhf 13938
i386 11382
ppc64 19366
ppc64el 18590

Requires: linux>=4.1
Requires: qemu>=2.4
Requires: libvirt>=1.3.0
See: https://lwn.net/Articles/638075/
See: https://www.kraxel.org/blog/2015/06/new-member-in-the-virtio-family-input-devices/
See: https://www.kraxel.org/blog/2016/09/using-virtio-input-with-libvirt/