Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
Re: [opensuse-buildservice] [osc] patch to support overlay filesystem - RFC
  • From: Luke Imhoff <luke@xxxxxxxx>
  • Date: Wed, 12 Aug 2009 08:16:11 -0500
  • Message-id: <4A82C09B.1020901@xxxxxxxx>
Jan-Simon Möller wrote:
Am Tuesday 11 August 2009 20:15:05 schrieb David Greaves:
Luke Imhoff wrote:
Maybe this goes against the philosphy of the build script, but couldn't
you use rsync instead of taring and untaring? This would help with a
use case where our users are complaining about having to tar and untar
big things, like the kernel-source, when doing development. We could
just treat their Subversion workareas as the overlay directory and
overlay it where kernel-source.tar.bz2 would be untarred normally. This
would necessitate specifying the root of the overlay in the chroot
though, so may make this overcomplicated.
I could use that for Qt too:

--overlay <source path>[ = <target path>]

where <target path> defaults to / but would often be /usr/src/packages/BUILD

Ok, a version using rsync is working, but its not that easy ;) - atm I'm testing
rpm build and rpmbuild will do %prep and %setup . This inclues a "rm <name-version>; tar -xf name-version.tar". So the rsynced tree is lost :P .

Assuming the rsynced tree needs no patches and setup and stuff, I'll handle that
for rpm, but we've to see how debian extracts the sources and if it can be

Yes, I know about the %setup issue. I haven't found a generic solution. Also to save the make build products you have to skip %clean also. The kernel has a non-standard %prep, so it's not the best one to find a generic solution.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups