summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-04 11:10:43 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-04 11:38:12 +0000
commit6daa22a652a622dfafc967b38cb7d123457bb23c (patch)
tree5bf8e43347485d2a708d11d8d8e5666e7044019a /morphlib/buildsystem.py
parent8047078d260a4a7798fa1b412b5518f767deef24 (diff)
downloadmorph-6daa22a652a622dfafc967b38cb7d123457bb23c.tar.gz
Use UUID in fstab entries if provided
This makes systems use the UUID of the disk in the fstab when there is no pre-existing fstab entry for /. This happens whether the system has an initramfs or not, since it should be harmless, and by this point we're in userland, so can know what the UUIDs are. Passing the UUID to `complete_fstab_for_btrfs_layout` is optional, and defaults to the old behaviour of using /dev/sda, since it is called directly by some write extensions for doing upgrades, and upgrading systems that use an initramfs will be part of a later patch.
Diffstat (limited to 'morphlib/buildsystem.py')
0 files changed, 0 insertions, 0 deletions