summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody A.W. Somerville <cody.somerville@canonical.com>2010-05-21 07:14:32 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:08 +0100
commit130ebf98e2ec54d19e954e83437c298a01343af9 (patch)
tree472512a92bb2c94ae980eb92574810eeb7a014fa
parent6f9981fba0b94616d3f65cdb5a85b29db464d1c2 (diff)
downloadvyos-live-build-130ebf98e2ec54d19e954e83437c298a01343af9.tar.gz
vyos-live-build-130ebf98e2ec54d19e954e83437c298a01343af9.zip
Generating casper uuid file in casper initrd.
-rwxr-xr-xhelpers/chroot_hacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index 72e722136..f3cdb3ca3 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.