Message ID | 20230215225110.4288-2-pedro.miguel.baptista@gmail.com |
---|---|
State | Accepted, archived |
Commit | 25cb4e17e8a4c0310df018b9df184b0155b267eb |
Headers | show |
Series | [PATCHv3,1/2] action.py: add topdir in bblayers_conf path for add-layer | expand |
diff --git a/bitbake/lib/bblayers/action.py b/bitbake/lib/bblayers/action.py index d1ba101de2..0d7fd6edd1 100644 --- a/bitbake/lib/bblayers/action.py +++ b/bitbake/lib/bblayers/action.py @@ -66,7 +66,7 @@ class ActionPlugin(LayerPlugin): def do_remove_layer(self, args): """Remove one or more layers from bblayers.conf.""" - bblayers_conf = os.path.join('conf', 'bblayers.conf') + bblayers_conf = os.path.join(findTopdir() ,'conf', 'bblayers.conf') if not os.path.exists(bblayers_conf): sys.stderr.write("Unable to find bblayers.conf\n") return 1