Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143724 - sys-apps/busybox: ${S} in pkg_postinst
Summary: sys-apps/busybox: ${S} in pkg_postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 15:46 UTC by Torsten Veller (RETIRED)
Modified: 2006-09-05 22:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2006-08-12 15:46:53 UTC
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
Comment 1 solar (RETIRED) gentoo-dev 2006-09-05 13:22:10 UTC
tove.. I'm in the middle of moving and vacation. If you could go ahead and fix this yourself that would be dandy...
Comment 2 SpanKY gentoo-dev 2006-09-05 22:14:20 UTC
should be fixed in cvs now ... i have the .config work like the busybox symlinks