Lines 1-13
Link Here
|
1 |
#!/bin/bash |
1 |
#!/bin/bash |
2 |
|
2 |
|
3 |
. /tmp/chroot-functions.sh |
3 |
. ./tmp/chroot-functions.sh |
4 |
|
4 |
|
5 |
update_env_settings |
5 |
update_env_settings |
6 |
|
6 |
|
7 |
setup_myfeatures |
7 |
setup_myfeatures |
8 |
|
8 |
|
9 |
# Setup our environment |
9 |
# Setup our environment |
10 |
export clst_buildpkgs="$(/tmp/build.py)" |
10 |
export clst_buildpkgs="$(./tmp/build.py)" |
11 |
export STAGE1_USE="$(portageq envvar STAGE1_USE)" |
11 |
export STAGE1_USE="$(portageq envvar STAGE1_USE)" |
12 |
export USE="-* build ${STAGE1_USE}" |
12 |
export USE="-* build ${STAGE1_USE}" |
13 |
export FEATURES="${clst_myfeatures} nodoc noman noinfo" |
13 |
export FEATURES="${clst_myfeatures} nodoc noman noinfo" |
Lines 25-31
Link Here
|
25 |
clst_root_path=/ setup_portage |
27 |
clst_root_path=/ setup_portage |
26 |
|
28 |
|
27 |
run_emerge "--noreplace --oneshot ${clst_buildpkgs}" |
29 |
run_emerge "--noreplace --oneshot ${clst_buildpkgs}" |
28 |
rm -f /var/lib/portage/world |
30 |
rm -f ./var/lib/portage/world |
29 |
touch /var/lib/portage/world |
31 |
touch ./var/lib/portage/world |
30 |
|
32 |
|
31 |
rm -f /var/log/emerge.log |
33 |
rm -f ./var/log/emerge.log |