Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-config-files / stx-config-files-source / lighttpd-config-init-script-chroot.patch
1 Upstream-Status: Inappropriate [poky-stx specific]
2
3 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
4
5 diff -ru a/lighttpd-config/files/lighttpd.init b/lighttpd-config/files/lighttpd.init
6 --- a/lighttpd-config/files/lighttpd.init       2020-04-29 07:07:49.040288478 +0000
7 +++ b/lighttpd-config/files/lighttpd.init       2020-04-29 07:09:35.332285981 +0000
8 @@ -59,6 +59,10 @@
9      mkdir -p /scratch/lighttpd
10      mount --bind /scratch/lighttpd /www/tmp/
11      chown www /www/tmp/
12 +    # /dev/null is required in chroot env
13 +    mkdir -p /www/dev
14 +    cp /dev/null /www/dev
15 +    chmod 777 /www/dev/null
16
17      echo -n "Starting $DESC..."
18