From 86d7ffda38b870dc96035feb4788ae1589aab11c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 23 Feb 2010 22:28:04 +0100 Subject: optimize foxg20 target - make cfgfs work, a small busybox fdisk patch needed - make adkinstall and adkupdate work --- package/busybox/patches/003-fdisk-mmc.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/busybox/patches/003-fdisk-mmc.patch (limited to 'package/busybox') diff --git a/package/busybox/patches/003-fdisk-mmc.patch b/package/busybox/patches/003-fdisk-mmc.patch new file mode 100644 index 000000000..961c117b2 --- /dev/null +++ b/package/busybox/patches/003-fdisk-mmc.patch @@ -0,0 +1,14 @@ +diff -Nur busybox-1.15.2.orig/util-linux/fdisk.c busybox-1.15.2/util-linux/fdisk.c +--- busybox-1.15.2.orig/util-linux/fdisk.c 2009-10-08 03:04:40.000000000 +0200 ++++ busybox-1.15.2/util-linux/fdisk.c 2010-02-23 20:41:01.000000000 +0100 +@@ -2770,7 +2770,9 @@ + for (s = ptname; *s; s++) + continue; + if (isdigit(s[-1])) +- continue; ++ if (s[-1] != '0') ++ continue; ++ + sprintf(devname, "/dev/%s", ptname); + open_list_and_close(devname, 0); + } -- cgit v1.2.3