source: trunk/debathena/third/openafs/find-openafs-kernels @ 23134

Revision 23134, 316 bytes checked in by andersk, 16 years ago (diff)
apt-get update in find-openafs-kernels.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2set -xe
3
4if [ "$1" = "-A" ]; then shift; fi
5
6dist=$1
7
8kernels=$(schroot -c "$dist-sbuild" --directory=/ -u root -- sh -c 'apt-get update >&2 && apt-get -y install wget apt-file >&2 && apt-file update >&2 && apt-file search --package-only --regexp "/usr/src/.*/\.config"' </dev/null)
9
10echo "$dist" $kernels
Note: See TracBrowser for help on using the repository browser.