summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gemato/profile.py2
-rw-r--r--tests/test_profile.py1
-rwxr-xr-xutils/gen_fast_metamanifest.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/gemato/profile.py b/gemato/profile.py
index 8f6266c..3e1153c 100644
--- a/gemato/profile.py
+++ b/gemato/profile.py
@@ -106,7 +106,7 @@ class EbuildRepositoryProfile(DefaultProfile):
def get_ignore_paths_for_new_manifest(self, relpath):
if relpath == '':
# traditionally present in /usr/portage
- return ('distfiles', 'local', 'packages')
+ return ('distfiles', 'local', 'lost+found', 'packages')
elif relpath == 'metadata':
return ('timestamp', 'timestamp.chk', 'timestamp.commit',
'timestamp.x')
diff --git a/tests/test_profile.py b/tests/test_profile.py
index 5f56dd2..a7467b5 100644
--- a/tests/test_profile.py
+++ b/tests/test_profile.py
@@ -101,6 +101,7 @@ class EbuildRepositoryTests(TempDirTestCase):
EXPECTED_IGNORE = [
'distfiles',
'local',
+ 'lost+found',
'packages',
'metadata/timestamp',
'metadata/timestamp.chk',
diff --git a/utils/gen_fast_metamanifest.py b/utils/gen_fast_metamanifest.py
index a696d0d..9217a34 100755
--- a/utils/gen_fast_metamanifest.py
+++ b/utils/gen_fast_metamanifest.py
@@ -61,6 +61,7 @@ IGNORE timestamp.x
with io.open('Manifest', 'wb') as f:
f.write(b'''IGNORE distfiles
IGNORE local
+IGNORE lost+found
IGNORE packages
''')