foss-for-synopsys-dwc-arc-processors / buildroot

The development tree for Buildroot support for the Synopsys DesignWare ARC processor family
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/blob/arc-dev/README.md
Other
7 stars 2 forks source link

cpio'ing the rootfs fails #35

Closed shahab-vahedi closed 2 years ago

shahab-vahedi commented 2 years ago
rm: refusing to remove '.' or '..' directory: skipping '/build/buildroot/build/buildroot-fs/cpio/target/run/..'
rm: refusing to remove '.' or '..' directory: skipping '/build/buildroot/build/buildroot-fs/cpio/target/tmp/..'
make: *** [fs/cpio/cpio.mk:74: /build/buildroot/images/rootfs.cpio] Error 1

This is an upstream issue introduced by fs: clean the volatile /run and /tmp directories. It has been fixed by fs/common.mk: use find instead of shell glob patterns and discussed here.

Last but not least, it is cherry-picked to our arc64 branch.