# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ modules/catalyst_support.py:
+ Fix up calc_contents in contents_map. Thanks to Brent Baude
+ <ranger@gentoo.org> for pointing it out. This is catalyst 2.0.6_pre3 for
+ testing.
+
08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/stage1/stage1-chroot.sh:
Ensure /etc/xml/catalog does not exist in stage1, since it will always be
contents_map={
# 'find' is disabled because it requires the source path, which is not
# always available
- #"find" :[calc_content,"find %(path)s"],
- "tar-tv":[calc_content,"tar tvf %(file)s"],
- "tar-tvz":[calc_content,"tar tvzf %(file)s"],
- "tar-tvj":[calc_content,"tar tvjf %(file)s"],
- "isoinfo-l":[calc_content,"isoinfo -l -i %(file)s"],
+ #"find" :[calc_contents,"find %(path)s"],
+ "tar-tv":[calc_contents,"tar tvf %(file)s"],
+ "tar-tvz":[calc_contents,"tar tvzf %(file)s"],
+ "tar-tvj":[calc_contents,"tar tvjf %(file)s"],
+ "isoinfo-l":[calc_contents,"isoinfo -l -i %(file)s"],
# isoinfo-f should be a last resort only
- "isoinfo-f":[calc_content,"isoinfo -f -i %(file)s"],
+ "isoinfo-f":[calc_contents,"isoinfo -f -i %(file)s"],
}
def generate_hash(file,hash_function="crc32",verbose=False):