Commit Graph

58 Commits

Author SHA1 Message Date
84c818fbc6 check return from find_latest_pkg 2013-10-18 07:53:38 -04:00
0b7a707179 check return from find_latest_pkg 2013-10-18 07:51:50 -04:00
d155c8c68a add build_input subdir to complete kit 2013-10-16 15:02:11 -04:00
020a114452 change kit framework to 2 2013-10-13 10:33:57 -04:00
37d616d5fb pkgdir support 2013-10-02 14:22:02 -04:00
b117fb3dbc pkgdir support 2013-10-02 11:50:35 -04:00
fb71204859 support multi pakage dirs 2013-10-02 11:29:07 -04:00
6e14118bcd sync back up 2.8.3 and 2.9 2013-09-25 08:13:00 -04:00
3d31d5f112 defect 3800 2013-09-25 08:07:16 -04:00
2b453aea6f Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-23 11:02:12 +08:00
2433281aa5 Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo 2013-09-23 10:36:59 +08:00
7ad12aba70 #3674 - add error return code 2013-09-05 12:32:38 -04:00
91d27eb358 #3752 - change tmp work dir location 2013-09-05 10:56:49 -04:00
39501e0b6c Fixing bug 3643: remove createrepo from buildkit spec and add error check while using it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:07:25 +00:00
89ba8006f4 fixing bug 3608: give error msg while kitrepo is not valid for 'buildkit cleanrepo <kitrepo>' command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-21 01:19:09 +00:00
1dfe0cb135 make cleantar remove ALL tar files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-13 14:35:36 +00:00
dcde28a213 allow kit location and kit name to be different
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-11 14:50:38 +00:00
dabe1aafca Fixing bug 3610: not add prerequisite to full kit if there is no 'prerequisite' in kit.conf of partial kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 04:58:26 +00:00
9585feebb8 add kitloc, create_frameworks, and misc updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 13:08:28 +00:00
0479d3682c not export buildkit -n option by default.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 00:47:28 +00:00
b662046e19 code checkin for ordering rpm installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 07:29:31 +00:00
607a2cc927 add support for workdir and new spec attrs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 19:23:10 +00:00
c50fe660e0 defect 3546 add kit framework info to kit.conf files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 18:42:47 +00:00
ce5ec17fcd Make sample kit plugin modules end with 1; and fix buildkit to rename kit plugin files correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 22:27:54 +00:00
00cd0a4e67 defect 3482 - fix find wildcarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 15:16:53 +00:00
283d9711e5 add arch and other attrs to full kitname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 19:38:57 +00:00
1bb3f61a84 defect 3474 - fix parsing of rpm names for kitpkgdeps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 13:08:39 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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