summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 21:15:49 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 21:15:49 (EDT)
commit0493e4b906b274ecb02cbd80df3a1f26054de830 (patch)
treebf3b270490f575e4b74f8cbb988566ea48d5dfea /patches
parent188b192a70ca5519966c9e4a5878ac116003fe7a (diff)
patches: Fix check for BB tar reverse ordering bug
Diffstat (limited to 'patches')
-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
+