]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added a command that shows all used source files by the packages.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:48:31 +0000 (22:48 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:48:31 +0000 (22:48 +0100)
tools/make-interactive
tools/make-packages

index d4e74aeffb43d6a6f371efa47e77ee240b34319f..55470574fbf2db8e605891077ce9189360c12a2e 100644 (file)
@@ -243,6 +243,11 @@ package*|pkg)
                list|show|ls)
                        pkg_list_packages
                        ;;
+               file*)
+                       for i in $BASEDIR/lfs/*; do
+                               pkg_files $i
+                       done
+                       ;;
                info)
                        shift 2
                        format_desc() {
index 163fa534a67233079efb24bd546209e9bc5bc2c0..d67b890b1d5c3fb9261b7bcf3a01771a2424c54e 100644 (file)
@@ -95,3 +95,13 @@ pkg_deps() {
                echo $DEPS
        )
 }
+
+pkg_files() {
+       (
+               unset NAME VERSION
+               eval $(pkg_info ${1})
+               for i in $FILES; do
+                       echo $i
+               done
+       )
+}