forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysupgrade: Allow packages to specify their own ignore patterns
The file /etc/sysignore.conf gives a global list of files patterns to exclude from backup, but this list may become lengthy and challenging to maintain in a single location. As packages may specify their own files and directories to backup, it makes sense that they can also manage their own rules of exclusion from that list. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
- Loading branch information
1 parent
d1351a5
commit 2d5d427
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
package/base-files/files/lib/upgrade/ignore.d/base-files-essential
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Files that should never be backed up | ||
|
||
core\.[1-9] | ||
core\.[1-9][0-9] | ||
core\.[1-9][0-9][0-9] | ||
core\.[1-9][0-9][0-9][0-9] | ||
core\.[1-9][0-9][0-9][0-9][0-9] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters