From e43867b487e40985c189fd4c5433695f2382a9ad Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 5 Dec 2012 11:13:52 +0000 Subject: [PATCH] build xcat-genesis on ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/install.ubuntu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-nbroot2/install.ubuntu b/xCAT-nbroot2/install.ubuntu index 061e16b95..ecd9fc7af 100755 --- a/xCAT-nbroot2/install.ubuntu +++ b/xCAT-nbroot2/install.ubuntu @@ -12,7 +12,7 @@ dracut_install mkswap df brctl vconfig ifenslave ssh-keygen scp clear dhclient l dracut_install lldptool dracut_install poweroff ntpq ntpd hwclock date /usr/share/terminfo/x/xterms /etc/nsswitch.conf /etc/services dracut_install /usr/sbin/rsyslogd /etc/protocols umount /usr/bin/dpkg /usr/bin/rpm /usr/lib/rpm/rpmrc -if [ -n $version12 ];then +if [ $version12 ];then dracut_install /lib/x86_64-linux-gnu/libnss_dns-2.15.so /lib/x86_64-linux-gnu/libnss_dns.so.2 dracut_install /lib/x86_64-linux-gnu/libdl.so.2 /lib32/libm.so.6 dracut_install dmidecode /usr/lib/x86_64-linux-gnu/libstdc++.so.6 @@ -623,7 +623,7 @@ inst "$moddir/99-imm.rules" "/etc/udev/rules.d/99-imm.rules" inst "$moddir/98-mlx.rules" "/etc/udev/rules.d/98-mlx.rules" inst "$moddir/setupimmnic" "/sbin/setupimmnic" inst "$moddir/loadmlxeth" "/sbin/loadmlxeth" -if [ -n $version12 ];then +if [ $version12 ];then dracut_install rpcbind else dracut_install portmap @@ -654,7 +654,7 @@ dracut_install /usr/lib/rsyslog/imtcp.so dracut_install /usr/lib/rsyslog/lmnet.so #dracut_install /usr/lib/rsyslog/lmstrmsrv.so dracut_install /usr/lib/rsyslog/imuxsock.so -if [ -n $version12 ];then +if [ $version12 ];then dracut_install /lib/libnfsidmap/nsswitch.so else dracut_install /usr/lib64/libnfsidmap/nsswitch.so