鑫哥 发表于 2022-5-26 10:13:26

Linux SDK解压报错

下载RK3566行业主板的Linux 源码,解压报错,尝试多次


错误信息如下:
tar: ./rk356x_linux_release_20211019/.repo/project-objects/prebuilts/gcc/linux-x86/aarch64/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/u-boot.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/debian.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-rust.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-rockchip.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-openembedded.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-browser.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-qt5.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-python2.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/poky.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/build/conf.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/yocto/meta-clang.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rknn_demo.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rkupdate.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/bluetooth_bsa.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/app.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rk_pcba_test.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rkscript.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/bluez-alsa.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/avb.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/CallFunIpc.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/libglCompositor.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/libmali.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/common_algorithm.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/chromium.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rtc_demo.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/pcba_adb_test.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rknpu2.git/hooks: Directory renamed before its status could be extracted
tar: ./rk356x_linux_release_20211019/.repo/project-objects/external/rockx.git/hooks: Directory renamed before its status could be extracted


895816513 发表于 2022-7-12 09:40:53

使用的是分卷压缩的,你单独解压一个压缩包是不行的。
cat path/to/rk356x_linux_release_v1.2.0_20211019_split_dir/*firefly_split* | tar -xzv

https://wiki.t-firefly.com/Core-3568J/prepare_compile_linux.html

# 解压
mkdir ~/proj/
cd ~/proj/
cat path/to/rk356x_linux_release_v1.2.0_20211019_split_dir/*firefly_split* | tar -xzv

# 导出数据
.repo/repo/repo sync -l
页: [1]
查看完整版本: Linux SDK解压报错