You are not logged in.
Pages: 1
Hi,
I just tried to compile a custom kernel, but it always ends with the error "/home/dm/abs/linux/PKGBUILD: line 152: depmod: command not found".
But I have depmod in /sbin/depmod.
Is it a bug in the script?
Thanks in advance.
Last edited by Debug Mode (2013-05-02 19:52:11)
Offline
depmod shouldn't be run in the pkgbuild, but in the install script.
You should be using the Official PKGBUILD as a template: https://projects.archlinux.org/svntogit … ages/linux
Offline
depmod shouldn't be run in the pkgbuild, but in the install script.
You should be using the Official PKGBUILD as a template: https://projects.archlinux.org/svntogit … ages/linux
Thanks, I'll look into it.
Assuming that the ABS version I've used (/core/linux/) is the same one used for the official package, does that mean that there's a workaround?
Offline
That should be exactly the same as the ABS version. Looking at it, it does call depmod on line 152, I missed that at first glance. hmm...
Offline
It looks like I found the problem.
For some reason I cannot access apps sitting in /sbin/ directly by writing their name anymore.
I searched a bit around, but couldn't find anything.
Any ideas?
Offline
A PATH issue?
Offline
I just "set PATH /bin:/usr/bin:/sbin:/usr/sbin" and screwed it completely up.
Now I have to put in everything manual. >_<
What did I do wrong?
______________________________________________________________________
I reverted it back to "set PATH /bin:/usr/bin" and got it half working again.
Last edited by Debug Mode (2013-05-02 19:51:52)
Offline
Pages: 1