Whamcloud - gitweb
b=23185 use resolve_arch() in the test too
authorBrian J. Murrell <brian.murrell@oracle.com>
Fri, 13 Aug 2010 15:03:09 +0000 (19:03 +0400)
committerMikhail Pershin <tappro@sun.com>
Tue, 17 Aug 2010 05:49:37 +0000 (09:49 +0400)
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
 
     # 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
         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