[arch-commits] Commit in linux/trunk (PKGBUILD config.x86_64 criu-no-expert.patch)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Fri Aug 9 11:03:30 UTC 2013
Date: Friday, August 9, 2013 @ 13:03:30
Author: tpowa
Revision: 192265
fix CHECKPOINT_RESTORE
Added:
linux/trunk/criu-no-expert.patch
Modified:
linux/trunk/PKGBUILD
linux/trunk/config.x86_64
----------------------+
PKGBUILD | 26 +++++++++++++++++++-------
config.x86_64 | 2 +-
criu-no-expert.patch | 22 ++++++++++++++++++++++
3 files changed, 42 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-09 10:21:46 UTC (rev 192264)
+++ PKGBUILD 2013-08-09 11:03:30 UTC (rev 192265)
@@ -18,13 +18,8 @@
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
'linux.preset'
- 'change-default-console-loglevel.patch')
-md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
- '6366a8d4b0429ab6836c296ba298fb0e'
- '09aad29932fe0d1aa765b314800db9a8'
- '4360abfcf235aec738a313cca0421932'
- 'eb14dcfd80c00852ef81ded6e826826a'
- 'f3def2cefdcbb954c21d8505d23cc83c')
+ 'change-default-console-loglevel.patch'
+ 'criu-no-expert.patch')
_kernelname=${pkgbase#linux}
@@ -48,6 +43,10 @@
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
+ # allow criu without expert option set
+ # patch from fedora
+ patch -Np1 -i "${srcdir}/criu-no-expert.patch"
+
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
@@ -328,3 +327,16 @@
done
# vim:set ts=8 sts=2 sw=2 et:
+md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
+ '6366a8d4b0429ab6836c296ba298fb0e'
+ '09aad29932fe0d1aa765b314800db9a8'
+ '1e3e8aaf0dd56131ccfcee05695b0109'
+ 'eb14dcfd80c00852ef81ded6e826826a'
+ 'f3def2cefdcbb954c21d8505d23cc83c')
+md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
+ '6366a8d4b0429ab6836c296ba298fb0e'
+ '09aad29932fe0d1aa765b314800db9a8'
+ '5ffd739d5b3e7c68bf07472aaceca400'
+ 'eb14dcfd80c00852ef81ded6e826826a'
+ 'f3def2cefdcbb954c21d8505d23cc83c'
+ 'd50c1ac47394e9aec637002ef3392bd1')
Modified: config.x86_64
===================================================================
--- config.x86_64 2013-08-09 10:21:46 UTC (rev 192264)
+++ config.x86_64 2013-08-09 11:03:30 UTC (rev 192265)
@@ -164,7 +164,7 @@
CONFIG_RT_GROUP_SCHED=y
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
-# CONFIG_CHECKPOINT_RESTORE is not set
+CONFIG_CHECKPOINT_RESTORE=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
Added: criu-no-expert.patch
===================================================================
--- criu-no-expert.patch (rev 0)
+++ criu-no-expert.patch 2013-08-09 11:03:30 UTC (rev 192265)
@@ -0,0 +1,22 @@
+diff --git a/init/Kconfig b/init/Kconfig
+index be8b7f5..7461760 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -989,7 +989,7 @@ config DEBUG_BLK_CGROUP
+ endif # CGROUPS
+
+ config CHECKPOINT_RESTORE
+- bool "Checkpoint/restore support" if EXPERT
++ bool "Checkpoint/restore support"
+ default n
+ help
+ Enables additional kernel features in a sake of checkpoint/restore.
+@@ -1000,7 +1000,7 @@ config CHECKPOINT_RESTORE
+ If unsure, say N here.
+
+ menuconfig NAMESPACES
+- bool "Namespaces support" if EXPERT
++ bool "Namespaces support"
+ default !EXPERT
+ help
+ Provides the way to make tasks work with different objects using
More information about the arch-commits
mailing list