On Fri, Jul 3, 2020 at 7:16 PM Benjamin Schubert <[email protected]>
wrote:

> Hey everyone
>
> TLDR: I think we should by default filter `dev` files from `tar` archives
> when staging.
>
> I have a problem that I sometimes encounter: I want to use a stage3
> archive as the basic for a
> BuildStream project. Some of those tar files contain `dev` devices (/dev/*
> mainly), and I can
> therefore not open them with BuildStream, since I am not root and
> therefore don't have enough
> permissions for this.
>

This seems to be a common theme in source plugins.


> Currently the only way of doing that with BuildStream is re-taring the
> file by myself.
>
> I don't think that is a good user experience, and I also think that this
> is not the default expectation
> when using BuildStream.
>
> I'd therefore suggest two things:
>
> - Add a `exclude-dev-nodes` option to `tar` to allow filtering out those
> special files
> - Make this option true by default, since I think that is the default
> expectation in BuildStream?
>
> What do you think?
>

Can we not address this in the core rather than in the plugins?


> Ben


Cheers,

Sander

Reply via email to