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

Revision 22702, 294 bytes checked in by ghudson, 15 years ago (diff)
Snapshot the scripts used to build OpenAFS kernel modules, from /mit/debathena/packages/third/openafs.
  • 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 -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.