Further tweak the genesis repackaging

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-12-07 15:59:50 +00:00
parent dde7db8565
commit c0ad20c3cf
3 changed files with 8 additions and 3 deletions

View File

@ -15,7 +15,7 @@ dracut_install chmod /lib/libc.so.6 /lib/ld-linux.so.2 /lib/libdl.so.2 /lib/libm
dracut_install dmidecode /usr/lib64/libstdc++.so.6 #uxspi prereqs, but will use dmidecode to improve decision on loading ipmi_si
dracut_install dmidecode /usr/lib64/libstdc++.so.5 #broadcom firmware update links against old lib
dracut_install /lib/libpthread.so.0 #32 bit lib because UXSPI will not ship a native 64 bit build
dracut_install /lib/libncurses.so.5.7 /usr/lib/libstdc++.so.6.0.13 /lib/libgcc_s-4.4.6-20110824.so.1 /lib/libtinfo.so.5.7
dracut_install /lib/libncurses.so.5.7 /usr/lib/libstdc++.so.6.0.13 /lib/libgcc_s.so.1 /lib/libtinfo.so.5.7
dracut_install /lib64/libldap-2.4.so.2 /lib64/liblber-2.4.so.2 /usr/lib64/libsasl2.so.2 #uxspi has incurred these...
dracut_install /usr/share/zoneinfo/posix/Zulu
dracut_install /usr/share/zoneinfo/posix/GMT-0

View File

@ -18,6 +18,7 @@ Epoch: 1
AutoReq: false
Prefix: /opt/xcat
AutoProv: false
Obsoletes: xCAT-genesis-%{tarch}

View File

@ -29,7 +29,8 @@ License: EPL
Vendor: IBM Corp
Summary: xCAT Genesis netboot image - Core content
URL: http://xcat.org
Source1: xCAT-genesis-scripts-%{tarch}.tar.bz2
Source1: xCAT-genesis-scripts-%{version}.tar.bz2
Requires: xCAT-genesis-base-%{tarch}
Buildroot: %{_localstatedir}/tmp/xCAT-genesis
Packager: IBM Corp.
@ -47,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
tar jxf %{SOURCE1}
mkdir -p opt/xcat/share/xcat/netboot/genesis/x86_64/
mv xCAT-genesis-scripts opt/xcat/share/xcat/netboot/genesis/x86_64/fs
rm opt/xcat/share/xcat/netboot/genesis/x86_64/fs/*.spec
cd -
@ -60,4 +64,4 @@ fi
%Files
%defattr(-,root,root)
/
/opt/xcat/share/xcat/netboot/genesis/x86_64/fs