From 71cb5a569d82ec2e3451d408df95175b269ec4a8 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 14 May 2008 11:05:37 +0000 Subject: mtd-utils: update to newer snapshot git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4469 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch | 8 ++++---- meta/packages/mtd/mtd-utils/remove-ubi.patch | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/packages/mtd/mtd-utils') diff --git a/meta/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch b/meta/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch index 2789fcc53..555565449 100644 --- a/meta/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch +++ b/meta/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch @@ -81,9 +81,7 @@ char *compr_name = NULL; int compr_prior = -1; int warn_page_size = 0; -+ struct ignorepath_entry* element = ignorepath; - - jffs2_compressors_init(); ++ struct ignorepath_entry* element = ignorepath; page_size = sysconf(_SC_PAGESIZE); if (page_size < 0) /* System doesn't know so ... */ @@ -91,9 +89,11 @@ if (page_size != 4096) warn_page_size = 1; /* warn user if page size not 4096 */ + jffs2_compressors_init(); + while ((opt = getopt_long(argc, argv, - "D:d:r:s:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0) -+ "D:d:r:s:I:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0) ++ "D:d:r:s:I:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0) { switch (opt) { case 'D': diff --git a/meta/packages/mtd/mtd-utils/remove-ubi.patch b/meta/packages/mtd/mtd-utils/remove-ubi.patch index a788fd0fd..4928db00b 100644 --- a/meta/packages/mtd/mtd-utils/remove-ubi.patch +++ b/meta/packages/mtd/mtd-utils/remove-ubi.patch @@ -29,5 +29,5 @@ mkdir -p ${DESTDIR}/${SBINDIR} install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/ mkdir -p ${DESTDIR}/${MANDIR}/man1 - gzip -c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz + gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz - make -C $(BUILDDIR)/ubi-utils install -- cgit v1.2.3