mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 12:12:11 +01:00
This option adds extra packages listed in the specified file to build. For now, osc does not support automatic buildrequires. When a package has automatic buildrequires, osc just returns error code 9 that is returned by build, but build leaves a list of missing dependencies in ".build.packages/OTHER/_generated_buildreqs" file inside build root. These extra packages can be added using "--extra-pkgs" ("-x") option, but this is very inconvenient if there are many of them. Allowing to add extra dependencies listed in a file makes building packages with automatic buildrequires much more convenient: just do a first stage build, resulting in a file with list of extra dependencies, and then add extra packages from this file using "--extra-pkgs-from" ("-X") option that is added by this change. Signed-off-by: Oleg Girko <ol@infoserver.lv>