From 130ebf98e2ec54d19e954e83437c298a01343af9 Mon Sep 17 00:00:00 2001
From: "Cody A.W. Somerville" <cody.somerville@canonical.com>
Date: Fri, 21 May 2010 07:14:32 +0200
Subject: Generating casper uuid file in casper initrd.

---
 helpers/chroot_hacks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index 72e7221..f3cdb3c 100755
--- a/helpers/chroot_hacks
+++ b/helpers/chroot_hacks
@@ -142,7 +142,7 @@ EOF
 esac
 
 # Update initramfs (always, because of udev rules in initrd)
-Chroot chroot "update-initramfs -k all -t -u"
+Chroot chroot "CASPER_GENERATE_UUID=1 update-initramfs -k all -t -u"
 
 # Ensure readable permissions on initramfs. loop-aes-utils sets umask to
 # protect GPG keys, which live-helper does not support.
-- 
cgit v1.0