V
Size: a a a
V
M
`$ rpmbuild -bb --without kabichk --target=`uname -m
kernel.spec 2> build-err.log | tee build-out.log``V
`$ rpmbuild -bb --without kabichk --target=`uname -m
kernel.spec 2> build-err.log | tee build-out.log``M
V
M
V
2>&1 | tee build-full.log
M
V
V
M
V
M
M
# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfgСделал
0 : CentOS Linux (3.10.0-957.27.2.el7.acs_kernel.x86_64.debug) 7 (Core)
1 : CentOS Linux (3.10.0-957.27.2.el7.acs_kernel.x86_64) 7 (Core)
2 : CentOS Linux (3.10.0-957.27.2.el7.x86_64) 7 (Core)
3 : CentOS Linux (3.10.0-957.el7.x86_64) 7 (Core)
4 : CentOS Linux (0-rescue-ace3cce7f4a5477fabc3642f08598bec) 7 (Core)
# grub2-set-default 1Ребутнулся. Смотрю:
# grub2-mkconfig -o /etc/grub2.cfg
[root@mail ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-1127.19.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet intel_iommu=on pcie_acs_override=downstream
M
[root@mail ~]# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
0 : CentOS Linux (3.10.0-1160.2.2.el7.x86_64) 7 (Core)
1 : CentOS Linux (3.10.0-1127.19.1.el7.x86_64) 7 (Core)
2 : CentOS Linux (3.10.0-1127.el7.x86_64) 7 (Core)
3 : CentOS Linux (3.10.0-957.27.2.el7.acs_kernel.x86_64) 7 (Core)
4 : CentOS Linux (3.10.0-957.27.2.el7.acs_kernel.x86_64.debug) 7 (Core)
5 : CentOS Linux (0-rescue-5425afd7b98541f497bda34260ac0e47) 7 (Core)
V
V
M