Marcel Telka
2024-01-12 d0e9ef0c9c055fb2fd0f56e408f67ab3c0b6c7d2
userland-mapping: allow components without packages

1 files modified
2 ■■■■■ changed files
tools/userland-mapping 2 ●●●●● patch | view | raw | blame | history
tools/userland-mapping
@@ -64,8 +64,6 @@
    if not component_name:
        raise ValueError('Component name is empty for path ' + component_path + '.')
    component_fmris = component.supplied_packages
    if not component_fmris:
        raise ValueError('Component FMRIs is empty for path ' + component_path + '.')
    component_relative_path = component_path.split(os.path.join(os.environ['WS_TOP'], subdir))[-1].replace('/', '', 1)