Skip to content

Commit 5ea7101

Browse files
productcompose: Allow to disable layer filter in OBS
1 parent 01938b2 commit 5ea7101

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Build/ProductCompose.pm

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ sub parse {
156156
$pkgs = add_pkgset($pkgs, get_pkgset_compat($data->{'unpack_packages'}, $arch, $flavor));
157157
}
158158
}
159+
# --use-newest-package is misleading, it means to disable repository layering. This will
160+
# offer all binary versions of all reprositories to the build tool:
161+
push @{$pkgs}, '--use-newest-package' if grep {$_ eq 'OBS_disable_layering'} @{$data->{'build_options'}};
159162
$ret->{'deps'} = $pkgs;
160163

161164
# We have currently no option to configure own path list for the product on purpose

0 commit comments

Comments
 (0)