[rt] Replace check-series with convert-series, which JFDI

There is no point in generating a diff when we can just do the
conversion and let the VCS show the diff afterwards.

Also, don't strip comments and blanks; there's no harm in copying
them into series-rt.

svn path=/dists/sid/linux/; revision=19283
This commit is contained in:
Ben Hutchings 2012-07-22 22:25:20 +00:00
parent bfb6be40df
commit 84d89090ef
2 changed files with 5 additions and 13 deletions

View File

@ -1,13 +0,0 @@
#! /bin/sh
debian_series=debian/patches/series-rt
rt_series="$(mktemp)"
trap 'rm "$rt_series"' INT QUIT EXIT
# Remove comments and empty lines. Reformat to match series format.
sed -r -e 's/ *#.*//; /^$/d; s,.*,features/all/rt/&,' "debian/patches/features/all/rt/series" > "$rt_series"
# removed lines are OK if the rt patch contains fixes that are applied on
# featureset=none kernels, too.
diff -u --label "debian/patches/features/all/rt/series" "$rt_series" "$debian_series"

View File

@ -0,0 +1,5 @@
#!/bin/sh
# Add directory prefix to all filenames, but leave comments and
# empty lines unchanged.
sed -r -e 's,^[^# \t],features/all/rt/&,' "debian/patches/features/all/rt/series" > debian/patches/series-rt