Project

General

Profile

Actions

Bug #12815

closed

ucode/update.intel needs pkgfmt fix

Added by Dan McDonald over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
system data
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

The invocation of pkgfmt in update.intel doesn't set the version like the rest of -gate does. This causes large & unnecessary diffs.

diff --git a/usr/src/data/ucode/update.intel b/usr/src/data/ucode/update.intel
index 52ed8c0eb7..eaa71539a6 100755
--- a/usr/src/data/ucode/update.intel
+++ b/usr/src/data/ucode/update.intel
@@ -19,6 +19,9 @@
 set -e
 set -o pipefail

+# Remove this once we start using pkgfmt without it in the rest of -gate.
+export PKGFMT_OUTPUT=v1
+
 [[ -z "$1" ]] || [[ ! -f "$1" ]] && {
        echo "Syntax: $0 <path to microcode tar>" >&2
        exit 1

should do the trick.


Related issues

Related to illumos gate - Bug #12817: ucode/update.intel should be able to use git reposIn Progress

Actions
Related to illumos gate - Feature #14218: Package manifests could be maintained in v2 formatClosedAndy Fiddaman

Actions
Actions #1

Updated by Dan McDonald over 3 years ago

Actions #2

Updated by Dan McDonald over 3 years ago

Tested during the update for #12816. Pre-fix, generated terrible noise in the manifest. Post-fix, no noise at all.

Actions #3

Updated by Dan McDonald over 3 years ago

  • Related to Bug #12817: ucode/update.intel should be able to use git repos added
Actions #4

Updated by Yuri Pankov over 3 years ago

Dan McDonald wrote:

Tested during the update for #12816. Pre-fix, generated terrible noise in the manifest. Post-fix, no noise at all.

It should actually fail during the packaging step, wonder why it doesn't for you.

Actions #5

Updated by Dan McDonald over 3 years ago

Yuri Pankov wrote:

It should actually fail during the packaging step, wonder why it doesn't for you.

I noticed prior to running nightly. The sheer volume of diffs were the indicator of a problem.

Actions #6

Updated by Andy Fiddaman over 3 years ago

I have always run update.intel inside a `bldenv`, which is why I haven't seen this.
It doesn't hurt to set the variable explicitly though.

Actions #7

Updated by Dan McDonald over 3 years ago

  • Related to Bug #12828: ucode/update.intel should be able to use git repos added
Actions #8

Updated by Electric Monk over 3 years ago

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

git commit 16b19c8cd6c6339e907197a5a8c30bdb85ec0ef8

commit  16b19c8cd6c6339e907197a5a8c30bdb85ec0ef8
Author: Dan McDonald <danmcd@joyent.com>
Date:   2020-06-08T23:59:09.000Z

    12815 ucode/update.intel needs pkgfmt fix

Actions #9

Updated by Dan McDonald over 3 years ago

  • Status changed from Closed to In Progress
  • % Done changed from 100 to 90
Actions #10

Updated by Electric Monk over 3 years ago

git commit eb7a235af24981be82a88a125b4f82093a408ef4

commit  eb7a235af24981be82a88a125b4f82093a408ef4
Author: Dan McDonald <danmcd@joyent.com>
Date:   2020-06-09T14:47:10.000Z

    Revert "12817 ucode/update.intel should be able to use git repos" 
    This reverts commit d9660a7c6537b3e744aca576d92fcef0d6efcea2.
    Revert "12815 ucode/update.intel needs pkgfmt fix" 
    This reverts commit 16b19c8cd6c6339e907197a5a8c30bdb85ec0ef8.

Actions #11

Updated by Dan McDonald over 3 years ago

Testing done: Generated patch for #12816 using this and #12817's fixes.

Actions #12

Updated by Andy Fiddaman about 2 years ago

  • Related to Feature #14218: Package manifests could be maintained in v2 format added
Actions #13

Updated by Electric Monk about 2 years ago

  • Gerrit CR set to 1784
Actions #14

Updated by Andy Fiddaman over 1 year ago

  • Related to deleted (Bug #12817: ucode/update.intel should be able to use git repos)
Actions #15

Updated by Andy Fiddaman over 1 year ago

  • Related to deleted (Feature #14218: Package manifests could be maintained in v2 format)
Actions #16

Updated by Andy Fiddaman over 1 year ago

  • Related to deleted (Feature #12816: Update Intel microcode to 20200616)
Actions #17

Updated by Andy Fiddaman over 1 year ago

  • Related to deleted (Bug #12828: ucode/update.intel should be able to use git repos)
Actions #18

Updated by Andy Fiddaman over 1 year ago

  • Status changed from In Progress to Pending RTI
Actions #19

Updated by Andy Fiddaman over 1 year ago

  • Status changed from Pending RTI to Resolved
Actions #20

Updated by Andy Fiddaman over 1 year ago

  • Related to Bug #12817: ucode/update.intel should be able to use git repos added
Actions #21

Updated by Andy Fiddaman over 1 year ago

  • Related to Feature #14218: Package manifests could be maintained in v2 format added
Actions

Also available in: Atom PDF