SHA256
1
0
forked from pool/systemd

Accepting request 155543 from home:lnussel:branches:Base:System

- disable nss-myhostname warning (bnc#783841)
  => disable-nss-myhostname-warning-bnc-783841.diff

- disable nss-myhostname warning (bnc#783841)
  => disable-nss-myhostname-warning-bnc-783841.diff

OBS-URL: https://build.opensuse.org/request/show/155543
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=346
This commit is contained in:
Frederic Crozat 2013-02-15 14:53:23 +00:00 committed by Git OBS Bridge
parent 6a1d711f33
commit 5b2ebd0bfd
5 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From 33db05b6bd6151c482f5efe01f2a6118efc82fde Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Tue, 12 Feb 2013 17:24:35 +0100
Subject: [PATCH] disable nss-myhostname warning (bnc#783841)
---
src/hostname/hostnamed.c | 1 +
1 Datei geändert, 1 Zeile hinzugefügt(+)
Index: systemd-195/src/hostname/hostnamed.c
===================================================================
--- systemd-195.orig/src/hostname/hostnamed.c
+++ systemd-195/src/hostname/hostnamed.c
@@ -124,6 +124,7 @@ static int read_data(void) {
static bool check_nss(void) {
void *dl;
+ return true;
if ((dl = dlopen("libnss_myhostname.so.2", RTLD_LAZY))) {
dlclose(dl);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de
- disable nss-myhostname warning (bnc#783841)
=> disable-nss-myhostname-warning-bnc-783841.diff
-------------------------------------------------------------------
Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com

View File

@ -264,6 +264,8 @@ Patch124: systemd-fix-merge-ignore-dependencies.patch
Patch125: journalctl-require-argument-for-priority
# PATCH-FIX-UPSTREAM cryptsetup-accept-read-only.patch fcrozat@suse.com -- Accept read-only as well as readonly as parameters for crypttab
Patch126: cryptsetup-accept-read-only.patch
# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841)
Patch127: disable-nss-myhostname-warning-bnc-783841.diff
# udev patches
# PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch
@ -495,6 +497,7 @@ cp %{SOURCE7} m4/
%patch1021 -p1
%patch1022 -p1
%patch1023 -p1
%patch1024 -p1
#systemd
%patch1 -p1
@ -585,6 +588,7 @@ cp %{SOURCE7} m4/
%patch124 -p1
%patch125 -p1
%patch126 -p1
%patch127 -p1
%build
autoreconf -fiv

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de
- disable nss-myhostname warning (bnc#783841)
=> disable-nss-myhostname-warning-bnc-783841.diff
-------------------------------------------------------------------
Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com

View File

@ -259,6 +259,8 @@ Patch124: systemd-fix-merge-ignore-dependencies.patch
Patch125: journalctl-require-argument-for-priority
# PATCH-FIX-UPSTREAM cryptsetup-accept-read-only.patch fcrozat@suse.com -- Accept read-only as well as readonly as parameters for crypttab
Patch126: cryptsetup-accept-read-only.patch
# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841)
Patch127: disable-nss-myhostname-warning-bnc-783841.diff
# udev patches
# PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch
@ -580,6 +582,7 @@ cp %{SOURCE7} m4/
%patch124 -p1
%patch125 -p1
%patch126 -p1
%patch127 -p1
%build
autoreconf -fiv