DREAMER

[error] initramfs-1.0-r0 do_rootfs error 본문

프로그래밍/YOCTO

[error] initramfs-1.0-r0 do_rootfs error

연소민 2023. 8. 16. 14:20
728x90
반응형

다음과 같은 에러가 발생하였다.

Parsing recipes: 100% |##################################################################################| Time: 0:00:06
Parsing of 957 .bb files complete (0 cached, 957 parsed). 1575 targets, 175 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "jetson-nano-devkit-emmc"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.20"
TUNE_FEATURES        = "aarch64 armv8a crc"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       
meta-tegra           
contrib              
meta-mylayer       = "<unknown>:<unknown>"

Initialising tasks: 100% |###############################################################################| Time: 0:00:02
Sstate summary: Wanted 2321 Found 0 Missed 2321 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: tegra-minimal-initramfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gtk_icon_cache' failed, details in /home/user/build/tmp/work/jetson_nano_devkit-emmc-poky-linux/tegra-minimal-initramfs/1.0-r0/temp/log.do_rootfs
ERROR: Logfile of failure stored in: /home/user/build/tmp/work/jetson_nano_devkit-emmc-poky-linux/tegra-minimal-initramfs/1.0-r0/temp/log.do_rootfs.16782
ERROR: Task (/home/user/meta-tegra/recipes-core/images/tegra-minimal-initramfs.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5208 tasks of which 8 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/user/meta-tegra/recipes-core/images/tegra-minimal-initramfs.bb:do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

외부 저장소에서 소스를 가져오던 중 permission이 변경되어 에러가 발생하였다.

모두 날린 후에, 욕토 작업 디렉토리를 새로 생성하여 775 권한을 확인 후에 다시 빌드한다.

내 경우에는 모든 하위 디렉터리가 777로 설정되어 있었다.

또한, 욕토 작업디렉토리의 권한은 가능한 변경하지 않도록 한다.

728x90
반응형
Comments