Browse Source

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>
lilik-openwrt-22.03
Dirk Neukirchen 4 years ago
parent
commit
09ee530d7f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      admin/backuppc/Makefile

+ 2
- 1
admin/backuppc/Makefile View File

@ -54,7 +54,8 @@ define Package/backuppc/install
--bin-path smbclient=/usr/sbin/smbclient --bin-path nmblookup=/usr/sbin/nmblookup \ --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 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 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 $(INSTALL_DIR) $(strip $(1))/usr/share/backuppc/conf
chmod 755 $(strip $(1))/data chmod 755 $(strip $(1))/data
mv $(strip $(1))/data/backuppc/conf/config.pl $(strip $(1))/usr/share/backuppc/conf/config.pl mv $(strip $(1))/data/backuppc/conf/config.pl $(strip $(1))/usr/share/backuppc/conf/config.pl


Loading…
Cancel
Save