Hello, I've tried to apply latest suspend2 patches into kernel, since it adds new files into kernel tree it added files using -p0 when it had to add files using -p1. I've found that kernel-2 supports explicit patch level, but it was not supported on tar patchsets. I understand that when strict patch order is not set, it is difficult to set the patch level. But when strict order is on, this is quite simple. I've prepared a patch for this, I hope you accept it. Regards,
Created attachment 96185 [details, diff] kernel-2.eclass.diff
Thank-you for this. Can you please also look at unipatch-001.eclass and tell me if the problem still exists in the re-write? I hoped to address everything in there, and if so we can look at moving to it sooner.
Reading the code, it seems that it is OK. What is using the eclass so I can check it out?
(In reply to comment #3) > Reading the code, it seems that it is OK. > What is using the eclass so I can check it out?
Nothing uses that eclass at the moment. The plan is for the unipatch code to be dropped from kernel-2 and then kernel-2 would use unipatch. unipatch will then be usable by other projects too.
(In reply to comment #3) > Reading the code, it seems that it is OK. But this bug is still open with all the contributing developers retired. Is there still something that needs to happen here or is this RESOLVED FIXED?
Well, I did not had this need for a long time, so I guess this can be closed as I guess nobody did actually need it, not sure that fixed though... The intention to use unipatch was good...
Makes me wonder if > The plan is for the unipatch code to be dropped from kernel-2 and then kernel-2 would use unipatch. unipatch will then be usable by other projects too. is still a need. Since 2006 I believe there have been improvements to eutils.eclass and epatch so this might no longer be necessary. Closing this as NEEDINFO so that if someone still has the need can add more details at a later point in time (or file a duplicate).