From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Q0B4j-0001BH-QD for openembedded-devel@lists.openembedded.org; Thu, 17 Mar 2011 12:09:05 +0100 Received: from cambridge.roku.com ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q0B35-0002t9-RL for openembedded-devel@lists.openembedded.org; Thu, 17 Mar 2011 12:07:24 +0100 From: Phil Blundell To: openembedded-devel@lists.openembedded.org In-Reply-To: <201103171154.23397.pgsellmann@portner-elektronik.at> References: <201103171154.23397.pgsellmann@portner-elektronik.at> Date: Thu, 17 Mar 2011 11:10:58 +0000 Message-ID: <1300360258.2132.14668.camel@phil-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: [PATCH 3/3] base-files-3.0.14 configuration files X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 11:09:05 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2011-03-17 at 11:54 +0100, Peter Gsellmann wrote: > Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading I wonder if it would make sense to mark everything in ${sysconfdir} and ${sysconfdir}/default (but probably not other subdirs) as a conffile automatically. I don't think there are many/any files in there that wouldn't want conffile treatment. > -CONFFILES_${PN} = "${sysconfdir}/fstab ${sysconfdir}/hostname" > +CONFFILES_${PN} = "${sysconfdir}/fstab ${sysconfdir}/hostname ${sysconfdir}/motd \ > + ${sysconfdir}/profile ${sysconfdir}/nsswitch.conf ${sysconfdir}/host.conf" > CONFFILES_${PN}_micro = "" > CONFFILES_${PN}_nylon = "${sysconfdir}/resolv.conf ${sysconfdir}/fstab ${sysconfdir}/hostname" > CONFFILES_${PN}_slugos = "${sysconfdir}/resolv.conf ${sysconfdir}/fstab ${sysconfdir}/hostname" Those DISTRO overrides look a bit weird too. I wonder if the slugos and nylon ones ought really to be "CONFFILES_${PN}_prepend_DISTRO" or something. The intent of the micro one is fairly clear although I can't immediately think why this would be useful given that micro doesn't use O_P_M. p.