0006-Also-create-run-lock-subsys-directory.patch 934 B

1234567891011121314151617181920212223242526272829
  1. From 49e5929b468f604d80a0c04a6ce78eb96ca36090 Mon Sep 17 00:00:00 2001
  2. From: Norbert Lange <nolange79@gmail.com>
  3. Date: Sun, 9 Jan 2022 00:22:40 +0100
  4. Subject: [PATCH] Also create /run/lock/subsys directory
  5. Buildroot service scripts regularly use this directory, so
  6. create it in the most appropriate spot.
  7. Signed-off-by: Norbert Lange <nolange79@gmail.com>
  8. ---
  9. sh/init.sh.Linux.in | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
  12. index e8afc1fb..662ab223 100644
  13. --- a/sh/init.sh.Linux.in
  14. +++ b/sh/init.sh.Linux.in
  15. @@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then
  16. fi
  17. checkpath -d "$RC_SVCDIR"
  18. -checkpath -d -m 0775 -o root:daemon /run/lock
  19. +checkpath -d -m 0775 -o root:daemon /run/lock /run/lock/subsys
  20. # Try to mount xenfs as early as possible, otherwise rc_sys() will always
  21. # return RC_SYS_XENU and will think that we are in a domU while it's not.
  22. --
  23. 2.34.1