[SOLVED] [linux-armv7] ignored files prevent git apply

Problems with packages? Post here, using [tags] of the package name.

[SOLVED] [linux-armv7] ignored files prevent git apply

Postby mazze1200 » Tue Sep 22, 2015 7:10 pm

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
Last edited by mazze1200 on Tue Sep 22, 2015 7:28 pm, edited 2 times in total.
mazze1200
 
Posts: 2
Joined: Tue Sep 22, 2015 6:58 pm

Re: [linux-armv7] ignored files prevent git apply

Postby WarheadsSE » Tue Sep 22, 2015 7:18 pm

don't build inside the checkout, and you should be okay. Checkout, copy the dir, makechrootpkg
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [linux-armv7] ignored files prevent git apply

Postby mazze1200 » Tue Sep 22, 2015 7:26 pm

D'oh

That is something I've missed in the tutorials obviously.

Thanks a lot!
mazze1200
 
Posts: 2
Joined: Tue Sep 22, 2015 6:58 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 4 guests