Wind River Support Network

HomeDefectsLIN6-12585
Fixed

LIN6-12585 : anaconda: Error running resize2fs: No such file or directory

Created: Mar 28, 2017    Updated: Dec 3, 2018
Resolved Date: Apr 17, 2017
Found In Version: 6.0.0.32
Fix Version: 6.0.0.34
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Target-Installer

Description

Wind River 6.0 installer will stop with error

Workaround

Search similar Jira case - WR Linux 8.0.0.0 also have same issue

Modified based on below patch from LIN8-1146

diff --git a/recipes-installer/anaconda/anaconda_16.25.bb b/recipes-installer/anaconda/anaconda_16.25.bb
index e349075..947b4b4 100755
--- a/recipes-installer/anaconda/anaconda_16.25.bb
+++ b/recipes-installer/anaconda/anaconda_16.25.bb
@@ -17,7 +17,7 @@ DEPENDS += "networkmanager"
 
 
 RDEPENDS_anaconda="e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs \
-                   ntfsprogs xfsprogs btrfs-tools nfs-utils-client \
+                   e2fsprogs-resize2fs ntfsprogs xfsprogs btrfs-tools nfs-utils-client \
                    parted dosfstools gzip libarchive lvm2 \
                    squashfs-tools openssh python python-misc python-modules python-dbus \
                    nspr nss python-nss parted python-pyblock python-pygtk \

Steps to Reproduce

1. Build target and installer project
Target project

/home/xxxxx/WindRiver.linux6/wrlinux-6/wrlinux/configure \
--enable-board=intel-x86-64 \
--enable-kernel=preempt-rt \
--enable-rootfs=glibc-std+installer-support \
--enable-bootimage=ext3 \
--with-sstate-dir=/media/xxxxx/480G_SSD/Fox2_sstate \
--enable-jobs=8 \
--enable-parallel-pkgbuilds=8 \
--enable-checkout-all-layers=yes \
--enable-reconfig


Installer project

/home/xxxxx/WindRiver.linux6/wrlinux-6/wrlinux/configure \
--enable-board=intel-x86-64 \
--enable-kernel=preempt-rt \
--enable-rootfs=wr-installer \
--enable-target-installer=yes \
--enable-bootimage=iso \
--with-installer-target-build=/media/xxxxx/480G_SSD/Fox2_target \
--with-sstate-dir=/media/xxxxx/480G_SSD/Fox2_sstate \
--enable-jobs=8 \
--enable-parallel-pkgbuilds=8 \
--enable-checkout-all-layers=yes \
--enable-reconfig

2. make fs
3. make usb-image
4. Boot from USB dongle
5. The installer will stop

Other Downloads


Live chat
Online