msys2 / msys2-autobuild

🏭🏭🏭🏭🏭🏭🏭🏭
https://packages.msys2.org/queue
MIT License
35 stars 25 forks source link

arm64: disable texinfo hooks as a workaround #63

Closed lazka closed 1 year ago

lazka commented 1 year ago

see #62

@jeremyd2019 could this potentially work/improve things?

jeremyd2019 commented 1 year ago

I didn't know about the ability to so easily override hooks like this. I was contemplating doing what I would have done with dpkg, dpkg-diverting /usr/bin/install-info.exe and replacing it with true.exe, but I was concerned that would break the pacman -Qkq check.

I could add this hack to my setup script instead, like the DatabaseNever one, since it is just a setup-specific hack...

jeremyd2019 commented 1 year ago

I've manually created empty /etc/pacman.d/hooks/texinfo-{install,remove}.hook on the runner to test this

lazka commented 1 year ago

I didn't know about the ability to so easily override hooks like this. I was contemplating doing what I would have done with dpkg, dpkg-diverting /usr/bin/install-info.exe and replacing it with true.exe, but I was concerned that would break the pacman -Qkq check.

Qkq doesn't check checksums, only that they exist, but Qkkq does (and we fixed the checksum generation some months ago, so this fails for all older packages). So that's still possible.

Either way, closing this then, and thanks for trying it on the runner.