Whamcloud - gitweb
b=23185 use resolve_arch() in the test too
authorBrian J. Murrell <brian.murrell@oracle.com>
Sat, 26 Jun 2010 02:57:23 +0000 (22:57 -0400)
committerjohann <johann@granier.local>
Sun, 27 Jun 2010 05:44:27 +0000 (07:44 +0200)
Missed a usage need for resolve_arch() in the test for the file we
extracted, using resolve_arch().

build/lbuild-sles10

index 107af00..d278e06 100644 (file)
@@ -59,7 +59,7 @@ unpack_linux_devel_rpm-sles10() {
 
     # now just sanity check that everything needed to build properly versioned
     # modules is in place
-    if [ ! -f usr/src/linux-${lnxmaj}${lnxmin}-${lnxrel}-obj/$TARGET_ARCH/$RPMSMPTYPE/Module.symvers ]; then
+    if [ ! -f usr/src/linux-${lnxmaj}${lnxmin}-${lnxrel}-obj/$(resolve_arch $TARGET_ARCH)/$RPMSMPTYPE/Module.symvers ]; then
         fatal 1 "cannot build kernel modules: the Kernel's Module.symvers is missing."
     fi
     if [ ! -f boot/symsets-${lnxmaj}${lnxmin}-${lnxrel}-$RPMSMPTYPE.tar.gz ]; then