-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.bbclass: Record PE for shlibs for correct dependencies #28
Commits on Jan 11, 2018
-
package.bbclass: Record PE for shlibs for correct dependencies
When downgrading a package or using a substitute with lower version, the way to do it is adding or increasing PE. For the automatic shlib dependencies, only the package version without the PE value was recorded. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 6ba2b98 - Browse repository at this point
Copy the full SHA 6ba2b98View commit details -
Fix recording and reading PE in shlib dependencies
Now the variables in memory use the PE:PV format, only the *.list files should store PE#PV so their format it not broken. The conversion happens when writing a packages' own *.list files and when reading other packages' files. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 1061e76 - Browse repository at this point
Copy the full SHA 1061e76View commit details -
Revert "Fix recording and reading PE in shlib dependencies"
This reverts commit 1061e76.
Böszörményi Zoltán committedJan 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 67ab564 - Browse repository at this point
Copy the full SHA 67ab564View commit details -
Revert "package.bbclass: Record PE for shlibs for correct dependencies"
This reverts commit 6ba2b98.
Böszörményi Zoltán committedJan 11, 2018 Configuration menu - View commit details
-
Copy full SHA for bbfedd6 - Browse repository at this point
Copy the full SHA bbfedd6View commit details -
Record PE value for shlib dependencies
When downgrading a package or using a substitute with lower version, the way to do it is adding or increasing PE. But it didn't help dependant packages because the shlib records didn't contain PE, only PV. Let's add the PE value into these records for packages where it's set. The in-memory variables storing the versions use the PE:PV notation but the on-disk files must use something else because the : character is already used as field delimiter in the package.list files storing these shlib records. Use # instead in the files, so the file format doesn't change. Conversion occurs on reading/writing the package.list files. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 559ae2d - Browse repository at this point
Copy the full SHA 559ae2dView commit details
Commits on Jan 12, 2018
-
package: Also add PR to shlib dependency record
It is used as actual package dependency only if it's not r0, i.e. it's set. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for 5dee49c - Browse repository at this point
Copy the full SHA 5dee49cView commit details -
package: Always extend the list to 4 entries in read_shlib_providers()
This way we take existing package.list files into account. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for 65a3a5e - Browse repository at this point
Copy the full SHA 65a3a5eView commit details -
Revert "package: Always extend the list to 4 entries in read_shlib_pr…
…oviders()" This reverts commit 65a3a5e.
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for 1386df8 - Browse repository at this point
Copy the full SHA 1386df8View commit details -
Revert "package: Also add PR to shlib dependency record"
This reverts commit 5dee49c.
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for ea75fa8 - Browse repository at this point
Copy the full SHA ea75fa8View commit details -
Revert "Record PE value for shlib dependencies"
This reverts commit 559ae2d.
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for a88f19c - Browse repository at this point
Copy the full SHA a88f19cView commit details -
package: Record PE and PR values for shlib dependencies
When downgrading a package or using a substitute with lower version, the way to do it is adding or increasing PE and there may be other reasons to set PE. But it doesn't directly help dependant packages because the shlib records only contain PV. Let's add the PE value into the shlib records for packages where it's set and PR unconditionally. The in-memory variables storing the versions now use the PE:PV notation but the on-disk files must use something else because the : character is already used as field delimiter in the package.list files storing the shlib records. Use # instead in the files, so the file format doesn't change. Conversion occurs on reading and writing the package.list files. v2: Also store PR in a new 4th field in the shlib records. If it's set, i.e. it's different from "r0" then it will also be used in the packages for shared library dependencies. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Böszörményi Zoltán committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for a7bf789 - Browse repository at this point
Copy the full SHA a7bf789View commit details