summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_opkg_finish.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-19 11:08:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-19 11:08:26 +0200
commitdd78ae59bbd622b16fa17720fbc5aed0ed39e78b (patch)
tree3eca49a88df0357fc47ca480a135c5e0af2f2ea4 /scripts/lib/ptxd_make_opkg_finish.sh
parent00f1fd6292c017de0a14fdc9d09bf2daa5f89d02 (diff)
downloadptxdist-dd78ae59bbd622b16fa17720fbc5aed0ed39e78b.tar.gz
ptxdist-dd78ae59bbd622b16fa17720fbc5aed0ed39e78b.tar.xz
ptxd_make_xpkg_finish: refactor
extract commen parts of the opkg/ipkg creation. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_opkg_finish.sh')
-rw-r--r--scripts/lib/ptxd_make_opkg_finish.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/lib/ptxd_make_opkg_finish.sh b/scripts/lib/ptxd_make_opkg_finish.sh
index 583a5ef24..d303c6d15 100644
--- a/scripts/lib/ptxd_make_opkg_finish.sh
+++ b/scripts/lib/ptxd_make_opkg_finish.sh
@@ -20,18 +20,3 @@ ptxd_make_opkg_finish_impl() {
}
export -f ptxd_make_opkg_finish_impl
-
-#
-# create an opkg package
-#
-ptxd_make_opkg_finish() {
- local -a fake_args
- if [ -f "${pkg_fake_env}" ]; then
- fake_args=( "-i" "${pkg_fake_env}" )
- fi
- fake_args[${#fake_args[@]}]="-u"
-
- export ${!pkg_*} ${!ptx_*}
- fakeroot "${fake_args[@]}" -- ptxd_make_opkg_finish_impl
-}
-export -f ptxd_make_opkg_finish