packaging: fix the broken usage help

Using the plain usage text instead of the bad variable reference.

Fixes: #9386
Signed-off-by: Guoqiang Ding <dgq8211@gmail.com>
This commit is contained in:
Guoqiang Ding 2024-12-20 13:58:40 +08:00
parent 79495379e2
commit 75baf75726
2 changed files with 8 additions and 8 deletions

View File

@ -104,12 +104,12 @@ Usage:
${script_name} [options]
Options:
--osname=${os_name}
--osversion=${os_version}
--imagetype=${image_type}
--prefix=${prefix}
--destdir=${destdir}
--image_initrd_suffix=${image_initrd_suffix}
--osname=\${os_name}
--osversion=\${os_version}
--imagetype=\${image_type}
--prefix=\${prefix}
--destdir=\${destdir}
--image_initrd_suffix=\${image_initrd_suffix}
EOF
exit "${return_code}"

View File

@ -27,8 +27,8 @@ Usage:
${script_name} [options]
Options:
--builddir=${builddir}
--destdir=${destdir}
--builddir=\${builddir}
--destdir=\${destdir}
Environment variables:
HKD_PATH (required): a path for a directory which includes at least one host key document