diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2016-11-17 16:55:15 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2016-11-17 16:00:55 +0000 |
commit | 437f93cadf6839fdfcf4067388c48c4a3e0a6e9f (patch) | |
tree | 99d1b97e64007d89685b887325412b3edacb83ea | |
parent | e21d5644c3ad946ea066bb41bbab52360f0391d5 (diff) |
Always create the kargs file
This file was not created when --kernel-args is not used.
The Qt OTA API expects to find this file.
Change-Id: I01c425a7ae342fac0741012d57ca5d4c8da9464f
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
-rwxr-xr-x | qt-ostree/qt-ostree | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ostree/qt-ostree b/qt-ostree/qt-ostree index db624da..7ab3709 100755 --- a/qt-ostree/qt-ostree +++ b/qt-ostree/qt-ostree @@ -620,12 +620,13 @@ organize_boot_files() fi fi + # NOTE: This file is used by higher level API. + touch ${BOOT_FILE_PATH}/kargs if [ -n "${KERNEL_ARGS}" ] ; then qt_ostree_info "Additional kernel command line arguments: $KERNEL_ARGS" for karg in ${KERNEL_ARGS} ; do kargs="${kargs} --karg=$karg" done - # NOTE: This file is used by higher level API. echo $kargs > ${BOOT_FILE_PATH}/kargs fi } |