diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-01-13 17:37:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:03 +0000 |
commit | 8c3276ecea38d4d67c22e6db49060b2d4b457278 (patch) | |
tree | a08abeadef1a30dff799b50755a33a4faf8ab33c /meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch | |
parent | b248e55c0c39a4d45adc0690f2eefb332ab233f5 (diff) | |
download | poky-8c3276ecea38d4d67c22e6db49060b2d4b457278.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]
(From OE-Core rev: a1f235ad736d322bb50eb4a4293b6b2f4e5200aa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch index b8a53e9133..ef1ce5872a 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | Index: e2fsprogs-1.42.9/tests/Makefile.in | 1 | diff --git a/tests/Makefile.in b/tests/Makefile.in |
2 | =================================================================== | 2 | index 60cf655..ce220f1 100644 |
3 | --- e2fsprogs-1.42.9.orig/tests/Makefile.in | 3 | --- a/tests/Makefile.in |
4 | +++ e2fsprogs-1.42.9/tests/Makefile.in | 4 | +++ b/tests/Makefile.in |
5 | @@ -18,7 +18,7 @@ test_one: $(srcdir)/test_one.in Makefile | 5 | @@ -18,7 +18,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf |
6 | @echo "#!/bin/sh" > test_one | 6 | @echo "#!/bin/sh" > test_one |
7 | @HTREE_CMT@ @echo "HTREE=y" >> test_one | 7 | @echo "HTREE=y" >> test_one |
8 | @QUOTA_CMT@ @echo "QUOTA=y" >> test_one | 8 | @echo "QUOTA=y" >> test_one |
9 | - @echo "SRCDIR=@srcdir@" >> test_one | 9 | - @echo "SRCDIR=@srcdir@" >> test_one |
10 | + @echo "SRCDIR=/usr/lib/e2fsprogs/ptest/test" >> test_one | 10 | + @echo "SRCDIR=/usr/lib/e2fsprogs/ptest/test" >> test_one |
11 | @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one | 11 | @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one |
12 | @cat $(srcdir)/test_one.in >> test_one | 12 | @cat $(srcdir)/test_one.in >> test_one |
13 | @chmod +x test_one | 13 | @chmod +x test_one |
14 | @@ -26,7 +26,7 @@ test_one: $(srcdir)/test_one.in Makefile | 14 | @@ -26,7 +26,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf |
15 | test_script: test_one test_script.in Makefile mke2fs.conf | 15 | test_script: test_one test_script.in Makefile mke2fs.conf |
16 | @echo "Creating test_script..." | 16 | @echo "Creating test_script..." |
17 | @echo "#!/bin/sh" > test_script | 17 | @echo "#!/bin/sh" > test_script |
@@ -20,11 +20,11 @@ Index: e2fsprogs-1.42.9/tests/Makefile.in | |||
20 | @cat $(srcdir)/test_script.in >> test_script | 20 | @cat $(srcdir)/test_script.in >> test_script |
21 | @chmod +x test_script | 21 | @chmod +x test_script |
22 | 22 | ||
23 | Index: e2fsprogs-1.42.9/tests/test_config | 23 | diff --git a/tests/test_config b/tests/test_config |
24 | =================================================================== | 24 | index 7f39157..c815a44 100644 |
25 | --- e2fsprogs-1.42.9.orig/tests/test_config | 25 | --- a/tests/test_config |
26 | +++ e2fsprogs-1.42.9/tests/test_config | 26 | +++ b/tests/test_config |
27 | @@ -3,23 +3,23 @@ | 27 | @@ -3,24 +3,24 @@ |
28 | # | 28 | # |
29 | 29 | ||
30 | unset LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME PAGER | 30 | unset LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME PAGER |
@@ -54,13 +54,14 @@ Index: e2fsprogs-1.42.9/tests/test_config | |||
54 | +RESIZE2FS_EXE="/sbin/resize2fs" | 54 | +RESIZE2FS_EXE="/sbin/resize2fs" |
55 | RESIZE2FS="$USE_VALGRIND $RESIZE2FS_EXE" | 55 | RESIZE2FS="$USE_VALGRIND $RESIZE2FS_EXE" |
56 | -E2UNDO_EXE="../misc/e2undo" | 56 | -E2UNDO_EXE="../misc/e2undo" |
57 | +E2UNDO_EXE="/sbin/e2undo" | ||
58 | E2UNDO="$USE_VALGRIND $E2UNDO_EXE" | ||
57 | -TEST_REL=../tests/progs/test_rel | 59 | -TEST_REL=../tests/progs/test_rel |
58 | -TEST_ICOUNT=../tests/progs/test_icount | 60 | -TEST_ICOUNT=../tests/progs/test_icount |
59 | -CRCSUM=../tests/progs/crcsum | 61 | -CRCSUM=../tests/progs/crcsum |
60 | +E2UNDO_EXE="/sbin/e2undo" | ||
61 | +TEST_REL=./progs/test_rel | 62 | +TEST_REL=./progs/test_rel |
62 | +TEST_ICOUNT=./progs/test_icount | 63 | +TEST_ICOUNT=./progs/test_icount |
63 | +CRCSUM=./progs/crcsum | 64 | +CRCSUM=./progs/crcsum |
64 | LD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss | 65 | CLEAN_OUTPUT="sed -f $cmd_dir/filter.sed" |
65 | DYLD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss | 66 | LD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss:${LD_LIBRARY_PATH} |
66 | export LD_LIBRARY_PATH | 67 | DYLD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss:${DYLD_LIBRARY_PATH} |