Commit Graph

50 Commits

Author SHA1 Message Date
wanghuaz
2cf7521735 don't uninstall the packages from osimage with rmkit -f
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 03:09:07 +00:00
wanghuaz
5881cc4268 Fixed a potential problem with kitcomponent.prerequisite that in some cases prerequisite is not removed from KIT_RMPKGS.otherpkg.pkglist during addkitcomp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:54:04 +00:00
wanghuaz
fb6844fb64 Fixing bug 3409, added the handle for postscripts, missing in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 10:18:13 +00:00
wanghuaz
9d2b7e46b0 Fixing bug 3659: adjust the file order to work in some specific scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:47:11 +00:00
wanghuaz
7e808dc649 fixing several kit related bugs: 3657,3629,3409. the major change is now addkitcomp -a will add its dependency recursively, instead of two levels before. and in each level, it will check if the dependency fits to the osimage. So now user just need to add the highest level of product to osimage, addkitcomp -a will find it dependencies, check them and go to next level based on its kitcomponnent settings in the kit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 02:29:19 +00:00
wanghuaz
d329307578 Fixing bug 3636 for error msg outputing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 03:42:51 +00:00
wanghuaz
9ba0cd197e update addkit command according to revision 16568 for kit framework
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 09:29:38 +00:00
wanghuaz
12467ecd6c not export buildkit -n option by default.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 00:50:25 +00:00
wanghuaz
83db9da9b1 code checkin for ordering rpm installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 07:28:04 +00:00
wanghuaz
e78b7a27f6 Check if the deploy parameter is used by other kitcomponent that is not in the same kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:56:34 +00:00
asirxing
2d555c821a Merge lskit/lskitcomp/lskitdeployparam codes to xCAT trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:17:34 +00:00
wanghuaz
e01282f5eb Output erros if there is any failure during DB operation, in case DB operation didn't output any error on failures.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:51:58 +00:00
wanghuaz
85e66bdcfc Fixing bug 3410: don't remove kitrepo if there is other kitcomponent assigned to the osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 10:43:07 +00:00
wanghuaz
ef9db848fd added addkitcomp --noupgrade option to install multiple PE RTE PTFs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:35:50 +00:00
wanghuaz
04e63c307e Create otherpkgdir if it doesn't exist on management node or service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 20:59:34 +00:00
xq2005
6ae785af6e fix infinite provision problem after use kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 10:33:41 +00:00
mellor
bd812ab851 defect 3371 - fix osimage check for chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 21:18:26 +00:00
wanghuaz
1ff6be92c3 Fixing bug 3356: handle the input string from kit kit.conf/kitcomponent exlist/postbootscritps/.. files more strictly. 2. Fixing bug 3347 in kit migration, removing the original kitcommponents instead of the adding kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:49:33 +00:00
wanghuaz
f23d37e410 Fixing bug 3339: check if the kitomponent is existing before adidng it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:43:17 +00:00
wanghuaz
6166ceba50 Fixing a typo which makes the postinstall script always be overwritten by new kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 06:23:32 +00:00
wanghuaz
526e1fb67d Now kitcomponent and osimage could specify multiple serverroles, addkitcomp and chkkitcomp will match their every serverrole
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:00:25 +00:00
wanghuaz
3c8ad92ef8 Fixing a typo in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 02:35:10 +00:00
wanghuaz
b9c16c57c6 Added genimage_postinstall attribute in addkitcomp/rmkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:04:46 +00:00
wanghuaz
a56b04331e Fixing a bug while kit works with old osimages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 10:34:38 +00:00
xq2005
1de4c70cec defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:48 +00:00
wanghuaz
ef0d8c786a make kit work with old osimage which doesnt contains osdistro attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:17:15 +00:00
wanghuaz
9c9388f263 Add an enhancement of rmkit that prevent removing a kit if its isinternal attribute is set to 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:24:17 +00:00
wanghuaz
9fb1b27a0a Fixing a problem that postbootscript cannot be written if there are multiple kit components
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:34:38 +00:00
wanghuaz
0d3fb931a0 Fixing two problems: 1. introduced while intergrating with buildkit command that only one kitrepo and one kitcomponent in a kit can be added into xCAT. 2. If user renamed the kit tarball filename, addkit canot read kit.conf inside it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:17:48 +00:00
mellor
18dc0460ef addkit - add check for tarfile with missing product rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:17:30 +00:00
wanghuaz
caf8e249b6 Change desc to description according to latest Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 07:02:17 +00:00
wanghuaz
e63bfd6c46 Fixing bug 3160, matching the kit.conf that created by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 09:26:15 +00:00
wanghuaz
cc4a3092bf Added addkit --inspection flag to give the general kit info before adding kits to xcat. also fixing a bug with kit plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 04:31:08 +00:00
wanghuaz
df1896dca8 Removed prefixes of postbootscripts since it should be done by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 08:52:28 +00:00
wanghuaz
34df3dccb0 Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:34:16 +00:00
wanghuaz
308acd2839 Adding packagenames without directory to KIT_RMPKGS.otherpkgs.pkglist so otherpkg script could remove them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:14:44 +00:00
wanghuaz
1130f848bd Fixed a problem that if kitpkgdeps is not set in kit.conf, which is not correct, we still need to handle the KIT_RMPKGS.otherpkgs.pkglist with kitcomponent basenames anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 07:32:23 +00:00
wanghuaz
d66e957cb1 Fix a problem with os minor version while comparing with kitcomponent and osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 09:30:56 +00:00
wanghuaz
c58f6e361e removed the spaces in kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 07:42:42 +00:00
wanghuaz
bd7fd5672c Support multiple otherpkg and pkglist entries to work with Kit. alsofix a problem in kit.pm found during genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:24:37 +00:00
wanghuaz
6c4a409e29 Fixed a problem while adding kitrepodir from kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 07:39:44 +00:00
wanghuaz
61d079df0a better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 04:06:21 +00:00
wanghuaz
adf75d9f57 better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:50:38 +00:00
wanghuaz
4003dd69d8 Fixing a problem with lock and added addkitcomp -f option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 14:59:18 +00:00
wanghuaz
0a87db910b Handling postbootscripts in osimage and kitcomponent tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 04:07:56 +00:00
wanghuaz
fe2ee4fc0a Added more verbose in kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:58:28 +00:00
wanghuaz
0792e6eb78 code checkin for kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 12:58:22 +00:00
wanghuaz
06a30a2322 Code commit for kit support and several updates according to latest mini-design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 12:26:06 +00:00
wanghuaz
e7325b41b3 Added addkitcomp command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 17:03:42 +00:00
wanghuaz
acb2f2a11d Added addkit/rmkit support in kit.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-24 15:02:51 +00:00