lp:~smoser/cirros/trunk.smaller

Created by Scott Moser on 2016-07-29 and last modified on 2016-08-01
Get this branch:
bzr branch lp:~smoser/cirros/trunk.smaller
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
CirrOS
Status:
Development

Recent revisions

382. By Scott Moser on 2016-08-01

boots with localds now. cleanups still needed.

381. By Scott Moser on 2016-07-30

still broken, but many fixes

380. By Scott Moser on 2016-07-29

commit a lot of the init rework.

very untested, need to commit though.

379. By Scott Moser on 2016-07-29

make disk image (disk.img) contain only boot/.

The result is a disk1.img file that is much smaller.
for comparison, the output of this local build and the 20160722 daily
for x86_64:
   disk.img 17961472 -> 12846080 (29% saved)
   rootfs.img.gz 16744808 -> 11899176 (29% saved)

If curtin's src/init doesn't find a root filesystem (no /sbin/init) but does
find a filesystem with the right label (cirros-rootfs), then it copies
itself to the target and continues booting as if it were always there.

I'd like to clean up sbin/init a bit to make a function around the
searching for a filesystem by label and also the "installation" into
a function.

That shouldnt be too much work though, and means there is no duplication
at all in the disk.img file.

this isn't ready yet, but wanted to commit.

378. By Scott Moser on 2016-07-22

Get newer util-linux (2.27) to support gpt partition manipulation.

We do this to have a new enough sfdisk to work with GPT.
The version of 2.26.2 is not enough due to sfdisk losing uuids
of gpt partitions on recreate (LP: #1474090).

377. By Scott Moser on 2016-07-22

bin/common-functions: fix sec2human for 0 second times.

376. By Scott Moser on 2016-07-22

arm/aarch64: put a getty on ttyAMAO.

Allow to login on serial console on arm/aarch64 architectures.
Virtualized ARM/AArch64 machines provide ttyAMA0 serial port. Use it.

375. By Scott Moser on 2016-07-22

bin/build-release: add human output format to logevent messages.

We would see something like:
  Thu, 21 Jul 2016 19:06:21 +0000 finished [10892s]
Now show something like:
  Thu, 21 Jul 2016 19:06:21 +0000 finished. Took 3h 1m 32s. [10892s]

374. By Scott Moser on 2016-07-21

bin/system-setup: add mtools to packages needed for build-efi-images.

mcopy from package mtools is used by build-efi-images.
Add it to the list.

373. By Scott Moser on 2016-07-21

ca-certificates: update to current in mozilla trunk.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:cirros
This branch contains Public information 
Everyone can see this information.

Subscribers