How to apply -mm patch?
I've looked everywhere but can't find any instruction on how to apply the -mm patches. I've tried "patch -p0 < 2.6.4-mm" and this seems to run without error, but the resulting source won't build. Can someone give me a quick example of how to apply the 2.6.4-mm patch to linux-2.6.4?
In answering this message, please CC me.
Thanks,
Rick Knight
([email protected])
Quoted 2 lines · Richard W. Knight
Can someone give me
a quick example of how to apply the 2.6.4-mm patch to linux-2.6.4?
Assuming your vanilla kernel is on /usr/src/linux, then:
# cd /usr/src/linux # bzcat /path/to/mm-patch.bz2 | patch -p1
Regards,
Norberto
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 16 lines · Julien Didron
Hello,
Instructions can be found in the Readme file included in the sources basically you should cd
/usr/src/linux-2.6.4
then cat ../2.6.4-mm | patch -p1 (2.6.4-mm being uncompressed in/usr/src, of course)
I had an issue with that patch, you should also patch theMakefile
in/usr/src/linux-2.6.4with this
line 990 to 995 should be replaced with that chunk (without
including the numbers) : 990 $(cmd_$(1)); \991 scripts/basic/fixdep $(depfile) $@ '$(subst \ 992 $$,$$$$,$(subst ','\ 993 '',$(cmd_$(1))))' > $(@D)/.$(@F).tmp; \ 994 rm -f $(depfile); \ 995 mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd)
Quoted 21 lines
cheers
Julien
Quoted 15 lines · Richard W. Knight
I've looked everywhere but can't find any instruction on how to apply the -mm patches. I've tried "patch -p0 < 2.6.4-mm" and this seems to run without error, but the resulting source won't build. Can someone give me a quick example of how to apply the 2.6.4-mm patch to linux-2.6.4?
In answering this message, please CC me.
Thanks,
Rick Knight
([email protected])-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Thanks Julien and Norberto,
That worked.
Rick Knight
([email protected])