[opensuse-buildservice] Preserving ~/rpmbuild/BUILDROOT/* contents after osc build
Hi, Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build? It looks like osc build cleans up that directory once it has built the rpm files. However, I would like to examine the ~/rpmbuild/BUILDROOT/ directory to address some rpmlint warnings. Alternatively, does anyone know if it is possible to use 'osc' to run only specific parts of the build process? for example, I would like to run configure->build->install and stop there. Any ideas? I believe that's a useful feature(s) to have so if there is currently no way to achieve that I will open a bug report. -- Markos Chandras SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 2016-04-19 09:21, Markos Chandras wrote:
Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build?
%clean : it's rpm which removes it. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 04/19/2016 09:00 AM, Jan Engelhardt wrote:
On Tuesday 2016-04-19 09:21, Markos Chandras wrote:
Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build?
%clean :
it's rpm which removes it.
That is true but I was hoping for a solution without spec file modifications. -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
在 2016年4月19日,15:21,Markos Chandras <mchandras@suse.de> 写道:
Hi,
Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build? It looks like osc build cleans up that directory once it has built the rpm files. However, I would like to examine the ~/rpmbuild/BUILDROOT/ directory to address some rpmlint warnings.
osc build. It does the same thing locally without deleting the buildroot. You can then find the buildroot in /var/tmp
Alternatively, does anyone know if it is possible to use 'osc' to run only specific parts of the build process? for example, I would like to run configure->build->install and stop there.
In specfile, add a false statement after make install eg make install || false
Any ideas? I believe that's a useful feature(s) to have so if there is currently no way to achieve that I will open a bug report.
-- Markos Chandras
SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 20. April 2016, 12:11:43 wrote marguerite:
在 2016年4月19日,15:21,Markos Chandras <mchandras@suse.de> 写道:
Hi,
Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build? It looks like osc build cleans up that directory once it has built the rpm files. However, I would like to examine the ~/rpmbuild/BUILDROOT/ directory to address some rpmlint warnings.
osc build. It does the same thing locally without deleting the buildroot. You can then find the buildroot in /var/tmp
that is right, but rpm-build does. Add something like %clean exit 0 to your spec file to skip the cleanup of BUILDROOT.
Alternatively, does anyone know if it is possible to use 'osc' to run only specific parts of the build process? for example, I would like to run configure->build->install and stop there.
In specfile, add a false statement after make install eg
make install || false
Any ideas? I believe that's a useful feature(s) to have so if there is currently no way to achieve that I will open a bug report.
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Jan Engelhardt
-
marguerite
-
Markos Chandras