# direct install depends
- submit job.yaml + add a field to job.yaml from distro/depends/$job fio: tests/ fs: setup/ install_depends: # add to setup/ fs: pkg1 pkg2 host-info: pkg3 $script: pkg1
+ change pkgs' name from distro/adaptation/$distro + export $install_depends_packages to install_depends
- setup/install_depends: install packages due to $packages from YAML
leftover: - CCI will check, download, install initrd_deps always > delete all deps will fix it - share_debian_package ( run-ipconfig ) > not work anymore commit 8a8a57d7a166687bad1cd11e880a36c80e2c403b
adapt from debian to $os ~/lkp-tests/distro/depends/$script (debian) => ~/lkp-tests/distro/depends/debian/$script ~/lkp-tests/distro/adaptation/$os
bottom line: on error, user is able to fix it by specifying exact dependencies in a depends/ file
x * y x y1 y2 y3 y4 1 2 11 12
find package in os similarity order debian-11/$script debian/$script deb os (if os is ubuntu) show warning on submit
ubuntu user: lib-dev
~/lkp-tests/distro/depends/$os/$script (user development os) job: $os no problem
job: $other_os auto convert in - submit - scheduler call service API: convert package name from one os to another os
TODO: - add filed into job.yaml with all setup/tests script --Zhende '#! /home/wangyong/lkp-tests/jobs/host-info.yaml': suite: host-info category: functional is_send_mail: false host-info: os: openeuler os_arch: aarch64 os_version: "20.03" install_depends_pakeages: fs: pkg1 pkg2 host-info: pkg3 pkg4 - convert debian/$script packages into target $os packages --Zhende adapt from debian to $os ~/lkp-tests/distro/depends/$script (debian) => ~/lkp-tests/distro/depends/debian/$script ~/lkp-tests/distro/adaptation/$os - copy /depends/$script to /depends/debian/$script --Wangyong - move setup/install_depends from run_job to lkp-tests frame --Wangyong - to prevent install depends after setup initialization - similarity tree to list most similar rpm/deb to install --Zhende