mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
util-linux: upgrade to version 2.17.2
from 2.17
changes:
- clarify license. the package does contains a standalone utility
called lscpu that is under GPLv3+, fortunately it's note packaged
as for now
- the installation path of getopt has changed
todo:
- move libblkid and libuuid into separate packages
Signed-off-by: Qing He <qing.he@intel.com>
This commit is contained in:
23
meta/packages/util-linux/util-linux-2.17.2/util-linux-ng-replace-siginterrupt.patch
vendored
Normal file
23
meta/packages/util-linux/util-linux-2.17.2/util-linux-ng-replace-siginterrupt.patch
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
Index: util-linux-ng-2.14/login-utils/login.c
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/login-utils/login.c 2008-05-28 16:01:02.000000000 -0700
|
||||
+++ util-linux-ng-2.14/login-utils/login.c 2009-03-04 18:31:42.000000000 -0800
|
||||
@@ -358,6 +358,7 @@
|
||||
char *childArgv[10];
|
||||
char *buff;
|
||||
int childArgc = 0;
|
||||
+ struct sigaction act;
|
||||
#ifdef HAVE_SECURITY_PAM_MISC_H
|
||||
int retcode;
|
||||
pam_handle_t *pamh = NULL;
|
||||
@@ -373,7 +374,9 @@
|
||||
pid = getpid();
|
||||
|
||||
signal(SIGALRM, timedout);
|
||||
- siginterrupt(SIGALRM,1); /* we have to interrupt syscalls like ioclt() */
|
||||
+ (void) sigaction(SIGALRM, NULL, &act);
|
||||
+ act.sa_flags &= ~SA_RESTART;
|
||||
+ sigaction(SIGALRM, &act, NULL);
|
||||
alarm((unsigned int)timeout);
|
||||
signal(SIGQUIT, SIG_IGN);
|
||||
signal(SIGINT, SIG_IGN);
|
||||
Reference in New Issue
Block a user