Bug 11972

Summary: devtool upgrade+finish failed to drop patch it should have
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: Scripts and ToolsAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: ross.burton
Version: 2.4   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2017-08-24 11:17:51 UTC
As part of work on bug 11884 I used devtool to upgrade the recipe in meta-intel-iot-middleware to version 1.2.0 (bumping PE manually in the recipe). The existing makefile.patch failed to apply and I elected to drop it in the rebase. When I did devtool finish, it should have dropped that patch from SRC_URI but it didn't. Sequence of operations:

1. meta-intel-iot-middleware at 840602e59ef1b5b4db4fb04bcb87e222d1fec981 (on paule/cleanup branch at the moment)
2. devtool upgrade paho-mqtt -S e8d34da24ad807f5e698b327d67591fd4b4bfa7e -V 1.2.0
3. cd into the source directory and git rebase --skip
4. devtool edit-recipe paho-mqtt and add a line: PE = "1"
5. devtool finish paho-mqtt meta-intel-iot-middleware