diff --git a/build_image b/build_image index 0f0d2bec98..ea0000ef99 100755 --- a/build_image +++ b/build_image @@ -444,9 +444,9 @@ update_dev_packages() { # Install the bare necessary files so that the "emerge" command works if [ ${FLAGS_statefuldev} -eq ${FLAGS_TRUE} ]; then - sudo ln -sft ${ROOT_FS_DIR}/usr/share ../../usr/local/share/portage + sudo cp -a ${root_dev_dir}/share/portage ${ROOT_FS_DIR}/usr/share sudo sed -i s,/usr/bin/wget,wget, \ - ${root_dev_dir}/share/portage/config/make.globals + ${ROOT_FS_DIR}/usr/share/portage/config/make.globals fi sudo mkdir -p ${ROOT_FS_DIR}/etc/make.profile