Skip to content

Commit

Permalink
fixes for new stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrobbins committed Aug 25, 2017
1 parent f7ea95f commit bc6c913
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/targets/stage.py
Expand Up @@ -10,7 +10,7 @@ def __init__(self, settings, cr):

# define gentoo specific mounts
if "path/distfiles" in self.settings:
self.mounts["/usr/portage/distfiles"] = self.settings["path/distfiles"]
self.mounts["/var/cache/portage/distfiles"] = self.settings["path/distfiles"]

def run(self):
ChrootTarget.run(self)
Expand Down
2 changes: 1 addition & 1 deletion targets/gentoo/stage1.spec
Expand Up @@ -73,7 +73,7 @@ cat > /tmp/build.py << "EOF"
$[[files/pythonjunk]]
EOF

export buildpkgs="$(python /tmp/build.py)"
export buildpkgs="$(python /tmp/build.py) dev-vcs/git"


# Gentoo hard-codes the intended python targets into a base profile. Funtoo extracts it from variables
Expand Down
2 changes: 2 additions & 0 deletions targets/gentoo/steps/epro.spec
Expand Up @@ -24,6 +24,8 @@ sys.exit(1)
epro_setup: [
# make sure we have the latest ego.
emerge -u --oneshot ego
# regen profiles
epro update
cat > /tmp/epro_getarch.py << "EOF"
$[[files/epro_getarch]]
EOF
Expand Down
2 changes: 2 additions & 0 deletions targets/gentoo/steps/stage.spec
Expand Up @@ -5,6 +5,8 @@
#[option parse/lax]

setup: [
# fix for bogus stages with buggy ego
sed -i -e /%s/d /etc/portage/make.profile/parent
/usr/sbin/env-update
gcc-config 1
source /etc/profile
Expand Down

0 comments on commit bc6c913

Please sign in to comment.