Skip to content
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

Multiple patch directories in same stage subdirectory don't work as expected #675

Open
chrishamm opened this issue Mar 9, 2023 · 0 comments

Comments

@chrishamm
Copy link

I spent the day trying to track down an oddity with quilt while trying to build buster, I have not yet checked if bullseye is affected as well. Suppose you have the following file structure:

  • stageX/00-my-step/00-patches/myPatch.diff
  • stageX/00-my-step/01-patches/myOtherPatch.diff

When you run the build script without extra arguments, myPatch.diff is successfully applied. Unless you run the build script with CLEAN=1, the second patch myOtherPatch.diff is not applied and no error is reported. In addition, quilt reports after 01-patches that the patches from 00-patches (but not from 01-patches) have been fully applied.

I suspect the series file is just read once per stage subdirectory (maybe then stored as part of the .pc stuff?) and automatically cleared if CLEAN=1 is present. I don't think this is right, because building an image with and without CLEAN=1 leads to different builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant