Hello everybody,
I'm facing the problem that makepkg does not apply patches in the src directory correctly.
To reproduce I did the following:
$this->bbcode_second_pass_code('', 'git pull https://github.com/archlinuxarm/PKGBUILDs # clean pull')
$this->bbcode_second_pass_code('', 'cd PKGBUILDs/core/linux-armv7')
$this->bbcode_second_pass_code('', 'makepkg -so')
Test if the file src/linux-4.2/firmware/am335x-pm-firmware.elf exists (on my system the file does not). This file should have been created by file patch-4.2-armv7-x2.diff.gz
After some testing I found out that the file seems to be tracked by the git repository and git patch does not alter tracked files $this->bbcode_second_pass_code('', 'git check-ignore src/linux-4.2/firmware/am335x-pm-firmware.elf')
Can somebody verify this behaviour or tell me what I was doing wrong?
Regards,
Mathias