Commit Graph

58 Commits

Author SHA1 Message Date
wanghuaz
309b357920 Checkin the partial-teal kit source files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 10:31:16 +00:00
jjhua
edd1ecd3d7 remove the repeated infor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:14:25 +00:00
jjhua
3b071e27a0 Added code for xCAT chef intergration on RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 06:20:46 +00:00
xq2005
4de74e13fb buildkit support on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 08:44:05 +00:00
linggao
8a53557d7d bug fix for puppet kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:40:49 +00:00
mellor
0cb19bfa2b defect 3385 again - need separate subs for both real kitname and modified kitname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:49:43 +00:00
mellor
d72811fe49 update kit template with various changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 17:56:19 +00:00
mellor
96c92e083a defect 3406 createrepo for RH5 and 3407 correctly handle blank osminorversion value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 17:39:03 +00:00
mellor
b0740da8c4 buildkit man page update for addpkg and other changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 13:36:46 +00:00
mellor
486d2c3027 defect 3385 fix string subs in plugins and finish defect 3366 kit version and release subs in addpkgs support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 21:27:18 +00:00
linggao
5ae42f335c Added code for xCAT puppet integration on RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 19:54:27 +00:00
mellor
15ad3d4144 rewrote buildkit buildtar and addpkgs for kit verrel substitution support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 02:30:49 +00:00
mellor
b6260d6a70 new kits for PE RTE 1.3.0.2 and GPFS 3.5.0.9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 17:59:46 +00:00
xq2005
0226f26fc6 buildkit support external non_native_pkgs on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:22:28 +00:00
wanghuaz
0ded16368b Only ppe_rte_license 1.3.0.0 can be used with PTF1.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 07:38:48 +00:00
wanghuaz
91fbf65bbf Sync xcat-buildkit files from trunk to 2.8 branch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 15:18:12 +00:00
xq2005
036bab9e21 sync from trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:11:12 +00:00
xq2005
ed1fa52e8a sync from trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:05:08 +00:00
xq2005
7137646f44 sync from trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:04:00 +00:00
xq2005
10e6ad65a4 sync from trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:02:07 +00:00
wanghuaz
30d43bd380 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 16:02:45 +00:00
wanghuaz
5d124952e2 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 15:52:59 +00:00
mellor
24f864f17f buildkit - add support for kittarfilename attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 21:46:01 +00:00
mellor
b1173a0b28 defect 3359 buildkit addpkg prints wrong filename in error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 21:42:24 +00:00
mellor
4ee58f5941 defect 3334 - add kitlicense support to buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 13:42:45 +00:00
wanghuaz
8205915a66 Update kit examples to disable checksum and restart on system x.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:47:03 +00:00
wanghuaz
bb9d1f8cf1 Use shorter serverrole names from now on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:25:33 +00:00
mellor
09696bead2 updated list of kitcomponent serverroles in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:55:20 +00:00
mellor
8fc0cd9202 defect 3297: buildkit buildrepo on sles needs Group in spec file; also, fixed xCAT-buildkit spec file to install correctly on both SLES and RH (rpmbuild command is in different pkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 15:35:43 +00:00
wanghuaz
c0f35a2de4 Updated ppe kit template for other teams's reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:10:42 +00:00
wanghuaz
78cf402b58 A small followup to last week's check in for external non_native_pkgs support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:05:22 +00:00
wanghuaz
48b64fc79a Did two things: 1. renmae the rpm spec and source directory to kitcomponent, which is more readable. 2. clean up the tmp and rpmbuild directory in the final kit directry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 12:04:35 +00:00
wanghuaz
2cb196c6bf Fixing two problems: one is buildkit fails on SLES. we need to create several tmp directories before issuing rpmbuild command for rpmbuild command on SLES. second problem is a typo while creating the source packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:59:49 +00:00
wanghuaz
445211b036 Enhanced non_native_package support. previously non_native_package don't support external packages, so it doesn't work with incomplete kit build. Now user could specify a hardcode 'EXTERNALPKGS:' in non_native_package attribute. for example, in buildkit.conf, you can write like non_native_pkgs=EXTENRALPKGS:gpfs_base-xxxxxxx.update.ppc64.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 17:09:31 +00:00
wanghuaz
2a12e49888 Support wildcards in package names in buildkit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:34:26 +00:00
wanghuaz
5c077303c7 Fixing a problem in buildkit to allow multiple genimage_postinstall scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:36:29 +00:00
wanghuaz
df090f8a4a For kit component external packages, the external packages names are always changed, for example, there might be different versions. in buildkit.conf, external packages should be set with certain names, and buildkit command should not require certain package names. they could work with basename only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:06:15 +00:00
wanghuaz
ed0087a969 Fixing two problems: 1. create tmp rpm spec file to different kit repo and kit component basename. Previously the tmp spec file is named with kitcomponent basename. if there are two kitcomponents in two kitrepo with same basename, the tmp rpm spec file will be overwrite. 2. the kitpkgdeps version information should be removed while writing to kit conf and later writing to xCAT DB, since kitpkgdeps is only used while they are being removed, we dont need the version info. So we don't need to keep the version info which make the kitcomponent table quite big and not easy to read.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 08:07:06 +00:00
mellor
c0fd4b06ad add buildkit support for non-native pkgs, genimage_postinstall, remove Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 22:28:39 +00:00
wanghuaz
06df5f5696 Moved kit build source files to buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:46:43 +00:00
wanghuaz
fbcdaec090 add createrepo as a dependency of buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:23:14 +00:00
wanghuaz
7a187a3418 Create symlinks if a package belongs to multiple kitrepo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:04:35 +00:00
wanghuaz
bb01a14476 Change the postbootscript permission while copying them to deploy dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:36:22 +00:00
wanghuaz
91ccada5d3 Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:57:59 +00:00
wanghuaz
2d5991f5ee Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:51:54 +00:00
wanghuaz
3991bcc3e1 Fixing a problem that: for partial kit, buildkit will fail if there is no any product rpms at all and so no deploy dir created, and so kit_config file cannot be created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 08:05:58 +00:00
mellor
bba164615f allow same kitcomponent basenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 21:26:39 +00:00
mellor
febfd554ef defect 3198 - fix typo in buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:47:14 +00:00
mellor
2d46ee327a buildkit addpkgs - rewrite kit.conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:14:48 +00:00
mellor
3ae78546d7 buildkit - add external pkg support, add buildrepo all
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 20:48:32 +00:00