copy daemon manually because it is located in RPM_BUILD_ROOT

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=119
This commit is contained in:
Olaf Hering 2012-09-28 12:27:59 +00:00 committed by Git OBS Bridge
parent 106a7548c9
commit ff272dcc4a
2 changed files with 4 additions and 1 deletions

View File

@ -86,7 +86,6 @@
#%programs: ip
#%programs: date
#%programs: valgrind
#%programs: guestfsd
#%programs: find
#%programs: xargs
#%programs: setctsid

View File

@ -2,6 +2,10 @@
#%stage: block
#
# copy daemon manually because it is located in RPM_BUILD_ROOT
mkdir -vp $tmp_mnt/usr/sbin
cp_bin $(type -p guestfsd) $tmp_mnt/usr/sbin
# many guestfish commands need a mount point
# in guestfsd the mount point defaults to /sysroot
mkdir -vp $tmp_mnt/sysroot