Bug#600299: Openvz kernels appear to log unitialised memory to the console with log_buf_len=XX
Package: linux-2.6
Version: 2.6.32-23
Severity: normal
Hmm, forgot to regen the patch - sorry about that :-(
Index: debian/bin/test-patches
===================================================================
--- debian/bin/test-patches (revision 16455)
+++ debian/bin/test-patches (working copy)
@@ -19,12 +19,15 @@
featureset=none
fi
-eval "set -- $(getopt -n "$0" -- "f:j:s:" "$@")"
+restrictfeature=
+
+eval "set -- $(getopt -n "$0" -- "f:j:s:r:" "$@")"
while true; do
case "$1" in
-f) flavour="$2"; shift 2 ;;
-j) export DEBIAN_KERNEL_JOBS="$2"; shift 2 ;;
-s) featureset="$2"; shift 2 ;;
+ -r) restrictfeature=" featureset=$2"; shift 2 ;;
--) shift 1; break ;;
esac
done
@@ -36,6 +39,8 @@
-f <flavour> specify the 'flavour' of kernel to build, e.g. 686
-j <jobs> specify number of compiler jobs to run in parallel
-s <featureset> specify an optional featureset to apply, e.g. xen
+ -r <featureset> specify that the patch should only apply to a given
+ featureset
EOF
exit 2
fi
@@ -56,6 +61,10 @@
fi
debversion="${version##*-}"
+if [ "$restrictfeature" != "" ]; then
+ debversion="${debversion}-extra"
+fi
+
# Copy all patches into a new directory
rm -rf debian/patches/test/
mkdir debian/patches/test
@@ -64,7 +73,7 @@
# Generate patch series for the new version
>debian/patches/series/"$debversion"
for patch in "$@"; do
- echo "+ test/$(basename "$patch")" >>debian/patches/series/"$debversion"
+ echo "+ test/$(basename "$patch")${restrictfeature}" >>debian/patches/series/"$debversion"
done
# Regenerate control and included rules
Reply to: