blob: dcb45a5b797f00972de8784c33e22bca7209b7a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Release blocker bugs
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F9B012F.7020104%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="014961.html">
<LINK REL="Next" HREF="014965.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Release blocker bugs</H1>
<B>Thomas Backlund</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F9B012F.7020104%40mageia.org%3E"
TITLE="[Mageia-dev] Release blocker bugs">tmb at mageia.org
</A><BR>
<I>Fri Apr 27 22:27:27 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="014961.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI>Next message: <A HREF="014965.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14964">[ date ]</a>
<a href="thread.html#14964">[ thread ]</a>
<a href="subject.html#14964">[ subject ]</a>
<a href="author.html#14964">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>27.04.2012 22:22, Thomas Backlund skrev:
><i> 26.04.2012 14:29, Guillaume Rousse skrev:
</I>><i>
</I>>><i> Actually, it's rather something for rpm-mageia-setup, which contains all
</I>>><i> other automatic dependencies handlers.
</I>>><i>
</I>>><i> Here is a quick prototype, built to be easily extendable in the future
</I>>><i> for similar cases.
</I>><i>
</I>><i> Ok, so I still need some help with this...
</I>><i>
</I>><i> adding this to /usr/lib/rpm/mageia/find-requires
</I>><i>
</I>><i>
</I>><i> # --- minimum rpm-helper required for systemd.
</I>><i> [ -x /usr/lib/rpm/mageia/rpm-helper.req -a -n "$filelist" ] && \
</I>><i> echo $filelist | tr '[:blank:]' \\n |
</I>><i> /usr/lib/rpm/mageia/rpm-helper.req | sort -u \
</I>><i> && test ${PIPESTATUS[2]} -ne 0 && echo 'error:
</I>><i> /usr/lib/rpm/mageia/rpm-helper.req failed' >&2 && exit 1
</I>><i>
</I>><i>
</I>><i>
</I>><i> gives me:
</I>><i>
</I>><i> Unsuccessful stat on filename containing newline at
</I>><i> /usr/lib/rpm/mageia/rpm-helper.req line 33, <> line 35.
</I>
Ok,so it's this that is failing:
return unless -f $file;
Do I really need that check, as I in the next line specifically check:
return if $file !~ m!/lib/systemd/system/.+\.service$!;
--
Thomas
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="014961.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI>Next message: <A HREF="014965.html">[Mageia-dev] Release blocker bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14964">[ date ]</a>
<a href="thread.html#14964">[ thread ]</a>
<a href="subject.html#14964">[ subject ]</a>
<a href="author.html#14964">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|