~raharper/cloud-initramfs-tools:fix/missing-fstab

Last commit made on 2020-08-12
Get this branch:
git clone -b fix/missing-fstab https://git.launchpad.net/~raharper/cloud-initramfs-tools
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/missing-fstab
Repository:
lp:~raharper/cloud-initramfs-tools

Recent commits

9415b85... by Ryan Harper

Read /proc/mounts to determine rootfs device, fstype, opts when generating fstab

6ba6e21... by Ryan Harper

overlayroot: attempt to deal with missing fstab in rootfs

Since Ubuntu Groovy, many of the rootfs images produced no longer
contain an /etc/fstab. overlayroot expects an fstab and uses it
to build an updated version when writing to the read-write rootfs
mount point before pivoting. If the fstab is missing we generate
the default Ubuntu cloudimg-rootfs entry found in previous cloud
images and use that as the source for updating overlayroot fstab

LP: #1890803

c792d0f... by Scott Moser

update changelog

adb0d6c... by Scott Moser

Add dependency on flock for growroot's use of growpart.

growpart was modified to use flock, so we have to make sure that
that gets put into the initramfs or growroot module won't work.

LP: #1834875

f6e65ed... by Scott Moser

releasing package cloud-initramfs-tools version 0.44ubuntu1

This is what was uploaded to ubuntu for 0.44ubuntu1.

5be1889... by Scott Moser

update changelog

f6e57ad... by dann frazier

copymods: Fix typo parsing copymods= parameters in /proc/cmdline.

Normally, copymods will exit and do nothing if the target root
already contains /lib/modules/<version>. It intended intended to allow
overriding that behavior with kernel command line argument of
string 'copymods=force'.

The parsing of that command line was simply broken.
The result was simply that it would always exit in the case that
a modules directory already existed.

cd133bb... by Scott Moser

update changelog

b977fa1... by dann frazier

copymods: Fix usage of modules in initramfs after copymods script.

The way we were symlinking, modules were being exposed under
/lib/modules/$kver/$kver instead of /lib/modules/$kver, placing them
out of reach of modprobe.

This only affected the use of the initramfs after copymods 'init-bottom'
script ran. It would not affect initramfs prior to that point or
the "real root".

LP: #1766723

f59b35d... by Scott Moser

releasing package cloud-initramfs-tools version 0.43ubuntu1