In openrc-0.2.4-r1.ebuild, there is the following; # /etc/conf.d/clock moved to /etc/conf.d/hwclock local clock use kernel_FreeBSD && clock="adjkerntz" || clock="hwclock" if [[ -e ${ROOT}/etc/conf.d/clock ]] ; then mv "${ROOT}"/etc/conf.d/clock "${ROOT}"/etc/conf.d/${clock} fi followed a little later by; # upgrade timezone file if [[ -e ${ROOT}/etc/conf.d/clock && ! -e ${ROOT}/etc/timezone ]] ; then ( source "${ROOT}"/etc/conf.d/clock [[ -n ${TIMEZONE} ]] && echo "${TIMEZONE}" > "${ROOT}"/etc/timezone ) fi The second part is never executed, because ${ROOT}/etc/conf.d/clock has already been moved by the first... Reproducible: Always
Created attachment 153701 [details] source /etc/conf.d/clock BEFORE moving ir Updated ebuild, simply moving the section which creates /etc/timezone before the section which moves /etc/conf.d/clock
Comment on attachment 153701 [details] source /etc/conf.d/clock BEFORE moving ir do not post complete files ... it makes it a pain for developers to review. post diffs.
fixed in cvs, thanks for the report/fix http://sources.gentoo.org/sys-apps/openrc/openrc-0.2.5.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-apps/openrc/openrc-9999.ebuild?r1=1.33&r2=1.34