git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run lxc-enter-namespace with the --noseclabel flag
[build.git]
/
yumgroups.sh
diff --git
a/yumgroups.sh
b/yumgroups.sh
index
28f9c49
..
1e8f506
100755
(executable)
--- a/
yumgroups.sh
+++ b/
yumgroups.sh
@@
-7,8
+7,11
@@
function usage () {
exit 1
}
exit 1
}
-[ "$#" =
2
] || usage
+[ "$#" =
1
] || usage
pldistro=$1; shift
pldistro=$1; shift
-pkgsname=$1; shift
-toplevel_yumgroups $pldistro $pkgsname
+# gather all known pkgs files
+here=$(pwd)
+all_pkgs=$( (cd $here/config.planetlab ; ls -1 *.pkgs ; cd $here/config.$pldistro; ls *.pkgs) | sort -u)
+
+yumgroups_from_pkgs $(dirname $0) $pldistro $pl_DISTRO_NAME $all_pkgs