705556a368
Fix spelling mistake on 'dependency'
2017-03-15 10:51:38 -04:00
aac736afcb
create /opt/xcat under rootimage dir incase it is not there
2016-11-10 01:07:59 -05:00
a40f73972a
use the relative path to enable xcatpostinit1.service;remove previous xcatpostinit1 sysvinit file and systemd service unit file
2016-11-08 22:54:26 -05:00
3036c8547b
Merge pull request #2109 from immarvin/onxcatservice
...
correct the typo in commit 6f735b0e8d
2016-11-08 10:23:17 -05:00
b7aae30d08
correct the typo in commit 6f735b0e8d
2016-11-08 23:07:56 +08:00
1b51602577
Merge pull request #2055 from immarvin/onxcatservice
...
fix issue linux orderly shutdown not noticed by xcat. #1939
2016-11-07 17:03:06 +08:00
6f735b0e8d
fix issue linux orderly shutdown not noticed by xcat. #1939;replace xcatpostinit1 sysvinit service with xcatpostinit1.service systemd service unit as the hook to run PS&PBS and report status for redhat;report node status on system <reboot/shutdown> command
2016-11-07 13:54:47 +08:00
1ebdb5d96c
add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory
2016-11-03 03:32:12 -04:00
0c84550441
Ensure the requested kernel version and associated packages are installed ( #2018 )
...
If a specific version of the kernel was requested, make sure any other
kernel-related packages requested in a package list get the same version.
Note, packages that get pulled in due to dependencies are NOT checked.
Also avoid updating the kernel packages when the requested version has already
been installed.
2016-10-25 14:21:06 +08:00
a6c910467e
Refine hack_uname() in mlnxofed_ib_install.v2
2016-10-18 23:15:19 -04:00
7450348c94
Merge pull request #1953 from mattaezell/hackuname_update
...
Update the hackuname function
2016-10-17 16:55:25 +08:00
7dd63f1aee
Don't need to update otherpkgdir to default dir for genimage command ( #1954 )
2016-10-13 13:07:01 +08:00
e71c03d560
Fix escaping in hackuname
2016-10-12 10:11:33 -04:00
407aac96f9
Update the hackuname function
...
There are currently 2 different ways that uname is being faked;
combine both use cases. Use the kernelver provided by the user
instead of attempting to detect it
2016-10-11 13:47:41 -04:00
d46d34f8b8
Merge pull request #1724 from mattaezell/xdie_rootimgdir
...
Protect umount_chroot from running with rootimage_dir undefined
2016-09-28 14:24:24 +08:00
b6d14179ca
add IMG_NAME into the environment variables to postinstall scripts
2016-09-23 14:32:54 +08:00
66c99aad31
fix issue netboot postscripts have no knowledge about the osimage it is installing. #1857 ; export osimage attributes to postinstall scripts as environment variables
2016-09-22 05:05:00 -04:00
c0194840e7
fix issue Enable Kdump can not work on diskless image for rh7.3 snapshot1 #1805;add support for kdump on rh7.x
2016-09-12 01:32:34 -04:00
2a0529876a
fix issue enimage deleted /dev/* on the management node... #1767
2016-08-25 21:56:05 -04:00
7225f2e586
Protect umount_chroot from running with rootimage_dir undefined
2016-08-17 11:00:18 -04:00
d4a397adce
support tar for redhat6.8
2016-08-15 02:40:23 -04:00
5699b025dd
fix issue [FVT]on rhels6.8, rootimg.tar.gz is only 20 bytes after run packimage -m tar rhels6.8-ppc64-netboot-compute ; fix issue #1689 [FVT]:diskless provision broken using rootimg.tar.gz created by packimage -m tar osimage #1688
2016-08-13 00:30:56 -04:00
79426ad21e
add new option to indicate compress method ( #1669 )
2016-08-11 03:09:43 -05:00
c5121bce0f
Added support for remote repos in pkgdir ( #1614 )
...
This allows for remote repositories to be used for image creation.
2016-08-04 11:08:04 +08:00
5cd203cdf5
enhance packimage -m txc ( #1602 )
2016-08-02 16:45:31 +08:00
fb911143fe
perltidy all perl files, part 2
2016-07-21 13:27:40 -04:00
5d46d48f6a
Fix issue of packimage -m txc ( #1554 )
...
* redefine the code to make distint
* fix issue of packimage -m txc
2016-07-20 07:06:33 -05:00
797a64131b
add syslog module to realize the log forward
2016-07-19 22:43:42 -04:00
05c90d4c47
fix issue [Customer]initrd stuck in loop and fails to get rootimg.gz for stateless image. #921 @github;use /install/postscripts/updateflag.awk as the script to report status in diskless and diskful provision
2016-07-02 22:06:41 -04:00
9f82cdb28d
fix issue#1122@github;create /dev under chroot env based on /dev on host;use lazy mount for sysfs and procfs to make sure they are umounted no matter whether busy
2016-05-17 10:41:48 -04:00
80bee1d916
fix a typo in rh/genimage
2016-04-21 02:41:12 -04:00
0488542cb2
refine the coding style;add comments
2016-04-18 03:00:25 -04:00
7876697e30
add xz to rh6 netboot pkglist;do not mount /proc,/sys and /dev during genimage for rh6;do not add syslog module for dracut to generate initrd on rh6
2016-04-14 10:39:35 -04:00
9713d69ed3
mount /dev /sys and /proc from host readonly during genimage for redhat;correct a typo in ubuntu genimage
2016-03-25 22:15:44 -04:00
cb29ea2c09
fix issue 314: CUDA 7.5 support for rh7.2 diskless
2015-10-28 07:10:43 -04:00
4114a4f6a9
fix some codeing style problems
2015-08-28 03:29:09 -04:00
5e03ebc498
use pigz to improve the performance of genimage/packimage
2015-08-28 00:09:05 -04:00
6abb50e103
fix 4764,support centos7 and rhelhpc7 stateless
2015-08-09 22:39:03 -04:00
8ed5bcad80
adadon the patch for dracut base module; add a patched initqueue function in syslog-genrules.sh,which can process and --online and --onetime options
2015-08-04 04:38:06 -04:00
2751d49247
modify genimage according to the change of the path of syslog dracut module
2015-08-03 04:44:44 -04:00
275089f2d6
enable syslog in the stateless initrd, add logs in the xcat dracut module for redhat
2015-08-02 04:17:30 -04:00
f957b0e3dd
roll back fix for ticket 4764
2015-07-28 13:56:29 +08:00
149d6d09cb
fix 4764,support centos7 and rhelhpc7 stateless
2015-07-28 13:37:03 +08:00
c1eeb2f1ed
Fix bug#4551 - [FVT] Command genimage print out information of succeed even if dracut was failed
2015-03-09 14:51:40 +08:00
b59f72bd8e
changes to support --noupdate flag on genimage
2014-11-06 16:58:19 -05:00
573fc1790f
Mellanox renamed their driver in later kernels. If new name detected, substitute it
2014-09-02 10:37:23 -04:00
c778b849e9
replace ifconfig with ip
2014-06-14 08:52:44 -07:00
d5e6982054
defect 4152: fix a typo which was introduced when support rh7 that using -N for dracut command
2014-06-04 07:38:21 -04:00
3df16cd4e3
for rh7, the initrd for stateless has to been built first to make the installkernel cfg file added first
2014-05-15 03:54:58 -04:00
40d4c75b29
code change for rh7 stateless support
2014-05-08 10:14:54 -04:00