diff mbox

Enforce ramdisk size

Message ID 20100423081635.GB2112@matterhorn.lan
State Accepted
Delegated to: Andy Whitcroft
Headers show

Commit Message

Amit Kucheria April 23, 2010, 8:16 a.m. UTC
Ramdisk should be 64M.

From 2fb905f77928f34445ab1dc663dccfa9482d80c2 Mon Sep 17 00:00:00 2001
Message-Id: <2fb905f77928f34445ab1dc663dccfa9482d80c2.1272010209.git.amit.kucheria@canonical.com>
From: Amit Kucheria <amit.kucheria@canonical.com>
Date: Fri, 23 Apr 2010 11:09:01 +0300
Subject: [PATCH] UBUNTU: [Config] Enforce ramdisk size

ramdisk size should be 64M for all flavours.

Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
---
 debian/config/enforce |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Andy Whitcroft April 23, 2010, 10:56 a.m. UTC | #1
On Fri, Apr 23, 2010 at 11:16:35AM +0300, Amit Kucheria wrote:
> Ramdisk should be 64M.
> 
> From 2fb905f77928f34445ab1dc663dccfa9482d80c2 Mon Sep 17 00:00:00 2001
> Message-Id: <2fb905f77928f34445ab1dc663dccfa9482d80c2.1272010209.git.amit.kucheria@canonical.com>
> From: Amit Kucheria <amit.kucheria@canonical.com>
> Date: Fri, 23 Apr 2010 11:09:01 +0300
> Subject: [PATCH] UBUNTU: [Config] Enforce ramdisk size
> 
> ramdisk size should be 64M for all flavours.
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> ---
>  debian/config/enforce |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/debian/config/enforce b/debian/config/enforce
> index 218c000..f879680 100644
> --- a/debian/config/enforce
> +++ b/debian/config/enforce
> @@ -29,3 +29,6 @@ value CONFIG_USB_DEVICEFS n
>  # upstart requires DEVTMPFS be enabled and mounted by default.
>  value CONFIG_DEVTMPFS y
>  value CONFIG_DEVTMPFS_MOUNT y
> +
> +# Ramdisk size should be a minimum of 64M
> +value CONFIG_BLK_DEV_RAM_SIZE 65536

Yep, this would have saved us from having to do this post release for
mvl-dove.

Acked-by: Andy Whitcroft <apw@canonical.com>

-apw
Andy Whitcroft April 23, 2010, 10:57 a.m. UTC | #2
Applied to Lucid.

-apw
diff mbox

Patch

diff --git a/debian/config/enforce b/debian/config/enforce
index 218c000..f879680 100644
--- a/debian/config/enforce
+++ b/debian/config/enforce
@@ -29,3 +29,6 @@  value CONFIG_USB_DEVICEFS n
 # upstart requires DEVTMPFS be enabled and mounted by default.
 value CONFIG_DEVTMPFS y
 value CONFIG_DEVTMPFS_MOUNT y
+
+# Ramdisk size should be a minimum of 64M
+value CONFIG_BLK_DEV_RAM_SIZE 65536