Add support for --overlay and --rsync-{src,dest} to build and osc.
authorJan-Simon Möller <jansimon.moeller@opensuse.org>
Tue, 18 Aug 2009 21:28:33 +0000 (21:28 +0000)
committerJan-Simon Möller <jansimon.moeller@opensuse.org>
Tue, 18 Aug 2009 21:28:33 +0000 (21:28 +0000)
commit9b4f23a5871ee47cca191a5320e061145c3513d8
treec9574c45f22c094df9a92ba2b33562f79c8844eb
parent3f60d99b27c53621b027c1b4e2c1bb0788bb6129
Add support for --overlay and --rsync-{src,dest} to build and osc.
--overlay OVERLAY
              Copy overlay filesystem to buildroot after installing
              all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
              Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
              inside the buildroot using rsync.
              It will "%define RSYNCDONE 1" for handling %setup in your
              specfile. E.g.:
              %prep
              %if 0%{?RSYNCDONE}
              %setup -n aaa_base -T -D -b 5 -b 7
              %else
              %setup -n aaa_base -b 5 -b 7
              %endif
--rsync-dest RSYNCDEST

Todo: tell rpmbuild not to delete the folders.
build