mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 03:47:16 +02:00
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From a620718263017ff6acd61294221e642a6dafbfc1 Mon Sep 17 00:00:00 2001
|
|
From: Clayton Craft <clayton@craftyguy.net>
|
|
Date: Tue, 17 Dec 2024 15:53:42 -0800
|
|
Subject: [PATCH] use /usr/lib path for dtbdtools
|
|
|
|
---
|
|
user/v84/drbdadm_usage_cnt.c | 2 +-
|
|
user/v9/drbdtool_common.c | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/user/v84/drbdadm_usage_cnt.c b/user/v84/drbdadm_usage_cnt.c
|
|
index af8801d..9c356f6 100644
|
|
--- a/user/v84/drbdadm_usage_cnt.c
|
|
+++ b/user/v84/drbdadm_usage_cnt.c
|
|
@@ -285,7 +285,7 @@ void add_lib_drbd_to_path(void)
|
|
m_asprintf(&new_path, "%s%s%s",
|
|
old_path,
|
|
old_path ? ":" : "",
|
|
- "/lib/drbd");
|
|
+ "/usr/lib/drbd");
|
|
setenv("PATH", new_path, 1);
|
|
}
|
|
|
|
diff --git a/user/v9/drbdtool_common.c b/user/v9/drbdtool_common.c
|
|
index d07d054..4186dcf 100644
|
|
--- a/user/v9/drbdtool_common.c
|
|
+++ b/user/v9/drbdtool_common.c
|
|
@@ -333,7 +333,7 @@ void add_component_to_path(const char *path)
|
|
void add_lib_drbd_to_path(void)
|
|
{
|
|
/* TODO: if exec-prefix != "/" ? */
|
|
- add_component_to_path("/lib/drbd");
|
|
+ add_component_to_path("/usr/lib/drbd");
|
|
}
|
|
|
|
/* from linux/crypto/crc32.c */
|
|
--
|
|
2.47.1
|
|
|