Browse Source

sysmocom-backup: Fix creating of back-ups for external files

* The file we install is called default.files and not *.backup
* Spotted by Lazlo while creating a backup on the latest system
laforge/owhw2
Holger Hans Peter Freyther 6 years ago
parent
commit
dc69479f0f
  1. 2
      recipes-apps/sysmocom-backup/files/sysmocom-backup
  2. 2
      recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb

2
recipes-apps/sysmocom-backup/files/sysmocom-backup

@ -7,7 +7,7 @@ FILES="etc/sysmocom/backup.d"
# Pick some extra files
if [ -e /etc/sysmocom/backup.d/ ]; then
for extra in `ls /etc/sysmocom/backup.d/*.backup`;
for extra in `ls /etc/sysmocom/backup.d/*.files`;
do
echo "Add extras from $extra."
FILES="$FILES `cat $extra`"

2
recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb

@ -1,7 +1,7 @@
DESCRIPTION = "sysmocom config backup and restore scripts"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r12"
PR = "r13"
SRC_URI = " \
file://sysmocom-backup \

Loading…
Cancel
Save