Module: xenomai-2.6
Branch: master
Commit: 4725c6c8680c7b9337b791eb82f75ffd3c1bfbe5
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=4725c6c8680c7b9337b791eb82f75ffd3c1bfbe5

Author: Roland Stigge <sti...@antcom.de>
Date:   Fri Aug  3 15:40:21 2012 +0200

Removal of dh-kpatches support

Since dh-kpatches is not useful/available anymore and make-kpkg doesn't
support applying patches automatically anymore, its usage is removed with this
patch.

---

 scripts/prepare-patch.sh |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/scripts/prepare-patch.sh b/scripts/prepare-patch.sh
index 6ca734b..c23ee90 100755
--- a/scripts/prepare-patch.sh
+++ b/scripts/prepare-patch.sh
@@ -148,10 +148,6 @@ generate_patch >> $patch_file
 
 cd $xenomai_root
 
-#echo "Patch-name: Xenomai realtime kernel patches" > 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-#echo "Patch-id: xenomai" >> $xenomai_root/debian/linux-patch-xenomai.kpatches
-#echo "Architecture: all" >> $xenomai_root/debian/linux-patch-xenomai.kpatches
-
 find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" |
 while read f ; do
 
@@ -177,21 +173,6 @@ while read f ; do
        ;;
     esac
 
-    # Only one patch per arch/kver - Having a common plus kver/arch patch
-    # would require two linux-patch-foo packages.. When dh-kpatches Ver.1.0
-    # gets to testing, this can be looked at again..
-    echo "" >> $xenomai_root/debian/linux-patch-xenomai.kpatches
-    echo "Patch-file: $file" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-    echo "Kernel-version: $kver" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-    echo "Architecture: $march" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-
-    if [ "$arch" = "x86" ] ; then
-       echo "" >> $xenomai_root/debian/linux-patch-xenomai.kpatches
-       echo "Patch-file: $file" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-       echo "Kernel-version: $kver" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-       echo "Architecture: amd64" >> 
$xenomai_root/debian/linux-patch-xenomai.kpatches
-    fi
-
     cp $f $xenomai_root/$file
     cat $xenomai_root/$patch_file >> $xenomai_root/$file
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to