From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 481487381B for ; Tue, 3 Mar 2015 21:32:45 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t23LWkd9017176 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 3 Mar 2015 13:32:47 -0800 (PST) Received: from yow-rwoolley-lx.wrs.com (128.224.146.40) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.224.2; Tue, 3 Mar 2015 13:32:46 -0800 From: Rob Woolley To: Date: Tue, 3 Mar 2015 16:32:45 -0500 Message-ID: <1425418365-16648-3-git-send-email-rob.woolley@windriver.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1425418365-16648-1-git-send-email-rob.woolley@windriver.com> References: <1425418365-16648-1-git-send-email-rob.woolley@windriver.com> MIME-Version: 1.0 Subject: [PATCH 2/2] logrotate: Identify CONFFILES X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 21:32:50 -0000 Content-Type: text/plain Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. Explicitly list the configuration files. Signed-off by: Rob Woolley --- meta/recipes-extended/logrotate/logrotate_3.8.8.bb +++ meta/recipes-extended/logrotate/logrotate_3.8.8.bb @@ -27,6 +27,8 @@ PACKAGECONFIG ?= "\ PACKAGECONFIG[acl] = ",,acl" PACKAGECONFIG[selinux] = ",,libselinux" +CONFFILES_${PN} += "/var/lib/logrotate.status /etc/logrotate.conf" + # If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our # optimization variables, so use it rather than EXTRA_CFLAGS. EXTRA_OEMAKE = "\