diff options
author | 2016-01-13 17:37:28 -0800 | |
---|---|---|
committer | 2016-01-17 11:32:16 +0000 | |
commit | a1f235ad736d322bb50eb4a4293b6b2f4e5200aa (patch) | |
tree | 03b4c525f754c89c3e307823f37e6a944726375c /meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch | |
parent | 8a474057d86b3ebf6271656d6b9adf384ea9ad6d (diff) | |
download | openembedded-core-contrib-a1f235ad736d322bb50eb4a4293b6b2f4e5200aa.tar.gz |
e2fsprogs: 1.42.9 -> 1.43 (master)
Upgrade to 1.43 (master) to make "mke2fs -d" support xattr, so that the
layer which requires xattr such as meta-selinux can populate images
easily.
* Remove the following patches since they are alredy in the source.
0001-e2fsprogs-fix-cross-compilation-problem.patch
0001-libext2fs-fix-potential-buffer-overflow-in-closefs.patch
0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch
0002-misc-create_inode.c-copy-files-recursively.patch
0003-misc-create_inode.c-create-special-file.patch
0004-misc-create_inode.c-create-symlink.patch
0005-misc-create_inode.c-copy-regular-file.patch
0006-misc-create_inode.c-create-directory.patch
0007-misc-create_inode.c-set-owner-mode-time-for-the-inod.patch
0008-mke2fs.c-add-an-option-d-root-directory.patch
0009-misc-create_inode.c-handle-hardlinks.patch
0010-debugfs-use-the-functions-in-misc-create_inode.c.patch
0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch
0012-Fix-musl-build-failures.patch
CVE-2015-0247.patch
copy-in-create-hardlinks-with-the-correct-directory-.patch
fix-icache.patch
misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch
* Remove cache_inode.patch since it is not needed any more
* Updated mkdir.patch and ptest.patch
* Add --enable-libblkid to EXTRA_OECONF since libblkid is not created by
default.
* Time of core-image-sato-sdk do_rootfs:
- Before upgrade
real 3m18.508s
user 7m42.088s
sys 1m1.984s
- After upgrade
real 3m21.552s
user 7m38.496s
sys 1m0.644s
The are nearly the same
* The "fsck -f" shows the image is OK, and also can boot.
[YOCTO #8622]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch deleted file mode 100644 index 9ea413ef57..0000000000 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch +++ /dev/null @@ -1,98 +0,0 @@ -From c98fec004f077e566b9dfa20b25e3b86cb462a2e Mon Sep 17 00:00:00 2001 -From: Robert Yang <liezhi.yang@windriver.com> -Date: Tue, 24 Dec 2013 01:41:08 -0500 -Subject: [PATCH 01/11] mke2fs: add the ability to copy files from a given - directory - -We will add a -d option which will be used for adding the files from a -given directory to the filesystem, it is similiar to genext2fs, but -genext2fs doesn't fully support ext4. - -* We already have the basic operations in debugfs: - - Copy regular file - - Create directory - - Create symlink - - Create special file - - We will move these operations into create_inode.h and create_inode.c, - then let both mke2fs and debugfs use them. - -* What we need to do are: - - Copy the given directory recursively, this will be done by the - populate_fs() - - Set the owner, mode and other informations - - Handle the hard links - -TODO: - - The libext2fs can't create the socket file (S_IFSOCK), do we have a - plan to support it ? - -Upstream-Status: Backport - -Signed-off-by: Robert Yang <liezhi.yang@windriver.com> -Reviewed-by: Darren Hart <dvhart@linux.intel.com> ---- - misc/create_inode.c | 26 ++++++++++++++++++++++++++ - misc/create_inode.h | 17 +++++++++++++++++ - 2 files changed, 43 insertions(+) - create mode 100644 misc/create_inode.c - create mode 100644 misc/create_inode.h - -diff --git a/misc/create_inode.c b/misc/create_inode.c -new file mode 100644 -index 0000000..46aaa60 ---- /dev/null -+++ b/misc/create_inode.c -@@ -0,0 +1,26 @@ -+#include "create_inode.h" -+ -+/* Make a special file which is block, character and fifo */ -+errcode_t do_mknod_internal(ext2_ino_t cwd, const char *name, struct stat *st) -+{ -+} -+ -+/* Make a symlink name -> target */ -+errcode_t do_symlink_internal(ext2_ino_t cwd, const char *name, char *target) -+{ -+} -+ -+/* Make a directory in the fs */ -+errcode_t do_mkdir_internal(ext2_ino_t cwd, const char *name, struct stat *st) -+{ -+} -+ -+/* Copy the native file to the fs */ -+errcode_t do_write_internal(ext2_ino_t cwd, const char *src, const char *dest) -+{ -+} -+ -+/* Copy files from source_dir to fs */ -+errcode_t populate_fs(ext2_ino_t parent_ino, const char *source_dir) -+{ -+} -diff --git a/misc/create_inode.h b/misc/create_inode.h -new file mode 100644 -index 0000000..9fc97fa ---- /dev/null -+++ b/misc/create_inode.h -@@ -0,0 +1,17 @@ -+#include <sys/types.h> -+#include <sys/stat.h> -+#include <fcntl.h> -+#include "et/com_err.h" -+#include "e2p/e2p.h" -+#include "ext2fs/ext2fs.h" -+#include "nls-enable.h" -+ -+ext2_filsys current_fs; -+ext2_ino_t root; -+ -+/* For populating the filesystem */ -+extern errcode_t populate_fs(ext2_ino_t parent_ino, const char *source_dir); -+extern errcode_t do_mknod_internal(ext2_ino_t cwd, const char *name, struct stat *st); -+extern errcode_t do_symlink_internal(ext2_ino_t cwd, const char *name, char *target); -+extern errcode_t do_mkdir_internal(ext2_ino_t cwd, const char *name, struct stat *st); -+extern errcode_t do_write_internal(ext2_ino_t cwd, const char *src, const char *dest); --- -1.7.10.4 - |