Skip to contentSkip to conversation

package/sysklogd: install syslogd to /sbin and logger to /usr/bin

PATCH New Joachim Wiberg 2 participants 2 messages Jan 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sysklogd: install syslogd to /sbin and logger to /usr/bin

Replace --exec-prefix, which applies to both sbin and bin, with the more granular --bindir for logger and --sbindir for syslogd. This because BusyBox installs its syslgod in /sbin and its logger in /usr/bin.

---
 package/sysklogd/sysklogd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sysklogd/sysklogd.mk +1 -1
index 18d30400e1..de5ae17227 100644
@@ -10,7 +10,7 @@ SYSKLOGD_LICENSE = BSD-3-Clause
 SYSKLOGD_LICENSE_FILES = LICENSE
 SYSKLOGD_CPE_ID_VALID = YES
 SYSKLOGD_CONF_OPTS = \
-	--exec-prefix=/ \
+	--bindir=/usr/bin --sbindir=/sbin \
 	--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
 
 # Disable/Enable utilities
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/sysklogd: install syslogd to /sbin and logger to /usr/bin

Joachim, All,

On 2021-01-24 16:34 +0100, Joachim Wiberg spake thusly:

Quoted 5 lines

Replace --exec-prefix, which applies to both sbin and bin, with the more granular --bindir for logger and --sbindir for syslogd. This because BusyBox installs its syslgod in /sbin and its logger in /usr/bin.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/sysklogd/sysklogd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sysklogd/sysklogd.mk +1 -1
index 18d30400e1..de5ae17227 100644
@@ -10,7 +10,7 @@ SYSKLOGD_LICENSE = BSD-3-Clause
 SYSKLOGD_LICENSE_FILES = LICENSE
 SYSKLOGD_CPE_ID_VALID = YES
 SYSKLOGD_CONF_OPTS = \
-	--exec-prefix=/ \
+	--bindir=/usr/bin --sbindir=/sbin \
 	--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
 
 # Disable/Enable utilities
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'