Skip to contentSkip to conversation

recipetool/append: Fix selftest failure with multilib

PATCH New Richard Purdie 1 participant 1 message Jul 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipetool/append: Fix selftest failure with multilib

If you have multilib enabled, it finds lib32-base-files instead of base-files for test_recipetool_appendfile_basic causing a test failure. Add a fix for this.

scripts/lib/recipetool/append.py +3 -0
index 9903871..a2133f7 100644
@@ -280,6 +280,9 @@ def appendfile(args):
                 alternative_pns.append(pn[1:])
             elif pn.startswith('!'):
                 postinst_pns.append(pn[1:])
+            elif selectpn:
+                # hit here with multilibs
+                continue
             else:
                 selectpn = pn