Fix problems with new packaging of genesis

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-12-07 19:22:16 +00:00
parent 871b2cd25d
commit 2a0f568135
7 changed files with 12 additions and 7 deletions

View File

@ -147,8 +147,8 @@ function makegenesisscripts {
RPMNAME="$1"
ARCH="$2"
cd `dirname $0`/$DIR
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 .
cd `dirname $0`/
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 $DIR
cp LICENSE.html $RPMROOT/BUILD
cp $RPMNAME.spec $RPMROOT/SOURCES
cd - >/dev/null

View File

@ -3,7 +3,7 @@ echo $drivers
dracut_install wget openssl tar mstflint ipmitool cpio gzip lsmod ethtool modprobe touch echo cut wc
dracut_install netstat # broadcom update requires
dracut_install uniq # mellanox update requires
dracut_install grep ip hostname awk egrep grep dirname expr
dracut_install grep ip hostname /usr/bin/awk egrep grep dirname expr
dracut_install mount.nfs sshd vi reboot lspci parted screen mkfs mkfs.ext4 mkfs.btrfs
dracut_install efibootmgr
#dracut_install libvirtd /usr/share/libvirt/cpu_map.xml /usr/bin/qemu-img /usr/libexec/qemu-kvm

View File

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#!/bin/awk -f
BEGIN {
listener = "/inet/tcp/300/0/0"
quit = "no"

View File

@ -1,3 +1,8 @@
modprobe acpi_cpufreq
modprobe cpufreq_ondemand
for gov in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
echo -n ondemand > $gov
done
if [ ! -z "$BOOTIF" ]; then
BOOTIF=`echo $BOOTIF|sed -e s/01-// -e s/-/:/g`
echo -n "Waiting for device with address $BOOTIF to appear.."

View File

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#!/bin/awk -f
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
BEGIN {
port = 3001

View File

@ -1,4 +1,4 @@
#!/usr/bin/awk -f
#!/bin/awk -f
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
BEGIN {
xcatdport = ARGV[2]

View File

@ -30,7 +30,7 @@ License: EPL
Vendor: IBM Corp
Summary: xCAT Genesis netboot image - Core content
URL: http://xcat.org
Source1: xCAT-genesis-scripts-%{version}.tar.bz2
Source1: xCAT-genesis-scripts.tar.bz2
Requires: xCAT-genesis-base-%{tarch}
Buildroot: %{_localstatedir}/tmp/xCAT-genesis