From 049747f3028a8be2274cc13864cb31263ea569c0 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 6 May 2020 21:44:23 +0800 Subject: [PATCH] stx-config-files: avoid mkdir error if existing use -p option for mkdir to avoid error if existing Issue-ID: INF-84 Signed-off-by: Jackie Huang Change-Id: I446ce119b2e7470f81c2c4511372b909f7411b5d --- .../stx-config-files/files/lighttpd-init-script-chroot.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-stx/recipes-core/stx-config-files/files/lighttpd-init-script-chroot.patch b/meta-stx/recipes-core/stx-config-files/files/lighttpd-init-script-chroot.patch index d207006..c62d7bc 100644 --- a/meta-stx/recipes-core/stx-config-files/files/lighttpd-init-script-chroot.patch +++ b/meta-stx/recipes-core/stx-config-files/files/lighttpd-init-script-chroot.patch @@ -6,7 +6,7 @@ diff -ru a/lighttpd-config/files/lighttpd.init b/lighttpd-config/files/lighttpd. mount --bind /scratch/lighttpd /www/tmp/ chown www /www/tmp/ + # /dev/null is required in chroot env -+ mkdir /www/dev ++ mkdir -p /www/dev + cp /dev/null /www/dev + chmod 777 /www/dev/null -- 2.16.6