nfs-utils: update for stx 5.0
[pti/rtp.git] / meta-starlingx / meta-stx-distro / recipes-httpd / lighttpd / files / lighttpd-init-script-chroot.patch
1 diff -ru a/lighttpd-config/files/lighttpd.init b/lighttpd-config/files/lighttpd.init
2 --- a/lighttpd-config/files/lighttpd.init       2020-04-29 07:07:49.040288478 +0000
3 +++ b/lighttpd-config/files/lighttpd.init       2020-04-29 07:09:35.332285981 +0000
4 @@ -59,6 +59,10 @@
5      mkdir -p /scratch/lighttpd
6      mount --bind /scratch/lighttpd /www/tmp/
7      chown www /www/tmp/
8 +    # /dev/null is required in chroot env
9 +    mkdir -p /www/dev
10 +    cp /dev/null /www/dev
11 +    chmod 777 /www/dev/null
12
13      echo -n "Starting $DESC..."
14