test-patches: Recognise the rt featureset automatically
Also update the example featureset and flavour names. svn path=/dists/sid/linux/; revision=19074
This commit is contained in:
parent
3ee4eff851
commit
c7e1baf199
|
@ -8,7 +8,7 @@ arch="$(dpkg --print-architecture)"
|
|||
kernelabi="$(uname -r)"
|
||||
ff="${kernelabi#+([^-])-@(trunk|+([0-9]))-}"
|
||||
if [ "x$ff" != "x$kernelabi" ]; then
|
||||
flavour="${ff#@(openvz|vserver|xen)-}"
|
||||
flavour="${ff#@(openvz|rt|vserver|xen)-}"
|
||||
if [ "x$flavour" != "x$ff" ]; then
|
||||
featureset="${ff%-$flavour}"
|
||||
else
|
||||
|
@ -33,9 +33,9 @@ if [ $# -lt 1 ]; then
|
|||
echo >&2 "Usage: $0 [<options>] <patch>..."
|
||||
cat >&2 <<EOF
|
||||
Options:
|
||||
-f <flavour> specify the 'flavour' of kernel to build, e.g. 686
|
||||
-f <flavour> specify the 'flavour' of kernel to build, e.g. 686-pae
|
||||
-j <jobs> specify number of compiler jobs to run in parallel
|
||||
-s <featureset> specify an optional featureset to apply, e.g. xen
|
||||
-s <featureset> specify an optional featureset to apply, e.g. rt
|
||||
EOF
|
||||
exit 2
|
||||
fi
|
||||
|
|
|
@ -15,6 +15,7 @@ linux (3.2.19-2) UNRELEASED; urgency=low
|
|||
* README.source: Update description of patch system to match current usage
|
||||
* linux-patch-debian: Remove; it is no longer necessary for GPL compliance
|
||||
and does not work with our current patch management
|
||||
* test-patches: Recognise the rt featureset automatically
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Sat, 02 Jun 2012 20:31:53 +0100
|
||||
|
||||
|
|
Loading…
Reference in New Issue