diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-06-12 00:49:11 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-06-14 13:40:25 +0200 |
commit | f91f86bf45df463a63b496edb17f7549f2fdedd9 (patch) | |
tree | 85c596c66d9f4abd8017cfcd7685c86d93491a54 /scripts/lib/ptxd_lib_template.sh | |
parent | 3686fb8c8e81bac36c52f6bfac75758e30497dea (diff) | |
download | ptxdist-f91f86bf45df463a63b496edb17f7549f2fdedd9.tar.gz ptxdist-f91f86bf45df463a63b496edb17f7549f2fdedd9.tar.xz |
templates: add image-tgz template
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.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh index 458892e61..5dbced6fd 100644 --- a/scripts/lib/ptxd_lib_template.sh +++ b/scripts/lib/ptxd_lib_template.sh @@ -372,3 +372,14 @@ ptxd_template_new_kernel() { export -f ptxd_template_new_kernel ptxd_template_help_list[${#ptxd_template_help_list[@]}]="kernel" ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create package for an extra kernel" + +ptxd_template_new_image_tgz() { + ptxd_template_read_name && + ptxd_template_read_author && + ptxd_template_read "add packages" PACKAGES '$(PTX_PACKAGES_INSTALL)' + ptxd_template_read "add files" FILES + ptxd_template_write_platform_rules +} +export -f ptxd_template_new_image_tgz +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="image-tgz" +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create package for a tgz image" |