Project

General

Profile

Actions

Bug #5189

closed

validate_pkg should support mediated links

Added by Alexander Pyhalov about 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Currently illumos-gate doesn't provide mediated links. However, if it provides any, validate_pkg can't validate such links, because link entries in manifests and symlinks in proto area can have different targets and still be correct.
The correct action for mediated symlinks is to just avoid comparing targets.

Actions #1

Updated by Igor Kozhukhov about 7 years ago

also will be better to have support for relocated files, like this:
file usr/bin/$(ARCH64)/file path=usr/bin/file

at this moment if you have updated manifest by this rule we need to update exclude rules for packaging.

Actions #2

Updated by Electric Monk about 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 3be32116258babbbdd231a5bba8e6e58e87daa99

commit  3be32116258babbbdd231a5bba8e6e58e87daa99
Author: Alexander Pyhalov <apyhalov@gmail.com>
Date:   2014-09-23T17:46:14.000Z

    5189 validate_pkg should support mediated links
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF