[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637970: Enable LVM in mipsel/loongson-2f recipes



Package: partman-auto
Version: 99

Hi,

I'd like to be able to use the guided partitioning's encrypted LVM
option on my Yeeloong.  I'm able to do so by hacking the
mipsel/loongson-2f's atomic recipe, so the attached patch would allow
others to do so as well.

-- 
Matt Kraai
https://ftbfs.org/kraai
>From 68380d2b52a6b41d3e39e7b43ce5dcec52fe2528 Mon Sep 17 00:00:00 2001
From: Matt Kraai <kraai@ftbfs.org>
Date: Mon, 15 Aug 2011 21:29:19 -0700
Subject: [PATCH] Enable LVM in mipsel/loongson-2f recipes

---
 debian/changelog                  |    6 +++++-
 recipes-mipsel-loongson-2f/atomic |    2 ++
 recipes-mipsel-loongson-2f/home   |    3 +++
 recipes-mipsel-loongson-2f/multi  |    6 ++++++
 4 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 20fed03..dd99a8d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,14 @@
 partman-auto (100) UNRELEASED; urgency=low
 
+  [ Colin Watson ]
   * Merge from Ubuntu:
     - Determine memory size for RAM-dependent recipe elements more
       accurately on i386 (LP: #604765).
 
- -- Colin Watson <cjwatson@debian.org>  Sun, 24 Jul 2011 15:54:13 +0100
+  [ Matt Kraai]
+  * Enable LVM in mipsel/loongson-2f recipes.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 15 Aug 2011 21:28:26 -0700
 
 partman-auto (99) unstable; urgency=low
 
diff --git a/recipes-mipsel-loongson-2f/atomic b/recipes-mipsel-loongson-2f/atomic
index 7a02032..bfee5be 100644
--- a/recipes-mipsel-loongson-2f/atomic
+++ b/recipes-mipsel-loongson-2f/atomic
@@ -10,6 +10,7 @@ partman-auto/text/atomic_scheme ::
 	mountpoint{ /boot } .
 
 500 10000 -1 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -17,5 +18,6 @@ partman-auto/text/atomic_scheme ::
 	mountpoint{ / } .
 
 96 512 300% linux-swap
+	$lvmok{ }
 	method{ swap }
 	format{ } .
diff --git a/recipes-mipsel-loongson-2f/home b/recipes-mipsel-loongson-2f/home
index 72f4459..b28eb96 100644
--- a/recipes-mipsel-loongson-2f/home
+++ b/recipes-mipsel-loongson-2f/home
@@ -10,6 +10,7 @@ partman-auto/text/home_scheme ::
 	mountpoint{ /boot } .
 
 500 4000 7000 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -17,10 +18,12 @@ partman-auto/text/home_scheme ::
 	mountpoint{ / } .
 
 96 512 300% linux-swap
+	$lvmok{ }
 	method{ swap }
 	format{ } .
 
 100 10000 -1 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
diff --git a/recipes-mipsel-loongson-2f/multi b/recipes-mipsel-loongson-2f/multi
index bce370c..a5016e1 100644
--- a/recipes-mipsel-loongson-2f/multi
+++ b/recipes-mipsel-loongson-2f/multi
@@ -10,6 +10,7 @@ partman-auto/text/multi_scheme ::
 	mountpoint{ /boot } .
 
 70 800 280 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -17,6 +18,7 @@ partman-auto/text/multi_scheme ::
 	mountpoint{ / } .
 
 500 3000 5000 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -24,6 +26,7 @@ partman-auto/text/multi_scheme ::
 	mountpoint{ /usr } .
 
 70 1500 3000 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -31,10 +34,12 @@ partman-auto/text/multi_scheme ::
 	mountpoint{ /var } .
 
 96 512 300% linux-swap
+	$lvmok{ }
 	method{ swap }
 	format{ } .
 
 20 300 400 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
@@ -42,6 +47,7 @@ partman-auto/text/multi_scheme ::
 	mountpoint{ /tmp } .
 
 300 3000 -1 $default_filesystem
+	$lvmok{ }
 	method{ format }
 	format{ }
 	use_filesystem{ }
-- 
1.7.5.4


Reply to: