backuppc: fix build with host detected par2

Makefile does not overwrite par2 path
if par2 is available on build-host it is detected
and then the patch with fixup-config-pl.patch
in install fails because hunk 2 cannot be applied

hunk 2 has $Conf{ParPath}   = ''; - so provide an empty path

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
This commit is contained in:
Dirk Neukirchen 2021-03-03 14:23:01 +01:00
parent 625f3c8302
commit 09ee530d7f
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ define Package/backuppc/install
--bin-path smbclient=/usr/sbin/smbclient --bin-path nmblookup=/usr/sbin/nmblookup \
--bin-path rsync=/usr/bin/rsync --bin-path ping=/usr/bin/ping --bin-path df=/bin/df \
--bin-path ssh=/usr/bin/ssh --bin-path gzip=/bin/gzip \
--bin-path sendmail=/usr/sbin/sendmail --bin-path bzip2=/usr/bin/bzip2
--bin-path sendmail=/usr/sbin/sendmail --bin-path bzip2=/usr/bin/bzip2 \
--bin-path par2=
$(INSTALL_DIR) $(strip $(1))/usr/share/backuppc/conf
chmod 755 $(strip $(1))/data
mv $(strip $(1))/data/backuppc/conf/config.pl $(strip $(1))/usr/share/backuppc/conf/config.pl