summaryrefslogtreecommitdiff
path: root/tbdiff-create
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-09 15:52:37 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-16 15:06:43 +0000
commit86322cbe09f404929a7d4b205a262cead79e03ce (patch)
treee524455a992d914628e543674f93e5763684c124 /tbdiff-create
parentc01d44f22983b5e61271c728e8e209e73d69fe16 (diff)
downloadtbdiff-86322cbe09f404929a7d4b205a262cead79e03ce.tar.gz
Generate extlinux.conf using deployment options from /baserock/deployment.meta
This will add the initramfs to the config and tell it to mount the disk by UUID if INITRAMFS_PATH was provided in the initial deployment. It will also include the extra KERNEL_ARGS provided. This is required to be able to upgrade a system that uses an initramfs and have it continue to use the initramfs. The system will continue to work without this patch if the initramfs' only responsibility was translating a UUID into a disk path, since system-version-manager would generate an extlinux.conf that boots with the same disk as it is currently using, but that would break if the device enumeration order changed e.g. if another disk was inserted before the rootfs, or the disk is transplanted into another machine.
Diffstat (limited to 'tbdiff-create')
0 files changed, 0 insertions, 0 deletions