Wind River Support Network

HomeDefectsLIN1022-1332
Not to be fixed

LIN1022-1332 : [FIT] LAT Does not support fullmetalupdate

Created: Aug 14, 2022    Updated: Nov 22, 2022
Resolved Date: Nov 22, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

1) setup.sh
setup.sh
--machine aptiv_cvc_sousa --dl-layers --layers meta-lat --template feature/ostree feature/fullmetalupate feature/lat-fitimage

3) . ./oe-init-build-env

4) # cat config.cfg
[client]
hawkbit_vendor_name = WRLinux
hawkbit_url_port = 8080
hawkbit_ssl = false
hawkbit_tenant_id = DEFAULT
hawkbit_target_name = aptiv_cvc_sousa_tgt1
hawkbit_auth_token = 380ff2b5908e776cb69159f3f4477e4f
log_level = debug

[ostree]
ostree_name_remote = fullmetalupdate
ostree_gpg-verify = false
ostree_ssl = false
ostree_url_port = 8000
ostreepush_ssh_port = 8022
ostreepush_ssh_user = root
ostreepush_ssh_pwd = root
ostreepush_ssh_path = /ostree/repo
ostree_host_name = 128.224.179.28

[server]
server_host_name = 128.224.162.140

5) vim conf/local.conf
OSTREE_USE_AB=1
HAWKBIT_CONFIG_FILE = "${TOPDIR}/config.cfg"
HAWKBIT_USER_PASSWORD = "admin:wind"
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"

6) bitbake wrlinux-image-small

7) bitbake appsdk-native && bitbake build-sysroots

8) . ./tmp-glibc/sysroots/x86_64/environment-appsdk-native
9) exampleyamls
10) genfitimage --log-dir log exampleyamls/wrlinux-image-small-fit-aptiv_cvc_sousa.yaml

11) boot the target by wrlinux-image-small-fit-aptiv_cvc_sousa.wic
12) deploy OS software module to target by hawkbit server.

In target boot message:
...
2022-08-14T04:44:03.844493+00:00 aptivcvcsousa fullmetalupdate.sh[2103]: No remote repository specified for upgrade, please configure it via:
2022-08-14T04:44:03.844951+00:00 aptivcvcsousa fullmetalupdate.sh[2103]: ostree config set upgrade.remote <remote_repo_name>
...

Currently, LAT Does not support fullmetalupdate for now

Steps to Reproduce

1) setup.sh
setup.sh
--machine aptiv_cvc_sousa --dl-layers --layers meta-lat --template feature/ostree feature/fullmetalupate  feature/lat-fitimage

3) . ./oe-init-build-env

4) # cat config.cfg
[client]
hawkbit_vendor_name = WRLinux
hawkbit_url_port = 8080
hawkbit_ssl = false
hawkbit_tenant_id = DEFAULT
hawkbit_target_name = aptiv_cvc_sousa_tgt1
hawkbit_auth_token = 380ff2b5908e776cb69159f3f4477e4f
log_level = debug

[ostree]
ostree_name_remote = fullmetalupdate
ostree_gpg-verify = false
ostree_ssl = false
ostree_url_port = 8000
ostreepush_ssh_port = 8022
ostreepush_ssh_user = root
ostreepush_ssh_pwd = root
ostreepush_ssh_path = /ostree/repo
ostree_host_name = 128.224.179.28

[server]
server_host_name = 128.224.162.140

5) vim conf/local.conf
OSTREE_USE_AB=1
HAWKBIT_CONFIG_FILE = "${TOPDIR}/config.cfg"
HAWKBIT_USER_PASSWORD = "admin:wind"
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"


6) bitbake wrlinux-image-small

7) bitbake appsdk-native && bitbake build-sysroots

8) . ./tmp-glibc/sysroots/x86_64/environment-appsdk-native
9) exampleyamls
10) genfitimage --log-dir log exampleyamls/wrlinux-image-small-fit-aptiv_cvc_sousa.yaml

11) boot the target by wrlinux-image-small-fit-aptiv_cvc_sousa.wic
12) deploy OS software module to target by hawkbit server.
Live chat
Online