diff options
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/devtool b/scripts/devtool index c9ad9ddb95..5292f187e5 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -130,25 +130,6 @@ def read_workspace(): | |||
130 | 'recipefile': recipefile} | 130 | 'recipefile': recipefile} |
131 | logger.debug('Found recipe %s' % workspace[pn]) | 131 | logger.debug('Found recipe %s' % workspace[pn]) |
132 | 132 | ||
133 | def create_unlockedsigs(): | ||
134 | """ This function will make unlocked-sigs.inc match the recipes in the | ||
135 | workspace. This runs on every run of devtool, but it lets us ensure | ||
136 | the unlocked items are in sync with the workspace. """ | ||
137 | |||
138 | confdir = os.path.join(basepath, 'conf') | ||
139 | unlockedsigs = os.path.join(confdir, 'unlocked-sigs.inc') | ||
140 | bb.utils.mkdirhier(confdir) | ||
141 | with open(os.path.join(confdir, 'unlocked-sigs.inc'), 'w') as f: | ||
142 | f.write("# DO NOT MODIFY! YOUR CHANGES WILL BE LOST.\n" + | ||
143 | "# This layer was created by the OpenEmbedded devtool" + | ||
144 | " utility in order to\n" + | ||
145 | "# contain recipes that are unlocked.\n") | ||
146 | |||
147 | f.write('SIGGEN_UNLOCKED_RECIPES += "\\\n') | ||
148 | for pn in workspace: | ||
149 | f.write(' ' + pn) | ||
150 | f.write('"') | ||
151 | |||
152 | def create_workspace(args, config, basepath, workspace): | 133 | def create_workspace(args, config, basepath, workspace): |
153 | if args.layerpath: | 134 | if args.layerpath: |
154 | workspacedir = os.path.abspath(args.layerpath) | 135 | workspacedir = os.path.abspath(args.layerpath) |
@@ -332,7 +313,6 @@ def main(): | |||
332 | 313 | ||
333 | if not getattr(args, 'no_workspace', False): | 314 | if not getattr(args, 'no_workspace', False): |
334 | read_workspace() | 315 | read_workspace() |
335 | create_unlockedsigs() | ||
336 | 316 | ||
337 | try: | 317 | try: |
338 | ret = args.func(args, config, basepath, workspace) | 318 | ret = args.func(args, config, basepath, workspace) |