Table of Contents
Build CentOS rootfs by NXP SDK
Format a SD/UDISK and untar the tarball into the partition
Then you will get issue when you use yum, like ‘import yummain error’
Look for the following packages in CentOS-7-$ARCH-Everything-$VERSION.iso
- yum-3.4.3-161.el7.centos.noarch.rpm
- yum-metadata-parser-1.1.4-10.el7.aarch64.rpm
- yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm
- centos-release-7-6.1810.el7.centos.a.aarch64.rpm
Copied to target board ‘/’ and doing:
1 2 3 4 5 6 |
# rpm2cpio yum-3.4.3-161.el7.centos.noarch.rpm | cpio -idumv # rpm2cpio yum-metadata-parser-1.1.4-10.el7.aarch64.rpm | cpio -idumv # rpm2cpio yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm | cpio -idumv # rpm2cpio centos-release-7-6.1810.el7.centos.a.aarch64.rpm | cpio -idumv |
Then you can use yum
Reference