Skip to content

Commit

Permalink
logrotate: add logrotate.d to conffiles definition
Browse files Browse the repository at this point in the history
Currently the contents of logrotate.d is not kept across sysupgrades.
Add this directory to the conffiles definition to ensure its content is
maintained.

Bump the release as well.

Signed-off-by: Matthew Hagan <[email protected]>
  • Loading branch information
clayface committed Dec 19, 2021
1 parent cb92298 commit 437bbb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/logrotate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=logrotate
PKG_VERSION:=3.17.0
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/logrotate/logrotate/releases/download/$(PKG_VERSION)
Expand Down Expand Up @@ -49,6 +49,7 @@ endef

define Package/logrotate/conffiles
/etc/logrotate.conf
/etc/logrotate.d
endef

CONFIGURE_ARGS += \
Expand Down

0 comments on commit 437bbb3

Please sign in to comment.