I don't know how to write a patch. I've done basic programming in C and C++ before, and I've muggled my way around building this, but I'd need some help writing a patch. The main change was in the post I linked. The other change I can list here. I only changed 3 files: rtl8366s.c rtl8366rb.c and mach-wzr-hp-g300nh.c, where I changed line 273 from
Statik wrote:I'm not sure why but git diff does not return anything when run in the working directory. I'm really out of my element here.
Statik
An example...
I stand in the main Gargoyle directory and have made some changes to ./full-build.sh. I want to make a patch file that is going to be placed created as ~/gargoyle/built.diff
To do that, will I run this:
It was through git.
I'm thinking that the files I modified came from backfire. I'm going to look into svn for the original backfire files and compare them. If the same files are there, I'll diff the two directories.
Statik wrote:It was through git.
I'm thinking that the files I modified came from backfire. I'm going to look into svn for the original backfire files and compare them. If the same files are there, I'll diff the two directories.
ah, yes ,you are right. I did not think of the fact that you made the change in OpenWRT.
Go the the main OpenWRT directory in Downloaded and run the following
Then you should get a patch file with all your changes in OpenWRT. replace 30338 with the revision number that you are using - look in line 20 of full-build.sh
The file does not contain the changes I made so I'm assuming that they are patched in 30655 in the same way I have changed them. So, to verify, I svn checked out backfire, and the version I got is not changed.
I'm not having much luck producing the patch files. I can tell you where the files are in the tree and I already uploaded the modified files. Perhaps that can help you?