Merging several branches with ports tree
Beeblebrox
zaphod at berentweb.com
Fri Jul 25 19:30:37 UTC 2014
Andrzej Tobola wrote:
> I do not understand exactly ...
> but from a few years I am using unionfs to place my mods of ports
> tree over the original:
>
> /ftp/pub/BSD/FreeBSD/GIT/ports 2,1T 1,6T 553G
> 74% /usr/ports <above>:/usr/local/ports 2,2T 2,2T
> 18G 99% /usr/ports
>
> % mount | grep ports
> /ftp/pub/BSD/FreeBSD/GIT/ports on /usr/ports (nullfs, read-only)
> <above>:/usr/local/ports on /usr/ports (unionfs, read-only)
That's an interesting approach and nice idea.
My aim is to have a separate category for the modded ports, because
a) They're mostly not in the tree anyway and,
b) I need a way to keep track of modded ports for update failure.
In case there are others who find my explanation a bit incomprehensible:
* I download each repo/tree (git/svn) into its own folder.
* I then want to overlay each tree into /usr/ports, starting with ports,
gnome3, linux-c6 and finally my-port-collection
* When I update base ports tree, and try to place the latest overlay into
/usr/ports, the "rsync -au" command results in a ports tree with unforseen
errors. I need to correct this.
* I prefer to have my ports collection under a separate category and I need
to correct the script that injects categories into /usr/ports/Makefile &
Mk/bsd.ports.mk. Sending the folder for sub-category is of course trivial
with rsync.
Thanks for the idea!
-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Merging-several-branches-with-ports-tree-tp5931719p5931780.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
More information about the freebsd-ports
mailing list