From 1fcf4acb13ace29b6b76892635aff212877fe6f3 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 30 Jun 2009 17:17:24 +0000 Subject: [PATCH] Add synclists to osimage definition. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- mkAIXdeps | 2 +- mkAIXsnap | 6 +++--- perl-xCAT/xCAT/Schema.pm | 7 ++++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mkAIXdeps b/mkAIXdeps index 075318a23..90e0a77af 100755 --- a/mkAIXdeps +++ b/mkAIXdeps @@ -138,7 +138,7 @@ cp README $RPMDIR/web-dep.README cp *.rpm $RPMDIR/ ls *.rpm > $RPMDIR/flist3 cd $RPMDIR -cp /opt/freeware/src/package/RPMS/ppc/php-5.2.6-0.aix5.3.ppc.rpm $RPMDIR/ +cp /opt/freeware/src/packages/RPMS/ppc/php-5.2.6-0.aix5.3.ppc.rpm $RPMDIR/ echo "rpm -Uvh php-5.2.6-0.aix5.3.ppc.rpm" >> $RPMDIR/instwebdep echo "php-5.2.6-0.aix5.3.ppc.rpm" > $RPMDIR/flist3 diff --git a/mkAIXsnap b/mkAIXsnap index 74ca91170..4f59f89d5 100755 --- a/mkAIXsnap +++ b/mkAIXsnap @@ -76,9 +76,9 @@ echo "rpm -Uvh xCAT-$VER-*rpm" >> $RPMDIR/instxcat mv /opt/freeware/src/packages/RPMS/ppc/xCAT-rmc-$VER-*rpm $RPMDIR/ echo "rpm -Uvh xCAT-rmc-$VER-*rpm" >> $RPMDIR/instxcat -./makeuirpm -mv /opt/freeware/src/packages/RPMS/noarch/xCAT-UI-$VER-*rpm $RPMDIR/ -#echo "rpm -Uvh xCAT-UI-$VER-*rpm" >> $RPMDIR/instxcat +./makewebrpm +mv /opt/freeware/src/packages/RPMS/noarch/xCAT-web-$VER-*rpm $RPMDIR/ +#echo "rpm -Uvh xCAT-web-$VER-*rpm" >> $RPMDIR/instxcat # # create the tar.gz file to upload diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 9d30e7227..3487796d9 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -394,7 +394,7 @@ notification => { }, }, osimage => { - cols => [qw(imagename imagetype osname osvers osdistro osarch comments disable)], + cols => [qw(imagename imagetype osname osvers osdistro osarch synclists comments disable)], keys => [qw(imagename)], table_desc => 'Basic information about an operating system image that can be used to deploy cluster nodes.', descriptions => { @@ -404,6 +404,7 @@ osimage => { osvers => 'Not used.', osdistro => 'Not used.', osarch => 'Not used.', + synclists => ' A comma-separated list of fully qualified file names each containing a list of files to synchronize on the nodes.', comments => 'Any user-written notes.', disable => "Set to 'yes' or '1' to comment out this row.", }, @@ -1319,6 +1320,10 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs); tabentry => 'nimimage.script', access_tabentry => 'nimimage.imagename=attr:imagename', }, + {attr_name => 'synclists', + tabentry => 'osimage.synclists', + access_tabentry => 'osimage.imagename=attr:imagename', + }, {attr_name => 'fb_script', tabentry => 'nimimage.fb_script', access_tabentry => 'nimimage.imagename=attr:imagename',