summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/signing.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/signing.py')
-rw-r--r--meta/lib/oeqa/selftest/signing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py
index bd0879d8d0..606bfd3e99 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -54,8 +54,9 @@ class Signing(oeSelfTest):
54 54
55 self.write_config(feature) 55 self.write_config(feature)
56 56
57 bitbake('-c cleansstate %s' % test_recipe) 57 bitbake('-c clean %s' % test_recipe)
58 bitbake(test_recipe) 58 bitbake('-f -c package_write_rpm %s' % test_recipe)
59
59 self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe) 60 self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe)
60 61
61 pkgdatadir = get_bb_var('PKGDATA_DIR', test_recipe) 62 pkgdatadir = get_bb_var('PKGDATA_DIR', test_recipe)
@@ -98,7 +99,6 @@ class Signing(oeSelfTest):
98 sstatedir = os.path.join(builddir, 'test-sstate') 99 sstatedir = os.path.join(builddir, 'test-sstate')
99 100
100 self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe) 101 self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe)
101 self.add_command_to_tearDown('bitbake -c cleansstate %s' % test_recipe)
102 self.add_command_to_tearDown('rm -rf %s' % sstatedir) 102 self.add_command_to_tearDown('rm -rf %s' % sstatedir)
103 103
104 # Determine the pub key signature 104 # Determine the pub key signature
@@ -117,7 +117,7 @@ class Signing(oeSelfTest):
117 117
118 self.write_config(feature) 118 self.write_config(feature)
119 119
120 bitbake('-c cleansstate %s' % test_recipe) 120 bitbake('-c clean %s' % test_recipe)
121 bitbake(test_recipe) 121 bitbake(test_recipe)
122 122
123 recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_package.tgz.sig') 123 recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_package.tgz.sig')