Project

General

Profile

Actions

Bug #7612

closed

SGSPROTO lacks structure

Added by Andrew Stormont almost 7 years ago. Updated almost 7 years ago.

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

100%

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

Description

Right now everything is dumped into the same directory. Things should be separated, preferably out into a structure that matches what an installed system would look like. That means libs in $(SGSPROTO)/lib and bins in $(SGSPROTO)/usr/bin. That way SGSPROTO can be overridden to point to an alternative chroot.

Actions #2

Updated by Andrew Stormont almost 7 years ago

Before change SGSPROTO looks like this:

usr/src/cmd/sgs/proto/i386/
usr/src/cmd/sgs/proto/i386/ld
usr/src/cmd/sgs/proto/i386/liblddbg.so.4
usr/src/cmd/sgs/proto/i386/libelf.so
usr/src/cmd/sgs/proto/i386/libelf.so.1
usr/src/cmd/sgs/proto/i386/libld.so.4
usr/src/cmd/sgs/proto/i386/libldstab.so.1
usr/src/cmd/sgs/proto/i386/liblddbg.so
usr/src/cmd/sgs/proto/i386/libld.so

After it looks like this:

usr/src/cmd/sgs/proto/i386/
usr/src/cmd/sgs/proto/i386/usr
usr/src/cmd/sgs/proto/i386/usr/bin
usr/src/cmd/sgs/proto/i386/usr/bin/ld
usr/src/cmd/sgs/proto/i386/lib
usr/src/cmd/sgs/proto/i386/lib/liblddbg.so.4
usr/src/cmd/sgs/proto/i386/lib/libelf.so
usr/src/cmd/sgs/proto/i386/lib/libelf.so.1
usr/src/cmd/sgs/proto/i386/lib/libld.so.4
usr/src/cmd/sgs/proto/i386/lib/libldstab.so.1
usr/src/cmd/sgs/proto/i386/lib/liblddbg.so
usr/src/cmd/sgs/proto/i386/lib/libld.so
Actions #3

Updated by Andrew Stormont almost 7 years ago

  • Description updated (diff)
Actions #4

Updated by Electric Monk almost 7 years ago

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

git commit 396aa62085ffd432d59ad504f1ac0827512580f4

commit  396aa62085ffd432d59ad504f1ac0827512580f4
Author: Andrew Stormont <astormont@racktopsystems.com>
Date:   2016-11-27T21:53:39.000Z

    7612 SGSPROTO lacks structure
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF