Project

General

Profile

Actions

Bug #13667

closed

pkg lint should not run if we are not building packages

Added by Yuri Pankov over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

pkg lint seems to run no matter if we build packages ('p' in NIGHTLY_OPTIONS) or not, it shouldn't as it's going to fail anyway:

==== Linting packages ====

Lint engine setup...
Error: Unable to create reference image: No lint image or manifests provided.
*** Error code 2
The following command caused the error:
for r in redist; do \
        pkglint \
            -f packages.i386/pkglintrc \
            -c /home/yuripv/ws/clrep/packages/i386/nightly/lint.image \
            -r /home/yuripv/ws/clrep/packages/i386/nightly/repo.$r \
            `/usr/bin/find packages.i386 -name \*.fin \! -size 0c -print`; \
done

Here I'm skipping pkg build to speed up nightly.


Related issues

Related to illumos gate - Feature #12708: Packages could be lintedClosedAndy Fiddaman

Actions
Actions

Also available in: Atom PDF