Export to GitHub

xbps - issue #12

/etc/xbps/virtualpkg.d/


Posted on Oct 15, 2011 by Helpful Elephant

Put small files in /etc/xbps/virtualpkg.d/ instead of entries in /etc/xbps-conf.plist's virtual-packages array. :)

Comment #1

Posted on Oct 17, 2011 by Helpful Elephant

We could store all virtual pkg plist files (like systemd services) in /etc/xbps/virtualpkg.d

And then a directory like system-virtual.d with symlinks to enable them.

I'm not good at cosmetics. :)

Comment #2

Posted on Oct 17, 2011 by Quick Hippo

Ok. So as we talked before, the final structure is shown below:

/etc/xbps/properties.plist (replacing current xbps-conf.plist) /etc/xbps/repositories.plist (replacing repositories array in xbps-conf.plist)

A directory to store all possible virtual packages:

/etc/xbps/virtualpkg.d/.plist

To enable any of them a symlink to virtualpkg.d.wants must be enough:

/etc/xbps/virtualpkg.d.wants/.plist -> /etc/xbps/virtualpkg.d/.plist

Comment #3

Posted on Oct 17, 2011 by Helpful Elephant

nice.

Comment #4

Posted on Oct 17, 2011 by Quick Hippo

I've just started to implement what we said above.

Comment #5

Posted on Oct 17, 2011 by Quick Hippo

I've just pushed the changes to the master branch. It will appear in 0.10.

Status: Fixed

Labels:
Type-Enhancement Priority-Medium Usability