procd: fix procd_lock() when prepare_roofs
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 28 Jan 2018 01:43:30 +0000 (09:43 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Sun, 28 Jan 2018 01:51:06 +0000 (09:51 +0800)
commit60ad837bea4a006a54fd8b659083f7bf648da781
treeb5923487377a9e4f0453ad7d241631da1a279913
parent53f62bc5e5c36c1a08e162d8b26de7d831fc36e5
procd: fix procd_lock() when prepare_roofs

This fixes the following errors when doing "make package/install"

    /home/yousong/git-repo/lede-project/lede/build_dir/target-mips_24kc_musl/root-malta/lib/functions/procd.sh: line 47: /home/yousong/git-repo/l
    ede-project/lede/build_dir/target-mips_24kc_musl/root-malta/var/lock/procd_urandom_seed.lock: No such file or directory
    flock: 1000: Bad file descriptor

Fixes FS#1260

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
include/rootfs.mk
package/system/procd/Makefile
package/system/procd/files/procd.sh