Opened 6 years ago

Last modified 6 years ago

#10117 assigned enhancement

"package" command creates .hpkg roughly 2x size bigger than haikuporter

Reported by: mmadia Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev46261

The command line tool, package creates packages that are roughly twice as large as those created by haikuporter. For example, manually extract system/packages/perl-5.10.1-6-x86_gcc2.hpkg (9.61MiB) into its own directory and run package create perl-test.hpkg The resulting files size is 18.92MiB. Using package create -9 ... results in 18.92MiB as well.

Change History (3)

comment:1 by mmadia, 6 years ago

The issue is that package create <package-name> (without the -C <dir>) will end up including the newly created <package-name> in the final <package-name>.

Using package create -C <dir> <package-name> results in .hpkgs of similar size to haikuporter.

comment:2 by diver, 6 years ago

Owner: changed from nobody to bonefish
Status: newassigned

comment:3 by bonefish, 6 years ago

Owner: changed from bonefish to nobody
Type: bugenhancement

I would consider trying to create the package inside the tree to be packaged a user error, but it certainly wouldn't harm to skip the package file explicitly.

Note: See TracTickets for help on using tickets.