git://git.onelab.eu
/
build.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git.onelab.eu:/git/build
[build.git]
/
yumgroups.sh
1
#!/bin/bash
2
3
. build.common
4
5
function usage () {
6
echo "Usage: $0 pldistro"
7
exit 1
8
}
9
10
[ "$#" = 1 ] || usage
11
pldistro=$1; shift
12
13
# gather all known pkgs files
14
here=$(pwd)
15
all_pkgs=$( (cd $here/config.planetlab ; ls -1 *.pkgs ; cd $here/config.$pldistro; ls *.pkgs) | sort -u)
16
17
yumgroups_from_pkgs $(dirname $0) $pldistro $pl_DISTRO_NAME $all_pkgs