ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<derzahl>
let me try to clarify
<derzahl>
so I forked your kernel and can easily pull in new changes that you make. thats where I am now
<derzahl>
is there a magic way for me to merge in patches like those and patches from other github repos and have them sync automatically?
<derzahl>
or with the push of a button
<derzahl>
i havent been able to find anything about github processing regular unix diff-type patches
<qzed>
you could always add them as additional remotes and try to merge them, or use git cherry-pick (if it's a kernel tree)... otherwise use git am (or alternatively git apply)
<qzed>
that could be more or less automated with some github actions I guess
<qzed>
but will fail of course if there are conflicts
<derzahl>
hmm ok. will all those commands understand what a .patch file is and apply it? rather thajust adding it to my repo as a file/
<qzed>
git am will apply a patch with its original commit message (if generated by git itself), git apply should work on all kinds of patches but you need to commit manually
<derzahl>
ok, thanks. ill give it a shot
<qzed>
so for the repo you linked you could do something like `git am ../path/to/repo/*.patch` and that should apply all the patches in that directory
<derzahl>
the if i want to pull in updates for thr patches themselves, is that simple to do?
<derzahl>
ok awesome
<qzed>
you probably want to apply the patches fresh each time they got updated, so something like: make a base branch without the patches then every time they get updated pull the patch repo and create new branch based on the base branch to which you apply those patches
<qzed>
otherwise patches may be already applied (that's usually fine with git am) or partially applied (that's where git am can ask you to manually resolve conflicts)
<qzed>
also: git am -3 often helps to resolve (some) conflicts (does a 3-way merge if it knows/can find the commit that the patches are based on)
<derzahl>
ah, so nothing 'magic' that will just sync everthing
<qzed>
not without some scripting, I guess
<derzahl>
ok cool. ill see what I can do
<derzahl>
thanks
<qzed>
while things are often quite stable, also expect some breakage from time to time
<qzed>
like for example if the patch repo has an outdated patch that has made it with some small (e.g. style) changes upstream
<qzed>
trying to apply that can fail and cause git to complain
<derzahl>
for sure. im already doing this in a PKGBUILD
<derzahl>
pretty solid
<qzed>
and at that point you'll have to manually resolve that
<qzed>
nice!
<derzahl>
that might be the best way to do it after all
<derzahl>
i just thought maybe there was some git magic i could use
<qzed>
probably xD
<derzahl>
i can post my PKG build for the c630 if anyones interested. I have the kernel patched with ZFS and compiled bultin for ZFS root booting, mg-lru, cacule, etc. building with clang works and now im just trying to get LTO to work
<derzahl>
also have a lot of unneeded stuff removed in my .config
derzahl has quit [Ping timeout: 480 seconds]
derzahl has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
derzahl has quit [Ping timeout: 480 seconds]
derzahl has joined #aarch64-laptops
<Dylanger>
I sold my iPad Pro a week ago because I'm using my Duet 5 much more now that I actually trust it, viva aarch64-laptops!
jhovold has joined #aarch64-laptops
Molly_ has joined #aarch64-laptops
Molly_ has quit [Remote host closed the connection]
SallyAhaj_ has joined #aarch64-laptops
SallyAhaj has quit [Ping timeout: 480 seconds]
maz has quit [Server closed connection]
maz has joined #aarch64-laptops
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #aarch64-laptops
SallyAhaj has joined #aarch64-laptops
SallyAhaj_ has quit [Ping timeout: 480 seconds]
agraf has quit [Server closed connection]
agraf has joined #aarch64-laptops
krzk has quit [Server closed connection]
krzk has joined #aarch64-laptops
ajhalaney[m] has quit [Server closed connection]
ajhalaney[m] has joined #aarch64-laptops
cmeerw[m] has quit [Server closed connection]
cmeerw[m] has joined #aarch64-laptops
SallyAhaj_ has joined #aarch64-laptops
SallyAhaj has quit [Ping timeout: 480 seconds]
SallyAhaj has joined #aarch64-laptops
SallyAhaj_ has quit [Ping timeout: 480 seconds]
SallyAhaj_ has joined #aarch64-laptops
SallyAhaj has quit [Ping timeout: 480 seconds]
jenneron[m] has quit [Server closed connection]
jenneron[m] has joined #aarch64-laptops
shawnguo has joined #aarch64-laptops
pg12 has quit [Quit: pg12]
SallyAhaj_ has quit [Remote host closed the connection]
SallyAhaj has joined #aarch64-laptops
<steev>
derzahl: fwiw, you could always just split out my patches, and start from stable's linux-5.XX.y (which is what i do)