- we currently only support creating regular files for %ghosts which
dont exist in the buildroot, but for files that do exist in the buildroot
there's no reason to place such limits (eg its perfectly ok to have
symlinks marked as %ghosts)
fl->processingFailed = 1;
return RPMRC_FAIL;
}
- } else {
- if (is_ghost && !S_ISREG(statp->st_mode)) {
- rpmlog(RPMLOG_ERR, _("Only regular file can be %%ghost: %s\n"), diskPath);
- fl->processingFailed = 1;
- return RPMRC_FAIL;
- }
}
}
}