From 836d54e6d946f70102dfbdb3c39bf7028d6d0463 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 27 Jan 2011 04:50:57 -0300 Subject: updated abs tree --- libre/kernel26-libre/get_configs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 libre/kernel26-libre/get_configs (limited to 'libre/kernel26-libre/get_configs') 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 + -- cgit v1.2.3