Project

General

Profile

Actions

Bug #11223

closed

oi-userland should not leave 'pkg.depend.' attributes in published packages

Added by Rich Lowe about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

pkg.depend.bypass-generate attributes should be stripped from packages in a step after pkgdepend(1) (which consumes them) has run, and prior to publishing, making manifests considerably smaller.

To take a random example

; pkg contents -m vim | grep bin/vim
file b7c6323758028e910c1686514c4271e993d5dcf2 chash=a31a2d770dd954541161b090900484e51d2c508b group=bin mode=0555 owner=root path=usr/bin/vimtutor pkg.csize=1123 \
    pkg.depend.bypass-generate=usr/lib(.*)/libpq.so.* \
    pkg.depend.bypass-generate=usr/lib(.*)/libruby.so.* \
    pkg.depend.bypass-generate=usr/lib/libgcc_s\.so\.1 \
    pkg.depend.bypass-generate=usr/lib/amd64/libgcc_s\.so\.1 \
    pkg.depend.bypass-generate=usr/lib/libgfortran\.so\.3 \
    pkg.depend.bypass-generate=usr/lib/amd64/libgfortran\.so\.3 \
    pkg.depend.bypass-generate=usr/lib/libgomp\.so\.1 \
    pkg.depend.bypass-generate=usr/lib/amd64/libgomp\.so\.1 \
    pkg.depend.bypass-generate=usr/lib/libgobjc\.so\.4 \
    pkg.depend.bypass-generate=usr/lib/amd64/libgobjc\.so\.4 \
    pkg.depend.bypass-generate=usr/lib/libgobjc_gc\.so\.4 \
    pkg.depend.bypass-generate=usr/lib/amd64/libgobjc_gc\.so\.4 \
    pkg.depend.bypass-generate=usr/lib/libquadmath\.so\.0 \
    pkg.depend.bypass-generate=usr/lib/amd64/libquadmath\.so\.0 \
    pkg.depend.bypass-generate=usr/lib/libssp\.so\.0 \
    pkg.depend.bypass-generate=usr/lib/amd64/libssp\.so\.0 \
    pkg.depend.bypass-generate=usr/lib/libstdc\+\+\.so\.6 \
    pkg.depend.bypass-generate=usr/lib/amd64/libstdc\+\+\.so\.6 \
    pkg.size=2121

Actions #1

Updated by Rich Lowe about 3 years ago

That seems like it's ~1000 bytes per action. That could lead to a pretty considerable savings.

Actions #3

Updated by Alexander Pyhalov about 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF