[febootstrap] Add upstream patch to fix RHBZ#808421.

Richard W.M. Jones rjones at fedoraproject.org
Fri Mar 30 13:26:38 UTC 2012


commit 40bbbd30a6a50d490e1df2c2442986983329a7a4
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Mar 30 14:26:18 2012 +0100

    Add upstream patch to fix RHBZ#808421.

 ...LAG_64BITS-when-creating-the-ext2-filesys.patch |   31 ++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/0001-Pass-EXT2_FLAG_64BITS-when-creating-the-ext2-filesys.patch b/0001-Pass-EXT2_FLAG_64BITS-when-creating-the-ext2-filesys.patch
new file mode 100644
index 0000000..12de067
--- /dev/null
+++ b/0001-Pass-EXT2_FLAG_64BITS-when-creating-the-ext2-filesys.patch
@@ -0,0 +1,31 @@
+From 386b5985098fedf7bcd111553b8b6b73599df6c9 Mon Sep 17 00:00:00 2001
+From: "Richard W.M. Jones" <rjones at redhat.com>
+Date: Fri, 30 Mar 2012 14:21:33 +0100
+Subject: [PATCH] Pass EXT2_FLAG_64BITS when creating the ext2 filesystem
+ (RHBZ#808421).
+
+---
+ helper/ext2.c |    6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/helper/ext2.c b/helper/ext2.c
+index 56ad5e5..67ca4df 100644
+--- a/helper/ext2.c
++++ b/helper/ext2.c
+@@ -91,8 +91,12 @@ ext2_start (const char *hostcpu, const char *appliance,
+     print_timestamped_message ("finished mke2fs");
+ 
+   /* Open the filesystem. */
++  int fs_flags = EXT2_FLAG_RW;
++#ifdef EXT2_FLAG_64BITS
++  fs_flags |= EXT2_FLAG_64BITS;
++#endif
+   errcode_t err =
+-    ext2fs_open (appliance, EXT2_FLAG_RW, 0, 0, unix_io_manager, &fs);
++    ext2fs_open (appliance, fs_flags, 0, 0, unix_io_manager, &fs);
+   if (err != 0)
+     error (EXIT_FAILURE, 0, "ext2fs_open: %s", error_message (err));
+ 
+-- 
+1.7.9.3
+


More information about the scm-commits mailing list