summaryrefslogtreecommitdiffstats
path: root/patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch')
-rw-r--r--patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch b/patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch
new file mode 100644
index 0000000..df1135e
--- /dev/null
+++ b/patches/0001-ob-buildopk-Really-check-for-BB-tar-reverse-ordering.patch
@@ -0,0 +1,25 @@
+From bc7912ee552446471dadc49893b1a821f1acb1c4 Mon Sep 17 00:00:00 2001
+From: Patrick McDermott <patrick.mcdermott@libiquity.com>
+Date: Sun, 4 Aug 2019 21:11:30 -0400
+Subject: [PATCH] ob-buildopk: Really check for BB tar reverse ordering bug
+
+---
+ src/ob-buildopk.sh | 2 +-
+ 1 files changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
+index 598419f..b781abb 100644
+--- a/src/ob-buildopk.sh
++++ b/src/ob-buildopk.sh
+@@ -57,7 +57,7 @@ build_opk()
+ # order.
+ touch '.opkbuild/a' '.opkbuild/b'
+ if [ x"$(printf '.opkbuild/a\n.opkbuild/b\n' | ${TAR} -c -T - | \
+- ${TAR} -t | head -n 1)" = x'b' ]; then
++ ${TAR} -t | head -n 1)" = x'.opkbuild/b' ]; then
+ sort_r='-r'
+ else
+ sort_r=''
+--
+2.11.0
+