summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-04 11:03:06 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-04 11:03:06 +0000
commit1d9b7fa268c971f363b4139a536bb8facb8d023e (patch)
tree8893a594345bfd87d19a3e818fb8224d0c5c04b4
parent0ad75f58510350b460b5456b137eed1cae006bd9 (diff)
downloaddefinitions-1d9b7fa268c971f363b4139a536bb8facb8d023e.tar.gz
Make uuid mandatory when calling create_btrfs_system_layout
It's only ever called from the core of the write extensions library, so we can change it to be mandatory in all cases. install_extlinux is left with the uuid being optional and defaulting to /dev/sda, since it is called directly from the rawdisk write extension currently, and upgrades of systems that have an initramfs will be part of a later patch series.
-rw-r--r--writeexts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writeexts.py b/writeexts.py
index 334dc15c..fb7261f6 100644
--- a/writeexts.py
+++ b/writeexts.py
@@ -221,7 +221,7 @@ class WriteExtension(cliapp.Application):
os.rmdir(mount_point)
def create_btrfs_system_layout(self, temp_root, mountpoint, version_label,
- disk_uuid=None):
+ disk_uuid):
'''Separate base OS versions from state using subvolumes.
'''