Ask Your Question
0

Installing an overlay in the install space of the underlay.

asked 2014-03-07 03:48:28 -0500

demmeln gravatar image

Is it possible to install an overlay in the same install space as an underlay? For example, if I have a base install from source in /opt/ros/hydro, it might be convenient to extend it with additional packages in an overlayed workspace instead of augmenting the original workspace (which for the desktop-full install has about 250 packages on hydro). If those additional packages are merely dependencies (i.e. I don't intend to modify them) and not specific to one project, installing them on top of the underlay in /opt/ros/hydro would be convenient.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-03-07 04:15:59 -0500

Dirk Thomas gravatar image

Yes, that is no problem.

This is commonly used to install multiple packages / workspace to a single location. Basically /opt/ros/DISTRO can be considered as an example since every Debian package is its own little "workspace".

edit flag offensive delete link more

Comments

I was woundering precicely if for debian packages there was something special going on to make it work. Thanks.

demmeln gravatar image demmeln  ( 2014-03-07 04:36:51 -0500 )edit

One thing is special for the Debian packages. Only the catkin package comes with the setup files. If you install workspace they will always overwrite the existing setup files. But that should not be an issue since the generated content should be identical.

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 04:57:36 -0500 )edit

Aha. Is this true for 'sibling overlays'? I.e. if I have two workspaces A and B both overlaying workspace C, they both install the same setup files, therefore I can install both A and B in the same install space, right?

demmeln gravatar image demmeln  ( 2014-03-07 05:10:06 -0500 )edit

Without thinking too much about that scenario I would say "yes, that should work".

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 05:29:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-07 03:48:28 -0500

Seen: 284 times

Last updated: Mar 07 '14