# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 04 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ modules/generic_stage_target.py, modules/livecd_stage1_target.py,
+ targets/stage1/stage1-chroot.sh, targets/support/chroot-functions.sh:
+ Added USE=bindist automatically to everything that inherits set_use from
+ generic_stage_target, added USE=bindist to livecd_stage1_target, added
+ USE=bindist to emerge run for stage1, and did some minor cleanup in
+ get_libdir in chroot-functions.
+
03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
targets/support/bootloader-setup.sh:
Add splashimage= line to grub.conf if /boot/grub/splash.xpm.gz exists
if self.settings.has_key("use"):
if type(self.settings["use"])==types.StringType:
self.settings["use"]=self.settings["use"].split()
+ self.settings["use"].append("bindist")
def set_stage_path(self):
self.settings["stage_path"]=normpath(self.settings["chroot_path"])
generic_stage_target.set_use(self)
if self.settings.has_key("use"):
self.settings["use"].append("livecd")
+ self.settings["use"].append("bindist")
else:
self.settings["use"]=["livecd"]
+ self.settings["use"].append("bindist")
def set_packages(self):
generic_stage_target.set_packages(self)
run_emerge "--oneshot --nodeps virtual/baselayout"
-run_emerge "--noreplace --oneshot ${clst_buildpkgs}"
+USE="bindist" run_emerge "--noreplace --oneshot ${clst_buildpkgs}"
rm -f /var/lib/portage/world
touch /var/lib/portage/world
}
get_libdir() {
+ ABI=$(portageq envvar ABI)
DEFAULT_ABI=$(portageq envvar DEFAULT_ABI)
LIBDIR_default=$(portageq envvar LIBDIR_default)
- MULTILIB_ABIS=${MULTILIB_ABIS:-"default"}
- export DEFAULT_ABI=${DEFAULT_ABI:-"default"}
- export LIBDIR_default=${CONF_LIBDIR:-"lib"}
local abi
if [ $# -gt 0 ]
fi
}
-
setup_portage(){
# portage needs to be merged manually with USE="build" set to avoid frying
# our make.conf. emerge system could merge it otherwise.