Markus Hilger
3fca2a3031
Fix dracut warnings during genimage on newer OSs
2024-02-12 16:42:03 +01:00
Mark Gurevich
a886e8c480
Enable go-xcat to insall xCAT on Alma Linux
2023-01-19 13:11:41 -05:00
Markus Hilger
be8297e4c9
Fix warnings of newer dracut versions
...
dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.
dracut commit: dfe2247a43
2022-05-18 11:54:57 +02:00
Kurt H Maier
0caaa750dd
rh/genimage: update systemd list to include Rocky Linux
2022-03-25 10:48:40 -07:00
Wai Yee Wong
fa7ed9f8a0
Disable internet repos to avoid unexpected and silent upgrades
2022-01-06 22:46:11 -05:00
Vinícius Ferrão
f82b6f48af
Support for Oracle Linux 7 and Oracle Linux 8
2021-03-11 17:34:17 -03:00
Mark Gurevich
2111baba47
Verify if kernel-modules-extra exists before adding
2020-08-17 16:12:56 -04:00
cxhong
3097702dc9
Add kernel-modules-extra to dracut module list
2020-08-13 17:42:56 -04:00
Mark Gurevich
39e4e982bf
Replace misspelled gpgpcheck with gpgcheck
2020-07-15 09:26:58 -04:00
cxhong
ee62a970b4
Modify pkglist to clean up genimage warning messages
2019-11-12 16:31:49 -05:00
yangsbj
9b41890a2e
support https:// prefix in otherpkgdir and pkgdir; ignore invalid repos
2019-04-18 01:01:44 -04:00
GONG Jie
428483035f
Only pass "--compress" argument to dracut when ($dracutver > "033")
2019-04-16 14:42:23 +08:00
GONG Jie
700f50cf98
Add --releasever argument to yum command for RHEL 8
...
Add --setopt=module_platform_id=platform:el8 for RHEL 8
2019-03-12 12:28:51 +08:00
yangsong
64d070b36d
fix issue genimage failure might cause /proc umounted #5640 ( #5648 )
2018-09-20 17:04:52 +08:00
Gᴏɴɢ Jie
092c045d9a
Provide RHEL7->RHEL8 diskless support ( #5567 )
...
* Package lists and post-install scripts for RHEL8 diskless support
* RHEL8 kernel finding hack
* Subdirectory dracut_047 for RHEL8 support
* Use /bin/bash for all the scripts
* Use "set -x" for debugging
* Tweak dracut.conf
* Remove dracut-install
2018-08-30 10:29:15 +08:00
GONG Jie
b3cf12385d
Remove trailing spaces in file xCAT-server/share/xcat/netboot/rh/genimage
2017-12-31 23:59:59 +00:00
yangsong
ebc04e4cbc
support args in postinstallscripts ( #5462 )
...
* support args in postinstallscripts
* add the script to inject systemd service unit
2018-08-17 11:23:56 +08:00
yangsong
c49e41da99
support environment variables in osimage customized files ( #5281 )
...
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage
* support variables in synclists
* support environment variables in genimage,mkinstall,getpostscript
* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
yangsong
3217230d19
fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 ( #5011 )
...
* move use_devurandom before package instllation:fix issue #4959
2018-03-26 17:35:19 +08:00
yangsong
3d5cd23d0d
fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 ( #4967 )
2018-03-19 16:28:05 +08:00
immarvin
e261973c05
Support http repos for otherpkgs #4042
2017-11-13 00:47:50 -05:00
Jarrod Johnson
705556a368
Fix spelling mistake on 'dependency'
2017-03-15 10:51:38 -04:00
immarvin
aac736afcb
create /opt/xcat under rootimage dir incase it is not there
2016-11-10 01:07:59 -05:00
immarvin
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
cxhong
3036c8547b
Merge pull request #2109 from immarvin/onxcatservice
...
correct the typo in commit 6f735b0e8d
2016-11-08 10:23:17 -05:00
immarvin
b7aae30d08
correct the typo in commit 6f735b0e8d
2016-11-08 23:07:56 +08:00
Xiaopeng Wang
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
immarvin
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
immarvin
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
Matt Ezell
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
hu-weihua
a6c910467e
Refine hack_uname() in mlnxofed_ib_install.v2
2016-10-18 23:15:19 -04:00
Weihua Hu
7450348c94
Merge pull request #1953 from mattaezell/hackuname_update
...
Update the hackuname function
2016-10-17 16:55:25 +08:00
cxhong
7dd63f1aee
Don't need to update otherpkgdir to default dir for genimage command ( #1954 )
2016-10-13 13:07:01 +08:00
Matt Ezell
e71c03d560
Fix escaping in hackuname
2016-10-12 10:11:33 -04:00
Matt Ezell
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
Weihua Hu
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
immarvin
b6d14179ca
add IMG_NAME into the environment variables to postinstall scripts
2016-09-23 14:32:54 +08:00
immarvin
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
immarvin
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
immarvin
2a0529876a
fix issue enimage deleted /dev/* on the management node... #1767
2016-08-25 21:56:05 -04:00
Matt Ezell
7225f2e586
Protect umount_chroot from running with rootimage_dir undefined
2016-08-17 11:00:18 -04:00
penguhyang
d4a397adce
support tar for redhat6.8
2016-08-15 02:40:23 -04:00
immarvin
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
penguhyang
79426ad21e
add new option to indicate compress method ( #1669 )
2016-08-11 03:09:43 -05:00
Jesse Hanley
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
penguhyang
5cd203cdf5
enhance packimage -m txc ( #1602 )
2016-08-02 16:45:31 +08:00
Mark Gurevich
fb911143fe
perltidy all perl files, part 2
2016-07-21 13:27:40 -04:00
penguhyang
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
penguhyang
797a64131b
add syslog module to realize the log forward
2016-07-19 22:43:42 -04:00
immarvin
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