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.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel