mxi1
2ef5d53f9c
for defect 3017528, seperate the "xcatdsklspost" from gettyset,
...
and also put xcatdsklpost to xcatpostinit, which works for both redhat and sles
thanks, Andrew(st-an-v)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 09:57:05 +00:00
mxi1
ce0393fcb3
remove one unused variable - rwfiles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 03:22:24 +00:00
mxi1
950f31d806
imgutils::get_package_names() is used now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 09:36:36 +00:00
mxi1
17731a33ec
for defect 3012545,
...
"netboot/imgutils/imgutils.pm" is created to hold all the functions used in different "genimage" commands;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 06:19:30 +00:00
mxi1
d7e3671d38
remove mountfile() from genimage code, according to defect 3017542
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:29:49 +00:00
mxi1
d80587803c
remove the un-used code from genimage, according to the defect 3019537
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:18:22 +00:00
mxi1
f8fab79782
for defect 3017573, change "-z" to "! -e".
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 02:59:31 +00:00
phamt
610d9e5e91
Update genimage code to support s390x
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 00:09:21 +00:00
mxi1
8bcb731086
defect 3006554 is fixed; if one home-made kernel is specified with "-k" option,
...
the user can put the kenrel file(for example, its name should head with "vmlinux" or "vmlinuz" or "image") into /boot/ directory,
put the related kernel modules to /lib/modules/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 07:50:50 +00:00
mxi1
9fb095dd43
make sure gettyset will always be in the .depend.start file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-24 07:23:05 +00:00
mxi1
c891a99e34
defect 2994621 is fixed;
...
some LSB tags are added to gettyset,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 07:42:58 +00:00
mxi1
9ed6596820
-defect 2990306 is fixed;
...
if two or more kernel packages are installed into $rootimg_dir/boot/,
the value of "<$rootimg_dir/boot/vmlinux-*>" will be one array, not a file,
which can lead to one error for the copy() subroutine in File::Copy.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 09:36:22 +00:00
mxi1
27982a9e39
-defect 2987052 is fixed;
...
before the copy command, make sure the required kernel file is there,
if there's no one, returen one error message;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 10:48:27 +00:00
linggao
0be60e14a1
big fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 18:31:46 +00:00
mxi1
fa4c045506
-defect 2984257 is fixed;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 03:18:56 +00:00
mxi1
68904a9cea
Add one line "STARMODE=auto" in the ifcfg-$nic file, which can configure the routes following the "routes" file on SUSE.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 06:45:36 +00:00
mxi1
0e32272c61
-defect 2980919 is fixed;
...
the "ifcfg-$nic" file will be there for SLES, right now.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 05:54:54 +00:00
daniceexi
dbcb8cce6c
Preserve vmlinuz in root image on genimage; add dep drivers automatically
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-02 12:05:33 +00:00
mxi1
22b16df736
-bug 2945115 is fixed; the checkpoint of kernel version is pushed back
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-02 07:11:44 +00:00
mxi1
170c215815
-defect 2972473 is fixed; add limited cross-platform support for genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 09:17:51 +00:00
mellor
1b819b4b1f
fixes to genimage for NEW_INSTALL_LIST processing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 00:51:21 +00:00
mxi1
d4f537e501
=bug 2975712 is fixed; genimage cannot get the package in the .pkglist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 08:47:35 +00:00
mellor
7e68619239
SLES genimage support for NEW_INSTALL_LIST stanza in pkglist files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-22 16:14:06 +00:00
linggao
a2b053d8bd
added support for #INCLUDE tag in pkglist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 21:12:56 +00:00
mellor
279f7ae8d4
add zypper refresh cmds to genimage to update cache when running genimage against an existing image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 17:25:45 +00:00
mellor
ec968920b8
add zypper/yum update cmds to genimage to update all sw when running genimage against an existing image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:46:07 +00:00
linggao
f0b3ff688e
fixed problem that mounts on /proc in genimage for SLES.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 18:53:20 +00:00
mxi1
89f854ab47
update the help message for genimage, --permission is added
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 10:18:04 +00:00
mxi1
6596d095b1
little change for the last commit of genimage on sles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 08:00:51 +00:00
mxi1
54e38a38a4
--permission is added for statelite mode, you can set the permission of /.statelite now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 06:54:52 +00:00
linggao
cba42170fe
more statelite work for SLES
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 02:24:48 +00:00
mxi1
a8427de69b
==statelite mode is supported for SLES11==
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-26 12:10:16 +00:00
mxi1
d25e5519b4
-fix the bug: the in-correct <resolv.conf> file is always produced for the diskless sles11 system. dhcpcd has done most of the works for us
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 13:15:24 +00:00
mxi1
cfcd04f736
-bug 2869570 is fixed for sles 10 sp3 support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 11:39:37 +00:00
linggao
1350e523e0
genimage changes to allow removing packges from otherpkgs.pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 20:21:11 +00:00
linggao
0cc7ee9f5f
osimage phase2: genimage and packimage honor osimage table settings
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
jbjohnso
63fd2d2e97
-Fix conditional in previous checkin to be valid bourne shell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 16:00:57 +00:00
jbjohnso
5e9f971347
-Try a different approach to avoid exceeding inittab legal lengths
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:49:18 +00:00
jbjohnso
d458cab430
-Make 'xco' items more specific to cope with multpile console= statements on command line
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:13:46 +00:00
mxi1
e583de8efc
-defetc 2837465 is fixed; /dev/urandom and /dev/random are created
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-17 06:40:04 +00:00
mxi1
db25b8cac4
the defect 2836707 is fixed; one checkpoint is added to check whether the /proc fs is mounted in the rootimg
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 08:36:38 +00:00
linggao
cc82c70b5b
added INCLUDE and subdir support for otherpkg.pkglist for genimage for SLES
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-02 20:24:27 +00:00
daniceexi
3b427eebef
roll back to the last version to remove the sync image implementation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 09:08:14 +00:00
daniceexi
a9e38189f3
Code drop for the Syncing file feature to support that sync file to the root image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 08:32:47 +00:00
linggao
2ce463ab83
added logic so that user can specify what files to keep in a excluded dir in *.exlist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-19 18:56:27 +00:00
linggao
a6a3fef0af
added umount to remove the mount on rootimg/proc in genimage and packimage, made two calls to zypper instead of one call so that os gets installed first before other packages.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 19:12:33 +00:00
linggao
692a785328
postinstall template can now be put under /install/custom/netboot/..
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 14:13:56 +00:00
mxi1
21cb6eb931
-update diskless SLES11 environment, move ppc64 away and make the .pkglist, and .postinstall files adaptive for all <arch>s
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 07:37:35 +00:00
mxi1
2237ec6a76
-add service node support for SLES11;\nservice.repolist is used to store the repos
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 16:55:13 +00:00
mxi1
461824949a
update compute.sles11.ppc64.postinstall
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 13:43:11 +00:00