Ignore some more entries from the bootable CD. Should fix ticket #4403, test

pending.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32918 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-09-03 08:54:41 +00:00
parent 98f77afdb7
commit 2d304daf77

View File

@ -501,6 +501,20 @@ CopyEngine::_ShouldCopyEntry(const char* name, const struct stat& statInfo,
printf("ignoring '%s'.\n", name);
return false;
}
if (strcmp("rr_moved", name) == 0) {
printf("ignoring '%s'.\n", name);
return false;
}
}
if (level == 1 && S_ISREG(statInfo.st_mode)) {
if (strcmp("boot.catalog", name) == 0) {
printf("ignoring '%s'.\n", name);
return false;
}
if (strcmp("haiku-boot-floppy.image", name) == 0) {
printf("ignoring '%s'.\n", name);
return false;
}
}
return true;
}