Summary: | app-portage/layman-2.0.0 - rsync removes metadata/layout.conf | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Guy <defuebr> |
Component: | Third-Party Tools | Assignee: | Brian Dolbec (RETIRED) <dolsen> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | tools-portage |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Guy
2013-08-02 03:15:16 UTC
The reason rsync deletes the file is because it is not included in the overlay. That is a bug in the overlay, not layman. It is due to recent changes in portage that are more strict about those things. Git does not "SYNC" the directory if you make changes. It tries to merge the changes made upstream into your checkout. It is a version control system. Rsync is a synchronizing file transfer system. You can add your --exlcude=metadata/layout.conf to layman's /etc/layman/layman.cfg file under rsync_sync_options to fix the problem locally. You should also report the bug to zugaina about the missing layout.conf file. Also to any other overlay that it is missing in. (In reply to Brian Dolbec from comment #1) > You can add your --exlcude=metadata/layout.conf to layman's > /etc/layman/layman.cfg file under rsync_sync_options to fix the problem > locally. > > You should also report the bug to zugaina about the missing layout.conf > file. Also to any other overlay that it is missing in. Thank you for the clarification and advice. I did also email ycarus at zugaina as well. Your help is much appreciated. For anyone else who's interested: In file: /etc/layman/layman.cfg under section: #----------------------------------------------------------- # Command additional options I added the line: rsync_syncopts : --exclude=metadata/layout.conf The above assumes you've already updated /var/lib/layman/zugaina/metadata/layout.conf with "masters = gentoo". |