Commit Graph

47 Commits

Author SHA1 Message Date
linggao 7ebafe4ade minor fix in ospkgs 2015-01-22 16:03:42 -05:00
linggao a887fadd83 Supports multiple SDK cd's for sles in ospkgs and otherpkgs 2015-01-22 15:32:18 -05:00
chudegao 44482e2510 fix 4520,stateless hit grub for ubuntu 2015-01-19 14:28:17 +08:00
Leo.C.Wu 0b2ca38509 1. fix error message when removing a package in ubuntu, 2. fix error message when update packages, 3. fix apt source not correct in ospkgs 2015-01-09 11:26:09 +08:00
Casandra Qiu cb267ebd9e bug#4488 Failed to run ospkgs for SLES12 2014-12-19 16:32:15 -05:00
Casandra Qiu 6d27741713 #4482 Otherpkgs postscripts didn't support SLES12 2014-12-18 10:45:33 -05:00
Casandra Qiu 28d2110a5e fix bug#4366 change /bin/sh to /bin/bash 2014-11-19 09:42:19 -05:00
lissav efbc5003b9 fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 17:38:29 +00:00
lissav ee1ec2e91f fix defect 3137
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 17:25:39 +00:00
daniceexi 5acfd5a014 To make the mount of /install check to be accurate.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 03:14:03 +00:00
lissav e95b7084b9 fix defect 3642
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 14:56:43 +00:00
jjhua 19a7849178 fixed one minor issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 07:11:24 +00:00
jjhua c3e9663bf0 remove the xcat-otherpkgs*repo from ospkgs script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 06:30:18 +00:00
jjhua a2247f0170 fixed bug 3506, at the beginning of the ospkgs/otherpkgs, only remove the repos which are created by xCAT.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-17 07:05:21 +00:00
jjhua f4acade014 only remove the repositories which were created by xCAT for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 05:36:05 +00:00
jjhua e2e7c0b35c remove the repositoris whose prefix is -path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 01:38:17 +00:00
jjhua c4e7fe9f02 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:28 +00:00
immarvin 95c6c2bc8a fix defect #3182, add return value for package update in "updatenode -S"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 09:14:19 +00:00
jjhua 7b794954a5 fixed the issue which couldn't generate the correct mirror path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:20:19 +00:00
jjhua 49060211d9 fixed bug 3272, and reorganize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 09:08:40 +00:00
jjhua 47e0989069 when add ospkgs to postscripts, it should update the pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-26 08:57:24 +00:00
jjhua 289d0d36c8 use rpm/dpkg --version , instead of which
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 08:11:20 +00:00
ligc 1f5cbc95ab fix for bug 3234: syntax error in otherpkgs, and move the logger commands, ospkgs, fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 05:01:06 +00:00
jjhua 2aa0bc13dd fixed bug 3223, create more yum repo for rhels6/rhels5 x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 08:32:03 +00:00
immarvin 43556aca1e add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 02:33:54 +00:00
jjhua 8d91ef04d5 fixed bug 3143.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:06:04 +00:00
daniceexi 23a2c6c60f defect 3564667: fix the path for SL6 which will use the common path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 01:48:33 +00:00
jjhua 8d6902753a use , instead of : as the delimiter in the value of the osimage.pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:52:27 +00:00
jjhua 9c1636bbe6 support ospkgs with multiple package paths of pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 08:23:38 +00:00
jjhua 4ac9f2e224 this code change is for the changes in Postage -- put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly. To support ospkgs enhancements to install/upgrade OS packages from Updates, it still needs some code changes in ospkgs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:55:45 +00:00
immarvin 59ac01b4fb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:33:46 +00:00
linggao 3c38e7c850 doc added for sprcifying --keeprepo for ospkgs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:17:31 +00:00
linggao 1fbb70b78b added --keeprepo flag for ospkgs posctscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:35:13 +00:00
linggao 77d99a07e2 fix defect in ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 19:26:55 +00:00
ligc fdc6485616 support updatenode ospkgs for SLES SDK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 09:29:17 +00:00
ligc 3db2c1817b fix for bug 3466334: if the /install is mounted from MN, the ospkgdir and otherpkgdir should be different
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-30 08:57:37 +00:00
ligc 112f5aeebd ftp dependency removal initial code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-10 14:26:08 +00:00
ellen56 e504131e8c Add ENV support for xcat otherpkgs.pkglist/pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-10 07:46:18 +00:00
ericagar ad7ed2714f Safer numberic test, accounting for variable not defined.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 00:52:33 +00:00
gdbeatles 11abff9b71 ospkgs postscript support for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 13:42:37 +00:00
lissav 662eb61d2e add SL support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-25 12:28:14 +00:00
xq2005 276b28372d /install is hard coded
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-04 02:41:15 +00:00
mxi1 6eead7224e update the repository path for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-12 10:18:24 +00:00
linggao b00735762e ospkgs supports groups for RH, CentOS, Fedora etc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-04 12:43:28 +00:00
linggao 25507960cd support patterns for updating sles os packages in updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 20:20:51 +00:00
linggao 3e371cad5d minor fix on ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 18:59:22 +00:00
linggao b1d09c5786 updatenode supproting upgrading os packages on Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 18:27:29 +00:00