Skip to content

bootstrap install to non-default location #307

Description

@kflu

Looks like joyent pkgsrc bootstrap installs to the default location /usr/pkg. Is there a way to customize the prefix, say, to non-previleged directory like $HOME/pkg?

This is what I was talking about - in e.g., https://pkgsrc.joyent.com/install-on-linux/, it says

# Install bootstrap kit to /usr/pkg
sudo tar -zxpf ${BOOTSTRAP_TAR} -C /

If I change to -c $HOME/pkg, then when I do pkgin list, it will complain "cannot find /usr/pkg/sbin/pkg_admin". So it apparently is "hard coded".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions