diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-27 04:50:57 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-27 04:50:57 -0300 |
commit | 836d54e6d946f70102dfbdb3c39bf7028d6d0463 (patch) | |
tree | ea9911db825de5cb40f54b96a43dbb3ba2f4d3c1 /libre/kernel26-libre/get_configs | |
parent | d197539acb2abe3a2cf23fbdbede80cab9d59d7d (diff) | |
download | abslibre-836d54e6d946f70102dfbdb3c39bf7028d6d0463.tar.gz abslibre-836d54e6d946f70102dfbdb3c39bf7028d6d0463.tar.bz2 abslibre-836d54e6d946f70102dfbdb3c39bf7028d6d0463.zip |
updated abs tree
Diffstat (limited to 'libre/kernel26-libre/get_configs')
-rwxr-xr-x | libre/kernel26-libre/get_configs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/kernel26-libre/get_configs b/libre/kernel26-libre/get_configs new file mode 100755 index 000000000..1b42ebd11 --- /dev/null +++ b/libre/kernel26-libre/get_configs @@ -0,0 +1,16 @@ +#!/bin/bash + +source PKGBUILD + +pkgname=${pkgname%-libre} +from=${1:-core} + +for pkgarch in ${arch[@]}; do + wget -nc "http://mirrors.kernel.org/archlinux/$from/os/${pkgarch}/${pkgname}-headers-${pkgver}-${pkgrel}-${pkgarch}.pkg.tar.xz" + tar -xOf "${pkgname}-headers-${pkgver}-${pkgrel}-${pkgarch}.pkg.tar.xz" usr/src/linux-${_basekernel}-ARCH/.config > config.${pkgarch} +done + +wget -O PKGBUILD.official "http://repos.archlinux.org/wsvn/packages/kernel26/repos/${from}-i686/PKGBUILD?op=dl" + +exit 0 + |