2010/11/2 Gary Golden <m...@garygolden.me>: > Hi, list. > I keep changes of my /etc with git and I would like to include > /var/lib/portage/world file into the repository. > > Can I safely do: > > mv /var/lib/portage/world /etc/portage > ln -s /etc/portage /var/lib/portage/world > > Will portage update handle it properly? > Using hardlinks seems to be more cleaner way, but for some reason I > don't want to use it for this task.
It should work. Just try it out, but make a copy of your world file before. Should be easy to switch back if anything fails. Afaik, the creation of the symbolic link should look like this: ln -s /etc/portage/world /var/lib/portage/world -- Daniel Pielmeier