use packages/linux/linux-ezx-2.6.21/update_patches.sh for openmoko kernels
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Currently openmoko kernel pull patches from svn and manually apply them with quilt. We've seen numerous breakages in the past with this method, so I would like to suggest using something like update_patches.sh to pull a patchset from svn, add them to OE and automagically write out a SRC_URI.
This would have the following benefits:
1) patches don't suddenly change
2) less breakage due to typos in commits upstream
3) less work than continuously checking if recipe and svn patchset match
4) less surprises when using a global SRCDATE
And since it's a script, it's not more work than the status quo.
what do you think?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGqLNUMkyGM64RGpERAlC6AJ0btokth/4QsBlCEjMr1NEhN/p7KACfTUrj o81SXUP+yWRuBVDO0HmADhI=
=+Yu8
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Koen Kooi schreef:
Quoted 9 lines
Hi,
Currently openmoko kernel pull patches from svn and manually apply them with quilt. We've seen numerous breakages in the past with this method, so I would like to suggest using something like
update_patches.shto pull a patchset from svn, add them to OE and automagically write out aSRC_URI.This would have the following benefits:
Quoted 8 lines
1) patches don't suddenly change
2) less breakage due to typos in commits upstream
3) less work than continuously checking if recipe and svn patchset match
4) less surprises when using a global SRCDATEAnd since it's a script, it's not more work than the status quo.
what do you think?
I have seen no objections, so I will convert the kernels tomorrow to include the patches in OE instead of pulling from svn.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGts1RMkyGM64RGpERArErAJ0ViQPHmj+1Nt9zSRLwU8WSkpOIuQCgi6TY 7MzCMo+k+XJ4DjZEIsmv4W8=
=FwIE
-----END PGP SIGNATURE-----
Quoted 15 lines · Koen Kooi
Koen Kooi schreef:
Quoted 14 lines
Hi,
Currently openmoko kernel pull patches from svn and manually apply them with quilt. We've seen numerous breakages in the past with this method, so I would like to suggest using something like
update_patches.shto pull a patchset from svn, add them to OE and automagically write out aSRC_URI.This would have the following benefits:
1) patches don't suddenly change
2) less breakage due to typos in commits upstream
3) less work than continuously checking if recipe and svn patchset match
4) less surprises when using a global SRCDATE
Quoted 6 lines
Quoted 3 lines
And since it's a script, it's not more work than the status quo.
what do you think?
I have seen no objections, so I will convert the kernels tomorrow to include the patches in OE instead of pulling from svn.
I'm very much against this. It adds unnecessary stuff into the SCM. Patches in our SVM should only be added if there's no way to get them into upstream.
Please don't do it but use the SRCDATE (or rather SVNREV) instead.
Regards,
:M:
Signature · 1 line
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
Quoted 11 lines · Dr. Michael Lauer
Quoted 10 lines · Koen Kooi
Koen Kooi schreef:
Quoted 9 lines
Hi,
Currently openmoko kernel pull patches from svn and manually apply them with quilt. We've seen numerous breakages in the past with this method, so I would like to suggest using something like
update_patches.shto pull a patchset from svn, add them to OE and automagically write out aSRC_URI.This would have the following benefits:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
1) patches don't suddenly change
2) less breakage due to typos in commits upstream
3) less work than continuously checking if recipe and svn patchset match
4) less surprises when using a global SRCDATEAnd since it's a script, it's not more work than the status quo.
what do you think?
I think the idea is ok for stability reasons however in my past experience such approach added this extra step of syncing the patches and it easily got stale and did not work very well.
So I would still suggest to have the existing approach if its not too much a blocker in development.
My 2 cents
-Khem