pkg_postinst() { if use savedconfig ; then local config_dir="${PORTAGE_CONFIGROOT:-${ROOT}}/etc/portage/savedconfig" einfo "Saving this build config to ${config_dir}/${PF}.config" einfo "Read this ebuild for more info on how to take advantage of this option" mkdir -p "${config_dir}" cp "${S}"/.config "${config_dir}"/${PF}.config return 0 fi results in USE=savedconfig emerge -K busybox [...] * Saving this build config to //etc/portage/savedconfig/busybox-1.2.1.config * Read this ebuild for more info on how to take advantage of this option cp: cannot stat `/var/tmp/portage/busybox-1.2.1/work/busybox-1.2.1/.config': No such file or directory
tove.. I'm in the middle of moving and vacation. If you could go ahead and fix this yourself that would be dandy...
should be fixed in cvs now ... i have the .config work like the busybox symlinks