compat: bin/get-compat-kernels dump deb packages into debs
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Fri, 6 Jul 2012 20:24:28 +0000 (13:24 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Fri, 6 Jul 2012 20:25:08 +0000 (13:25 -0700)
Don't clutter the home compat base directory.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
.gitignore
bin/get-compat-kernels

index 498cb5ad5b3e91d5deb54eee2bfd87e15834feca..1331796276f72d7f7c3a38f17560060f7b43dcad 100644 (file)
@@ -13,3 +13,4 @@ compat/*.ko
 modules.order
 modules
 *.patch
+debs/
index 3fad1951e3370c5a19d4fbf01713ff95c39745ba..f6a7ef48aa0cde059e36a179db36bcd0990c71d3 100755 (executable)
@@ -125,6 +125,9 @@ function get_ubuntu_kernels() {
        KERNELS="$KERNELS ${KPATH}/v3.4.4-quantal/linux-headers-3.4.4-030404-generic_3.4.4-030404.201206221555_${TARGET}.deb"
        KERNELS="$KERNELS ${KPATH}/v3.4.4-quantal/linux-image-3.4.4-030404-generic_3.4.4-030404.201206221555_${TARGET}.deb"
 
+       mkdir -p debs
+       cd debs
+
        for i in $KERNELS; do
                FILE=$(basename $i)
                PKG=$(echo $FILE | awk -F"_" '{print $1}')