aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/images.yml1
-rwxr-xr-xci/ciimage/build.py9
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml
index c43a1cf..dd91898 100644
--- a/.github/workflows/images.yml
+++ b/.github/workflows/images.yml
@@ -7,7 +7,6 @@ concurrency:
on:
push:
branches:
- - master
paths:
- 'ci/ciimage/**'
- '.github/workflows/images.yml'
diff --git a/ci/ciimage/build.py b/ci/ciimage/build.py
index 10fd099..b355c47 100755
--- a/ci/ciimage/build.py
+++ b/ci/ciimage/build.py
@@ -78,12 +78,13 @@ class Builder(BuilderBase):
if [ -f "$HOME/.cargo/env" ]; then
source "$HOME/.cargo/env"
fi
-
- if [ -f /etc/profile.env ]; then
- source /etc/profile.env
- fi
'''
+ if self.data_dir.name == 'gentoo':
+ out_data += '''
+ source /etc/profile
+ '''
+
out_file.write_text(out_data, encoding='utf-8')
# make it executable