From: Jackie Huang Date: Wed, 6 May 2020 13:44:23 +0000 (+0800) Subject: stx-config-files: avoid mkdir error if existing X-Git-Tag: bronze-rc0~28 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=049747f3028a8be2274cc13864cb31263ea569c0;p=pti%2Frtp.git 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 --- 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