]> xenbits.xensource.com Git - people/aperard/centos-package-xen.git/commitdiff
add xen-kernel to /etc/sysconfig/ for grub kernel autoinstall
authorJohnny Hughes <johnny@centos.org>
Thu, 9 Oct 2014 23:13:23 +0000 (18:13 -0500)
committerJohnny Hughes <johnny@centos.org>
Thu, 9 Oct 2014 23:13:23 +0000 (18:13 -0500)
SOURCES/xen-kernel [new file with mode: 0644]
SPECS/xen.spec

diff --git a/SOURCES/xen-kernel b/SOURCES/xen-kernel
new file mode 100644 (file)
index 0000000..5b6d899
--- /dev/null
@@ -0,0 +1,2 @@
+BOOT_XEN_AS_DEFAULT="yes"
+XEN_KERNEL_MBARGS="--mbargs=dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all"
index 5ebd21eae8ab80a2f43e4233ad19da0ef0085aa5..9e6b2dd5d39c7606935f9fac8392ce87a9128b15 100644 (file)
@@ -19,7 +19,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 4.2.5
-Release: 35%{?dist}
+Release: 36%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -55,6 +55,7 @@ Source48: libexec.xendomains
 Source49: tmpfiles.d.xen.conf
 
 Source101: blktap-9960138790b9d3610b12acd153bba20235efa4f5.tar.gz
+Source102: xen-kernel
 
 Patch1: xen-initscript.patch
 Patch4: xen-dumpdir.patch
@@ -412,6 +413,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
 install -m 644 %{SOURCE30} %{buildroot}%{_sysconfdir}/sysconfig/xenstored
 install -m 644 %{SOURCE31} %{buildroot}%{_sysconfdir}/sysconfig/xenconsoled
 install -m 644 %{SOURCE32} %{buildroot}%{_sysconfdir}/sysconfig/blktapctrl
+install -m 644 %{SOURCE102} %{buildroot}%{_sysconfdir}/sysconfig/xen-kernel
 
 # systemd
 %if %with_systemd
@@ -578,6 +580,8 @@ rm -rf %{buildroot}
 %config(noreplace) %{_sysconfdir}/%{name}/xend-*
 # xm config
 %config(noreplace) %{_sysconfdir}/%{name}/xm-*
+# xen-kernel config
+%config(noreplace) %{_sysconfdir}/xen-kernel
 # Guest autostart links
 %dir %attr(0700,root,root) %{_sysconfdir}/%{name}/auto
 # Autostart of guests
@@ -812,6 +816,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Thu Oct 9 2014 Johnny Hughes <johnny@centos.org> -  4.2.5-36.el6.centos
+- added /etc/sysconfig/xen-kernel for auto grub install options
+
 * Wed Oct 8 2014 George Dunlap <george.dunlap@eu.citrix.com> - 4.2.5-35.el6.centos
  - Remove %{ix86} and ia64 build targets to build with the community build system