summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_template.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-07-03 11:50:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-03 11:50:19 +0200
commit1fa400751d17443560eddaad32eab5e9e3e37605 (patch)
treecbd16febe1f41d9ce11f2ab55ae2809ef99e8089 /scripts/lib/ptxd_lib_template.sh
parent1da9ac96647afe145182ada9399ee56f31a4cc6f (diff)
downloadptxdist-1fa400751d17443560eddaad32eab5e9e3e37605.tar.gz
ptxdist-1fa400751d17443560eddaad32eab5e9e3e37605.tar.xz
ptxd_lib_template: image-genimage: use package name as default config name
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_template.sh')
-rw-r--r--scripts/lib/ptxd_lib_template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
index 58b85462d..ceccc5359 100644
--- a/scripts/lib/ptxd_lib_template.sh
+++ b/scripts/lib/ptxd_lib_template.sh
@@ -400,7 +400,7 @@ ptxd_template_new_image_genimage() {
ptxd_template_read_author &&
ptxd_template_read "image type" TYPE
ptxd_template_read "add archives" FILES "\$(IMAGEDIR)/root.tgz"
- ptxd_template_read "genimage config" CONFIG "${TYPE}.config"
+ ptxd_template_read "genimage config" CONFIG "${package_name}.config"
ptxd_template_write_platform_rules
local template_file="${TEMPLATESDIR}/${template}-config"
local filename="${PTXDIST_PLATFORMCONFIGDIR}/config/images/${CONFIG}"