Openwrt/include
Yousong Zhou a75801c89c build: install-dtb: fix race condition when copying dtb
Currently for at91 target, Build/install-dtb can be triggered concurrently for
multiple different TARGET_FILESYSTEMS, cp command can fail when the
target file is already open exclusively by other cp process

	[ -f /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9263ek-uImage -a -f /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/root.ubifs+fs=-m_2048_-e_126KiB_-c_2048+pkg=68b329da ]
	[ -f /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9263ek-uImage -a -f /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/root.ext4+pkg=68b329da ]
	cp -fpR /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/linux-4.14.141/arch/arm/boot/dts/at91sam9263ek.dtb /builder/shared-workdir/build/bin/targets/at91/sam9x/openwrt-at91-sam9x-at91sam9263ek.dtb;
	cp -fpR /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/linux-4.14.141/arch/arm/boot/dts/at91sam9263ek.dtb /builder/shared-workdir/build/bin/targets/at91/sam9x/openwrt-at91-sam9x-at91sam9263ek.dtb;
	cp: cannot create regular file '/builder/shared-workdir/build/bin/targets/at91/sam9x/openwrt-at91-sam9x-at91sam9263ek.dtb': File exists
	Makefile:87: recipe for target '/builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9263ek-ubifs-dtb' failed
	make[4]: *** [/builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9263ek-ubifs-dtb] Error 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-15 14:58:43 +00:00
..
site Revert faulty tree push 2019-08-12 12:27:06 +02:00
autotools.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk Revert faulty tree push 2019-08-12 12:27:06 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk build: install-dtb: fix race condition when copying dtb 2019-09-15 14:58:43 +00:00
image-legacy.mk
image.mk Revert "build: remove harmful -nopad option from mksquashfs" 2019-09-07 14:45:32 +02:00
kernel-build.mk include: kernel-build: pass pkg-config overrides to kernel build 2019-09-03 10:44:21 +02:00
kernel-defaults.mk
kernel-version.mk kernel: bump 4.19 to 4.19.72 2019-09-13 16:40:29 +02:00
kernel.mk
netfilter.mk
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk Revert faulty tree push 2019-08-12 12:27:06 +02:00
prereq-build.mk
prereq.mk
quilt.mk
rootfs.mk
scan.awk
scan.mk
scons.mk
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk
u-boot.mk u-boot.mk: use openwrt url instead of lede project 2019-08-18 15:14:13 +00:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk