Wind River Support Network

HomeDefectsLINCD-1199
Fixed

LINCD-1199 : [Usability]ostree_bootfs.sh: error: Writing content object: lsetxattr: Operation not supported during install OS by using ustart.img for cgl rootfs

Created: Feb 23, 2020    Updated: Mar 19, 2020
Resolved Date: Mar 2, 2020
Found In Version: 10.20.9.0
Fix Version: 10.20.12.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

Allocating group tables: done Writing inode tables: done Creating journal (131072 blocks): random: crng init done done Writing superblocks and filesystem accounting information: done EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null) ostree/deploy/wrlinux initialized as OSTree root EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) running: ostree pull --repo=/sysroot/ostree/repo wrlinux wrlinux-image-cgl GPG: Verification enabled, found 1 signature: Signature made Sun Feb 23 17:21:19 2020 using RSA key ID CFA856DFC7CB87BE Good signature from "Wind-River-Linux-Sample <svc-linux@gmail.com>" error: Writing content object: lsetxattr: Operation not supported Error: ostree pull failed sysrq: Resetting

Workaround

add selinux=0 to boot command line to install CGL + ostree

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --templates feature/ostree --layers wr-ostree --distro wrlinux-cgl --accept-eula=yes --distro wrlinux-cgl --dl-layers
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
OSTREE_REMOTE_URL = "http://pek-lpggp5.wrs.com/OSTREE_PUBLIC_REPO/latest_intel-x86-64_81/ostree_repo/"
GPG_PATH = "/tmp/tmp.SOivpzCZeq"
IMAGE_INSTALL_append = " nfs-utils-mount"
OSTREE_USE_AB = "1"
bitbake wrlinux-image-cgl wrlinux-image-small

../layers/wr-ostree/scripts/bootfs.sh -d /dev/sda -n -s 0 -e wrlinux-image-cgl.env
Live chat
Online