When possible, remove code that manually includes flock in the initramfs.
Motivation and context
We saw in #127 and #128 that the growpart program that grows the root partition (part of the cloud-initramfs-growroot package) now requires flock, but the update-initramfs hook script for cloud-initramfs-growroot does not currently copy flock to the initramfs. This is a known bug, and I added flock to the initramfs manually to work around it.
Once the upstream package includes flock in the initramfs, the code that manually includes flock in the initramfs should be removed.
See #127 and #128 for more details.
Implementation notes
The code is in the src/fix_growroot.yml Ansible playbook fragment.
Acceptance criteria
How do we know when this work is done?
[ ] The code that manually includes flock in the initramfs is removed.
[ ] The resulting AMI continues to be accessible via both SSM Session Manager and Guacamole.
💡 Summary
When possible, remove code that manually includes
flock
in the initramfs.Motivation and context
We saw in #127 and #128 that the
growpart
program that grows the root partition (part of thecloud-initramfs-growroot
package) now requiresflock
, but theupdate-initramfs
hook script forcloud-initramfs-growroot
does not currently copyflock
to the initramfs. This is a known bug, and I addedflock
to the initramfs manually to work around it.Once the upstream package includes
flock
in the initramfs, the code that manually includesflock
in the initramfs should be removed.See #127 and #128 for more details.
Implementation notes
The code is in the
src/fix_growroot.yml
Ansible playbook fragment.Acceptance criteria
How do we know when this work is done?
flock
in the initramfs is removed.