summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_image_common.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-05-09 20:11:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-06-13 19:49:06 +0200
commita5ba81e1bea529faa42d415f154ea3f22bfaf51f (patch)
tree937b9a91f1a2b575a0cce3c35704f6bae20e4bfb /scripts/lib/ptxd_make_image_common.sh
parent4ea563316860e9f525b6a01540a3dd27e32ad088 (diff)
downloadptxdist-a5ba81e1bea529faa42d415f154ea3f22bfaf51f.tar.gz
ptxdist-a5ba81e1bea529faa42d415f154ea3f22bfaf51f.tar.xz
ptxd_get_ipkg_files: package list as arguments
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_image_common.sh')
-rw-r--r--scripts/lib/ptxd_make_image_common.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/lib/ptxd_make_image_common.sh b/scripts/lib/ptxd_make_image_common.sh
index 30446a749..5e0b497c2 100644
--- a/scripts/lib/ptxd_make_image_common.sh
+++ b/scripts/lib/ptxd_make_image_common.sh
@@ -13,8 +13,7 @@
# ptxd_get_ipkg_files - get full path to ipkgs that should be installed
#
# in:
-# - $image_pkgs_selected_target space seperated list of selected
-# packages
+# - $* list of selected packages
#
# out:
# - $ptxd_reply_ipkg_files array of ipkg files
@@ -23,7 +22,7 @@
ptxd_get_ipkg_files() {
# map pkg_label to pkg's ipkg files
local -a ptxd_reply
- ptxd_do_xpkg_map ${image_pkgs_selected_target}
+ ptxd_do_xpkg_map ${*}
unset ptxd_reply_ipkg_files ptxd_reply_perm_files