-
Notifications
You must be signed in to change notification settings - Fork 27
apply-patch.sh: fix patch file finding issue #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The original script finds patch files that have two hard links. But the links seem to be soft links (at least after git clone). So maybe we should use the .patch suffix to find the patch files instead.
|
I'm getting confused. With I just followed your instructions ( |
|
Looks like the behavior of |
|
Thanks for pointing out, and indeed it's a issue on BTW, I think your changes are suboptimal ( |
Ah yes, I missed that. Perhaps a better way is to find the directories that have no subdirectories. I just updated my changes if you're interested. I tested it on my environment and it seems to work fine. Anyway, thanks for your feedback! Feel free to close the PR if you believe it's not a major issue. It can still be a reference for anyone building redroid on Btrfs. |
Current script finds patch files that have two hard links. But the links in fact seem to be soft links (at least after git clone), causing the script to miss all patch files. So maybe we should use the
.patchsuffix to find the patch files instead.