diff options
Diffstat (limited to 'packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch')
-rw-r--r-- | packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch b/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch index 05af81e283..e6bb48c9e0 100644 --- a/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch +++ b/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch @@ -3,7 +3,7 @@ # Patch managed by http://www.holgerschurig.de/patcher.html # ---- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2.patch +--- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2 +++ mtd/util/mkfs.jffs2.c @@ -92,7 +92,12 @@ struct filesystem_entry *files; /* Only relevant to directories */ @@ -72,12 +72,13 @@ { switch (opt) { case 'D': -@@ -1376,6 +1394,27 @@ +@@ -1376,6 +1394,28 @@ page_size = strtol(optarg, NULL, 0); break; + case 'I': + printf( "Note: Adding '%s' to ignore Path\n", optarg ); ++ element = ignorepath; + if ( !ignorepath ) { + ignorepath = xmalloc( sizeof( struct ignorepath_entry ) ); + ignorepath->next = 0; @@ -89,7 +90,7 @@ + strcpy( &element->next->name[0], optarg ); + } + printf( "--------- Dumping ignore path list ----------------\n" ); -+ element=ignorepath; ++ element = ignorepath; + while ( element ) { + printf( " * '%s'\n", &element->name[0] ); + element = element->next; |