diff options
-rwxr-xr-x | meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts index 1f3e692029..a94a769b59 100755 --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | |||
@@ -81,7 +81,7 @@ remove_rcsd_link=1 | |||
81 | if $pm_installed; then | 81 | if $pm_installed; then |
82 | case $pm in | 82 | case $pm in |
83 | "ipk") | 83 | "ipk") |
84 | if ! `fcntl-lock --wait 30 /run/opkg.lock true`; then | 84 | if ! `flock --fcntl --wait 30 /run/opkg.lock true`; then |
85 | eval echo "Unable to obtain the opkg lock, deadlock?" $append_log | 85 | eval echo "Unable to obtain the opkg lock, deadlock?" $append_log |
86 | fi | 86 | fi |
87 | if ! eval "opkg configure $append_log"; then | 87 | if ! eval "opkg configure $append_log"; then |
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb index 5486f89ae7..f581ff3636 100644 --- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb +++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | |||
@@ -12,7 +12,7 @@ S = "${UNPACKDIR}" | |||
12 | 12 | ||
13 | inherit allarch systemd update-rc.d | 13 | inherit allarch systemd update-rc.d |
14 | 14 | ||
15 | RDEPENDS:${PN} = "util-linux-fcntl-lock" | 15 | RDEPENDS:${PN} = "util-linux-flock" |
16 | 16 | ||
17 | INITSCRIPT_NAME = "run-postinsts" | 17 | INITSCRIPT_NAME = "run-postinsts" |
18 | INITSCRIPT_PARAMS = "start 99 S ." | 18 | INITSCRIPT_PARAMS = "start 99 S ." |