mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
License-Update: =============== GPL-1.0-or-later is added. fdisk.c is licensed under it. 0001-lscpu-Use-4K-buffer-size-instead-of-BUFSIZ.patch is dropped as it's been in the new version. (From OE-Core rev: 9a0bd46e6988b2da446f89864131639dde63c6d0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
947 B
Diff
33 lines
947 B
Diff
From c79222a9a5e3425c55e150edc0b7ac59c573aa2f Mon Sep 17 00:00:00 2001
|
|
From: Phil Blundell <pb@pbcl.net>
|
|
Date: Mon, 24 Sep 2012 07:24:51 +0100
|
|
Subject: [PATCH] util-linux: Ensure that ${sbindir} is respected
|
|
|
|
util-linux: take ${sbindir} from the environment if it is set there
|
|
fix the test, the [ ] syntax was getting eaten by autoconf
|
|
|
|
Signed-off-by: Phil Blundell <pb@pbcl.net>
|
|
Signed-off-by: Saul Wold <sgw@linux.intel.com
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
---
|
|
configure.ac | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 36c24b4..890212f 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -102,7 +102,10 @@ AC_SUBST([runstatedir])
|
|
usrbin_execdir='${exec_prefix}/bin'
|
|
AC_SUBST([usrbin_execdir])
|
|
|
|
-usrsbin_execdir='${exec_prefix}/sbin'
|
|
+if test -z "$usrsbin_execdir" ;
|
|
+then
|
|
+ usrsbin_execdir='${exec_prefix}/sbin'
|
|
+fi
|
|
AC_SUBST([usrsbin_execdir])
|
|
|
|
AS_CASE([$libdir],
|