From 4359748a26465031963433b0e493b49a31d34d62 Mon Sep 17 00:00:00 2001 From: datajerk Date: Wed, 7 May 2008 20:09:23 +0000 Subject: [PATCH] More DNS resolution updates, this time for PPC. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/netboot/rh/genimage | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-server-2.0/share/xcat/netboot/rh/genimage b/xCAT-server-2.0/share/xcat/netboot/rh/genimage index a10f6d96f..1898ebe83 100755 --- a/xCAT-server-2.0/share/xcat/netboot/rh/genimage +++ b/xCAT-server-2.0/share/xcat/netboot/rh/genimage @@ -298,10 +298,16 @@ EOMS push @filestoadd,[$_,"lib/$_"]; } } - foreach ("bin/cpio","sbin/nash","sbin/busybox.anaconda","sbin/rmmod","sbin/mount.nfs","lib64/libnss_dns.so.2") { + foreach ("bin/cpio","sbin/nash","sbin/busybox.anaconda","sbin/rmmod","sbin/mount.nfs") { getlibs($_); push @filestoadd,$_; } + if ($arch =~ /x86_64/) { + push @filestoadd,"lib64/libnss_dns.so.2"; + } + else { + push @filestoadd,"lib/libnss_dns.so.2"; + } push @filestoadd,keys %libhash; find(\&isnetdriver, <$installroot/netboot/$osver/$arch/$profile/rootimg/lib/modules/*>); foreach (@filestoadd) {