24 lines
996 B
Diff
24 lines
996 B
Diff
From 97be933592a00289fba3755cf3a9aa3c5d3c4ee9 Mon Sep 17 00:00:00 2001
|
|
From: Frederick Grose <fgrose@sugarlabs.org>
|
|
Date: Mon, 9 Nov 2015 09:45:07 -0800
|
|
Subject: [PATCH] dmsquash-live-root: Request overflow support for persistent
|
|
snapshot.
|
|
|
|
---
|
|
modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
index 531617e..714e1dc 100755
|
|
--- a/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
+++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
@@ -171,7 +171,7 @@ do_live_overlay() {
|
|
# Create a snapshot of the base image
|
|
echo 0 $sz thin /dev/mapper/live-overlay-pool 0 $base | dmsetup create live-rw
|
|
else
|
|
- echo 0 $sz snapshot $base $over p 8 | dmsetup create live-rw
|
|
+ echo 0 $sz snapshot $base $over PO 8 | dmsetup create live-rw
|
|
fi
|
|
|
|
# Create a device that always points to a ro base image
|