summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017696.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017696.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017696.html125
1 files changed, 125 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017696.html b/zarb-ml/mageia-dev/2012-July/017696.html
new file mode 100644
index 000000000..43de29860
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017696.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20My%20feeeling%20about%20the%0A%20rpmlib%28X-CheckUnifiedSystemdir%29%20dependency&In-Reply-To=%3Calpine.LMD.2.02.1207261049360.12861%40zem.cjw.nep%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="017695.html">
+ <LINK REL="Next" HREF="017698.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency</H1>
+ <B>Christiaan Welvaart</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20My%20feeeling%20about%20the%0A%20rpmlib%28X-CheckUnifiedSystemdir%29%20dependency&In-Reply-To=%3Calpine.LMD.2.02.1207261049360.12861%40zem.cjw.nep%3E"
+ TITLE="[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency">cjw at daneel.dyndns.org
+ </A><BR>
+ <I>Thu Jul 26 11:24:14 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017695.html">[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency
+</A></li>
+ <LI>Next message: <A HREF="017698.html">[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17696">[ date ]</a>
+ <a href="thread.html#17696">[ thread ]</a>
+ <a href="subject.html#17696">[ subject ]</a>
+ <a href="author.html#17696">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thu, 26 Jul 2012, Olivier Thauvin wrote:
+
+&gt;<i> I do think the way we enforce the need of migrate to /usr fs is just an
+</I>&gt;<i> abuse of rpm.
+</I>
+Agreed, I think it even changes the rpmlib ABI/API. rpmlib() deps are
+used for features supplied by rpmlib itself, while rpm does not maintain
+/bin /lib etc. Technically, all rpmlib() provides are implemented in
+rpmdsRpmlib() but filesystem checks cannot be done there because they
+depend on the rootdir used, which is not supplied to this function.
+
+&gt;<i> By using the a rpmlib() dependency we create in fact this dependency
+</I>&gt;<i> tree:
+</I>&gt;<i> filesystem =&gt; rpm with X-CheckUnifiedSystemdir patch =&gt; check fs
+</I>&gt;<i> whereas we want:
+</I>&gt;<i> filesystem =&gt; check fs
+</I>&gt;<i>
+</I>&gt;<i> THere another to perform the check w/o needing patch in rpm (so w/o
+</I>&gt;<i> needing a specific rpm first): using pre script.
+</I>&gt;<i>
+</I>&gt;<i> If the %pre script failed rpm will refuse to install the rpm, so
+</I>&gt;<i> something like that:
+</I>
+Does that cancel the whole transaction?
+
+Another option is to use a dummy package, e.g.
+usrmovecheck-1-1.mga3.noarch.rpm whis is *not* put in the repository.
+Instead, the dracut conversion script installs it from /usr/share/...
+after a succesful filesystem conversion. The installer must also install
+this dummy package before regular package installation(...). The
+filesystem pkg can then depend on (for example)
+&quot;usr_move_required-see_mga3_release_notes&quot; which usrmovecheck provides.
+The latter pkg has a pre check on /bin /lib etc. not being real
+directories, but maybe it should not complain if they're missing (they are
+formally provided by the filesystem pkg which depends on the check pkg,
+creating a circular dep).
+
+
+ Christiaan
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="017695.html">[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency
+</A></li>
+ <LI>Next message: <A HREF="017698.html">[Mageia-dev] My feeeling about the rpmlib(X-CheckUnifiedSystemdir) dependency
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17696">[ date ]</a>
+ <a href="thread.html#17696">[ thread ]</a>
+ <a href="subject.html#17696">[ subject ]</a>
+ <a href="author.html#17696">[ 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>