From 8047078d260a4a7798fa1b412b5518f767deef24 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 4 Jun 2014 11:03:06 +0000 Subject: 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. --- morphlib/writeexts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py index 334dc15c..fb7261f6 100644 --- a/morphlib/writeexts.py +++ b/morphlib/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. ''' -- cgit v1.2.1