You are not logged in.

#1 2012-09-13 06:48:08

wuxb
Member
Registered: 2012-09-13
Posts: 29

Bugs in PKGBUILD of linux-3.5.3-1?

building original linux-3.5.3-1 package from abs failed.

In PKGBUILD(_package function):
   ....
   mv "$pkgdir/lib" "$pkgdir/usr"

   # Now we call depmod...
   depmod -b "$pkgdir" -F System.map "$_kernver"
   ....

It seems to be a wrong path to modules. I modified it to:

   depmod -b "$pkgdir/usr" -F System.map "$_kernver"

then the compilation succeeded.

which version is correct?

Offline

#2 2012-09-13 07:21:11

opensrcrox
Member
Registered: 2012-08-10
Posts: 32

Re: Bugs in PKGBUILD of linux-3.5.3-1?

You have to make a slight modification to the kernel PKGBUILD due to a change in kmod 10-1 ( rootprefix was removed ).
In this case  mv "$pkgdir/lib" "$pkgdir/usr" is done AFTER the depmod line ... you can just copy/paste it, and you should be all set.

Leave everything else as-is smile

Offline

#3 2012-09-13 07:41:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Bugs in PKGBUILD of linux-3.5.3-1?

[arch-dev-public] had a notification about this, the fix is already applied to the PKGBUILD but probably not the abs one (yet).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2012-09-13 08:11:20

wuxb
Member
Registered: 2012-09-13
Posts: 29

Re: Bugs in PKGBUILD of linux-3.5.3-1?

Thanks to ngoonee and opensrcrox!

this commit diff can simplely solve the problem, as you suggested.

https://projects.archlinux.org/svntogit … 7ef2f&ss=1

Offline

Board footer

Powered by FluxBB