You are not logged in.
Pages: 1
[ "${CARCH}" = "i686" ] && KARCH=i386
[ "${CARCH}" = "x86_64" ] && KARCH=x86_64
Just doesn't work. That's why KARCH is empty and there is no vmlinuz26 in pkg in the end. I can rewrite PKGBUILD or solve this issue another way but i'm interested where ${CARCH} is setted?
PS
Tried to google but it finds Connecticut Association of Residential Care Homes etc. )))
PPS
i used to build my kernel without ABS but it was some problems with nvidia drivers (there were wrong paths for modules directory).. and now i decided to use ABS to avoid any other problems
Offline
try using is equal to instead of trying to assign it
[ "${CARCH}" == "i686" ] && KARCH="i386"
Offline
I belive there is no "==" operator in bash :-) It's not a syntax problem. ${CARCH} is empty ;-)
Offline
I belive there is no "==" operator in bash :-) It's not a syntax problem. ${CARCH} is empty ;-)
both work but your syntax is correct
CARCH should be set in /etc/makepkg.conf which is sourced by /usr/bin/makepkg, check the conf file isn't messed up at all
Offline
Thanks a lot. Completely forgot about makepkg.conf %-) I was sure that it should be set somewhere like in profile.d etc. So it was setted to "pentium4" :-D
Offline
So it was setted to "pentium4"
that'll work for now but when makepkg is made port-friendly your CARCH will need to be set to one of the "supported" archs otherwise makepkg may not build your packages. this is the way it is in frugalware and while the arch devs like to do things themselves, it would be silly to rewrite such basic code to support multiple archs
Offline
Pages: 1