Feature to use symbolic links to binaries for ptest
cover Feature to use symbolic links to binaries for ptest
Some binaries are renamed by update-alternatives class at build time and some ptest run against a binary belonging to another package. Take for example busybox or util-linux.
This series adds a directory within the ptest path with symlinks to the binaries produced by the package, so just adding this directory to the PATH will test the correct binaries.
To use this feature just add PTEST_BINDIR = "1" to the recipe.
This will help to solve bug 13238.
[YOCTO #13238]
The following changes since commit ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99:
asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100)
are available in the Git repository at:
git://github.com/justanotherboy/poky bug12597
https://github.com/justanotherboy/poky/tree/bug12597
Mariano Lopez (3):
update-alternatives.bbclass: Add function to get renamed binaries ptest.bbclass: Add feature to populate a binary directory
util-linux: Use PTEST binary directory
Signature · 1 line
2.19.2
Can you also port busybox to this instead of its own hand-coded logic?
Ross
Quoted 38 lines · Mariano Lopez
Some binaries are renamed by update-alternatives class at build time and some ptest run against a binary belonging to another package. Take for example busybox or util-linux.
This series adds a directory within the ptest path with symlinks to the binaries produced by the package, so just adding this directory to the PATH will test the correct binaries.
To use this feature just add
PTEST_BINDIR= "1" to the recipe.This will help to solve bug 13238.
[YOCTO #13238]
The following changes since commit
ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99:asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100)
are available in the Git repository at:
git://github.com/justanotherboy/pokybug12597
https://github.com/justanotherboy/poky/tree/bug12597Mariano Lopez (3):
update-alternatives.bbclass: Add function to get renamed binaries ptest.bbclass: Add feature to populate a binary directory
util-linux: Use PTEST binary directory--
2.19.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Sure, can you integrate this in the while I work on the busybox one? I'll do it as part of bug 12597 that is also assigned to me
Mariano
Quoted 46 lines · Ross
Can you also port busybox to this instead of its own hand-coded logic?
Ross
Quoted 9 lines · Mariano Lopez
Some binaries are renamed by update-alternatives class at build time and some ptest run against a binary belonging to another package. Take for example busybox or util-linux.
This series adds a directory within the ptest path with symlinks to the binaries produced by the package, so just adding this directory to the PATH will test the correct binaries.
Quoted 7 lines
To use this feature just add
PTEST_BINDIR= "1" to the recipe.This will help to solve bug 13238.
[YOCTO #13238]
The following changes since commit
ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99:Quoted 22 lines
asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100)
are available in the Git repository at:
git://github.com/justanotherboy/pokybug12597
https://github.com/justanotherboy/poky/tree/bug12597Mariano Lopez (3):
update-alternatives.bbclass: Add function to get renamed binaries ptest.bbclass: Add feature to populate a binary directory
util-linux: Use PTEST binary directory--
2.19.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Thanks for pointing that out! The busybox recipe provided me insight on how to implement this series in a cleaner way. I refactor the code and the v2 of the series can be found here:
http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280981.html
Please do not integrate this series
Thanks again Ross!
Quoted 54 lines · Mariano Lopez
Sure, can you integrate this in the while I work on the busybox one? I'll do it as part of bug 12597 that is also assigned to me
Mariano
Quoted 46 lines · Ross
Can you also port busybox to this instead of its own hand-coded logic?
Ross
Quoted 9 lines · Mariano Lopez
Some binaries are renamed by update-alternatives class at build time and some ptest run against a binary belonging to another package. Take for example busybox or util-linux.
This series adds a directory within the ptest path with symlinks to the binaries produced by the package, so just adding this directory to the PATH will test the correct binaries.
Quoted 7 lines
To use this feature just add
PTEST_BINDIR= "1" to the recipe.This will help to solve bug 13238.
[YOCTO #13238]
The following changes since commit
ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99:Quoted 22 lines
asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100)
are available in the Git repository at:
git://github.com/justanotherboy/pokybug12597
https://github.com/justanotherboy/poky/tree/bug12597Mariano Lopez (3):
update-alternatives.bbclass: Add function to get renamed binaries ptest.bbclass: Add feature to populate a binary directory
util-linux: Use PTEST binary directory--
2.19.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core