projects
/
packages.grml.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afa498
)
Special case for grml-kernel
author
Christian Hofstaedtler
<ch@grml.org>
Wed, 30 Nov 2011 22:02:51 +0000
(23:02 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Wed, 30 Nov 2011 22:02:51 +0000
(23:02 +0100)
update.rb
patch
|
blob
|
history
diff --git
a/update.rb
b/update.rb
index
23980d8
..
400b3ae
100755
(executable)
--- a/
update.rb
+++ b/
update.rb
@@
-52,7
+52,11
@@
def build_package_list(repos, used, sources)
data = {}
repos.each do |pkg, path|
g = Git.bare(working_dir = path)
- next if not g.ls_tree('HEAD')["tree"].keys.include?("debian")
+ tree = g.ls_tree('HEAD')["tree"]
+ if pkg == 'grml-kernel'
+ tree = g.ls_tree(g.ls_tree("HEAD")["tree"]["linux-3"][:sha])["tree"]
+ end
+ next if not tree.keys.include?("debian")
current_head = g.gcommit('HEAD')
next if not current_head.parent