Commit 39dca49
committed
test-runner.py: support opkg in get_packages()
Yocto can use rpm, deb or opkg as binary packaging tool.
If distribution is not guessed correctly from /etc/os-release, or
if it doesn't match debian, fedora or ubuntu, then try the different
packaging tools to populate package list. This will work if tools
are on the rootfs also on custom distributions like the ones from
yocto build.
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>1 parent 0233707 commit 39dca49
1 file changed
+31
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
632 | 635 | | |
633 | 636 | | |
634 | 637 | | |
| |||
643 | 646 | | |
644 | 647 | | |
645 | 648 | | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
646 | 654 | | |
647 | 655 | | |
648 | 656 | | |
| |||
660 | 668 | | |
661 | 669 | | |
662 | 670 | | |
663 | | - | |
| 671 | + | |
664 | 672 | | |
665 | 673 | | |
666 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
667 | 696 | | |
668 | 697 | | |
| 698 | + | |
669 | 699 | | |
670 | 700 | | |
671 | 701 | | |
| |||
0 commit comments