Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On 29.01.2013 18:59, Thierry Vignaud wrote: On 26 January 2013 22:33, Thierry Vignaud thierry.vign...@gmail.com wrote: Check-in debuginfo-install I think we should check if Core Release Debug is enabled (same for core testing/updates debug ones as well non-free/tainted if enabled) If those debug media are not enabled, then update them and use them temporary also, I think there's another script already existing in packagekit See /usr/bin/abrt-debuginfo-install /usr/bin/pk-debuginfo-install Hello, What is the proposition to resolve the gdb message? Regards,
Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On 3 February 2013 23:46, Kamil Rytarowski n...@gmx.com wrote: Check-in debuginfo-install I think we should check if Core Release Debug is enabled (same for core testing/updates debug ones as well non-free/tainted if enabled) If those debug media are not enabled, then update them and use them temporary also, I think there's another script already existing in packagekit See /usr/bin/abrt-debuginfo-install /usr/bin/pk-debuginfo-install Hello, What is the proposition to resolve the gdb message? to look at what already exist, see if it works
Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On 26 January 2013 22:33, Thierry Vignaud thierry.vign...@gmail.com wrote: Check-in debuginfo-install I think we should check if Core Release Debug is enabled (same for core testing/updates debug ones as well non-free/tainted if enabled) If those debug media are not enabled, then update them and use them temporary also, I think there's another script already existing in packagekit See /usr/bin/abrt-debuginfo-install /usr/bin/pk-debuginfo-install
Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On 26.01.2013 23:14, Pascal Terjan wrote: You can run urpmq only once with all the args but as the packages are installed, I would just use rpmquery urpmi $(rpmquery --qf %{SOURCERPM}\n $@ | sed 's/-[^-]*-[^-]*$/-debuginfo/') That should make things faster :) Yes, this works quicker. I have pinged the following bug thread and marked it as a release-blocker https://bugs.mageia.org/show_bug.cgi?id=8555 Regards,
Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On 26 January 2013 17:22, r...@mageia.org wrote: Check-in debuginfo-install I think we should check if Core Release Debug is enabled (same for core testing/updates debug ones as well non-free/tainted if enabled) If those debug media are not enabled, then update them and use them temporary also, I think there's another script already existing in packagekit Added: rpm/debuginfo-install/trunk/debuginfo-install === --- rpm/debuginfo-install/trunk/debuginfo-install (rev 0) +++ rpm/debuginfo-install/trunk/debuginfo-install 2013-01-26 16:22:26 UTC (rev 7213) @@ -0,0 +1,14 @@ +#!/usr/bin/sh +# Kamil Rytarowski 2012, kamil AT mageia DOT org | n54 AT gmx DOT com +# Any copyright is dedicated to the Public Domain. +# http://creativecommons.org/publicdomain/zero/1.0/ + +urpmi_args= + +while [ $1 ]; do + new_arg=`urpmq --sourcerpm $1|awk -F': ' '{print $2}'|sed 's/-[^-]*-[^-]*$/-debuginfo/'` + urpmi_args=$urpmi_args $new_arg + shift +done + +urpmi $urpmi_args Property changes on: rpm/debuginfo-install/trunk/debuginfo-install ___ Added: svn:executable + *
Re: [Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install
On Sat, Jan 26, 2013 at 4:22 PM, r...@mageia.org wrote: Revision 7213 Author kamil Date 2013-01-26 17:22:26 +0100 (Sat, 26 Jan 2013) Log Message Check-in debuginfo-install Added Paths rpm/debuginfo-install/trunk/debuginfo-install Added: rpm/debuginfo-install/trunk/debuginfo-install === --- rpm/debuginfo-install/trunk/debuginfo-install (rev 0) +++ rpm/debuginfo-install/trunk/debuginfo-install 2013-01-26 16:22:26 UTC (rev 7213) @@ -0,0 +1,14 @@ +#!/usr/bin/sh +# Kamil Rytarowski 2012, kamil AT mageia DOT org | n54 AT gmx DOT com +# Any copyright is dedicated to the Public Domain. +# http://creativecommons.org/publicdomain/zero/1.0/ + +urpmi_args= + +while [ $1 ]; do + new_arg=`urpmq --sourcerpm $1|awk -F': ' '{print $2}'|sed 's/-[^-]*-[^-]*$/-debuginfo/'` + urpmi_args=$urpmi_args $new_arg + shift +done You can run urpmq only once with all the args but as the packages are installed, I would just use rpmquery urpmi $(rpmquery --qf %{SOURCERPM}\n $@ | sed 's/-[^-]*-[^-]*$/-debuginfo/') That should make things faster :)