Closed TheGreatMcPain closed 4 years ago
Thanks - my test machine has symlinks for the old locations so I missed this issue ><
PS: I guess $(portageq distdir)
would also work to get the canonical directory, but your approach works fine too.
Merging now.
I never thought about doing $(portageq distdir)
. Can I make a new pull-request since I think using portageq
would be much more cleaner?
I tested $(portageq distdir)
, and ran into the same issue I had when I tried echo $DISTDIR
. They both return\
/var/tmp/portage/sys-kernel/genkernel-next-70-r1/distdir
.
The patch that updates busybox uses the old
DISTDIR
default, which is/usr/portage/distfiles
, and requires the user to modifygenkernel.conf
so that it matches the current defaultDISTDIR
, which is/var/cache/distfiles
.To get around needing to manually modify
genkernel.conf
I've modified the ebuild so that it will automatically change the location of busybox's source tarball ingenkernel.conf
to whateverDISTDIR
is set to.