# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 25 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/stage1/stage1-preclean-chroot.sh,
+ targets/stage2/stage2-preclean-chroot.sh,
+ targets/stage3/stage3-preclean-chroot.sh,
+ targets/stage4/stage4-preclean-chroot.sh,
+ targets/support/chroot-functions.sh:
+ Remove the die on LIBDIR check, since it won't be set on non-multilib
+ profiles. We can now run debug in preclean again.
+
25 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/functions.sh:
Let's not try to chmod a dangling symlink.
#!/bin/bash
-export RUN_DEFAULT_FUNCS="no"
-
source /tmp/chroot-functions.sh
-# Since we didn't run the default functions, we call a couple here.
-update_env_settings
-setup_myfeatures
-
# Now, some finishing touches to initialize gcc-config....
unset ROOT
#!/bin/bash
-export RUN_DEFAULT_FUNCS="no"
-
source /tmp/chroot-functions.sh
-# Since we didn't run the default functions, we call a couple here.
-update_env_settings
-setup_myfeatures
-
cleanup_stages
if [ -n "${clst_CCACHE}" ]
#!/bin/bash
-export RUN_DEFAULT_FUNCS="no"
-
source /tmp/chroot-functions.sh
-# Since we didn't run the default functions, we call a couple here.
-update_env_settings
-setup_myfeatures
-
cleanup_stages
if [ -n "${clst_CCACHE}" ]
#!/bin/bash
-export RUN_DEFAULT_FUNCS="no"
-
source /tmp/chroot-functions.sh
-# Since we didn't run the default functions, we call a couple here.
-update_env_settings
-setup_myfeatures
-
if [ -n "${clst_DISTCC}" ]
then
cleanup_distcc
echo "STAGE1_USE: $(portageq envvar STAGE1_USE)"
echo
echo "USE (profile): $(portageq envvar USE)"
- echo "USE (stage1): ${USE}"
echo "FEATURES (profile): $(portageq envvar FEATURES)"
- echo "FEATURES (stage1): ${FEATURES}"
echo
echo "ARCH: $(portageq envvar ARCH)"
echo "CHOST: $(portageq envvar CHOST)"
echo "CFLAGS: $(portageq envvar CFLAGS)"
echo
- echo "PROFILE_ARCH: $(portageq envvar PROFILE_ARCH)"
- echo
+ echo "These should be blank on non-multilib profiles."
echo "ABI: $(portageq envvar ABI)"
echo "DEFAULT_ABI: $(portageq envvar DEFAULT_ABI)"
echo "KERNEL_ABI: $(portageq envvar KERNEL_ABI)"
- echo "MULTILIB_ABIS: $(portageq envvar MULTILIB_ABIS)"
- echo
echo "LIBDIR: $(get_libdir)"
+ echo "MULTILIB_ABIS: $(portageq envvar MULTILIB_ABIS)"
+ echo "PROFILE_ARCH: $(portageq envvar PROFILE_ARCH)"
echo
fi
- [ -z "$(get_libdir)" ] && \
- echo "Your profile is broken! LIBDIR is empty!" && exit 1
}
run_default_funcs() {