From ef9bdadda3c52c234b6d786bcebc9ed0ff515a0d Mon Sep 17 00:00:00 2001 From: xq2005 Date: Tue, 23 Oct 2012 10:41:55 +0000 Subject: [PATCH] fix the error when building xcat-genesis-amd64 on ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/install.ubuntu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-nbroot2/install.ubuntu b/xCAT-nbroot2/install.ubuntu index 5aa5ae1e4..061e16b95 100755 --- a/xCAT-nbroot2/install.ubuntu +++ b/xCAT-nbroot2/install.ubuntu @@ -9,10 +9,11 @@ dracut_install mount.nfs sshd vi reboot lspci parted screen mkfs mkfs.ext4 mkfs. dracut_install efibootmgr #dracut_install libvirtd /usr/share/libvirt/cpu_map.xml /usr/bin/qemu-img /usr/libexec/qemu-kvm dracut_install mkswap df brctl vconfig ifenslave ssh-keygen scp clear dhclient lldpad -dracut_install lldptool /lib64/libnss_dns-2.12.1.so /lib64/libnss_dns.so.2 +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 + 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 dracut_install dmidecode /usr/lib/x86_64-linux-gnu/libstdc++.so.5 @@ -20,6 +21,7 @@ if [ -n $version12 ];then dracut_install /usr/lib/x86_64-linux-gnu/libldap-2.4.so.2 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 /usr/lib/x86_64-linux-gnu/libsasl2.so.2 dracut_install /lib32/libc.so.6 else + dracut_install /lib64/libnss_dns-2.12.1.so /lib64/libnss_dns.so.2 dracut_install /lib/libdl.so.2 /lib/libm.so.6 dracut_install dmidecode /usr/lib64/libstdc++.so.6 dracut_install dmidecode /usr/lib64/libstdc++.so.5