[yocto] [meta-gplv2][PATCH] dosfstools: Restore support for the -h option to mkdosfs

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Mar 10 13:34:02 PST 2017


From: Emma Holmberg Ohlsson <emma.holmberg.ohlsson at axis.com>

The support for the -h option to mkdosfs was accidentally removed when
the target and native versions of the recipe were unified back in
Dylan...

Signed-off-by: Emma Holmberg Ohlsson <emma.holmberg.ohlsson at axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
---
 recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch | 2 +-
 recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch b/recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch
index ae21bee..872fd82 100644
--- a/recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch
+++ b/recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch
@@ -183,7 +183,7 @@ Index: dosfstools-2.11/mkdosfs/mkdosfs.c
  	   program_name);
  
 -  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v")) != EOF)
-+  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
++  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
      /* Scan the command line for options */
      switch (c)
        {
diff --git a/recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch b/recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch
index 3ba4711..9643932 100644
--- a/recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch
+++ b/recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch
@@ -609,8 +609,8 @@ Index: dosfstools-2.11/mkdosfs/mkdosfs.c
    printf ("%s " VERSION " (" VERSION_DATE ")\n",
  	   program_name);
  
--  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
-+  while ((c = getopt (argc, argv, "AbcCd:f:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
+-  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
++  while ((c = getopt (argc, argv, "AbcCd:f:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
      /* Scan the command line for options */
      switch (c)
        {
-- 
2.9.0




More information about the yocto mailing list