[PATCH 5/5] compat-drivers: do not apply patches in natural sort order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this patch the patches are applied in the natural sort order of
numbers, which caused this order for patches/network/:
patches/network/0001-netdev_ops.patch
patches/network/02-ksize.patch
patches/network/0002-net-misc.patch
patches/network/0003-netdev-needed_headroom_tailroom.patch
patches/network/03-rfkill.patch
patches/network/04-netns.patch
patches/network/0004-wext-namespace.patch
patches/network/0005-netlink-portid.patch
patches/network/05-usb.patch

The non natural sort order of numbers is more the intended way to order
the patches as now the spdiff patches are in front of all the other
patches. This makes the patches in patches/network/ to be applied in
the flowing order:
patches/network/0001-netdev_ops.patch
patches/network/0002-net-misc.patch
patches/network/0003-netdev-needed_headroom_tailroom.patch
patches/network/0004-wext-namespace.patch
patches/network/0005-netlink-portid.patch
patches/network/02-ksize.patch
patches/network/03-rfkill.patch
patches/network/04-netns.patch
patches/network/05-usb.patch

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 scripts/admin-update.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index cdc5ce5..f05081a 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -699,7 +699,7 @@ for subsystem in $SUBSYSTEMS; do
 			continue
 		fi
 
-		for i in $(ls -v $PATCHDIR/*.patch); do
+		for i in $(ls $PATCHDIR/*.patch); do
 			echo -e "${GREEN}Applying backport patch${NORMAL}: ${BLUE}$i${NORMAL}"
 			patch -p1 -N -t < $i
 			RET=$?
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux