From a76292c7d50f652b105cf8cf1450ff30a0e36deb Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 18 Jan 2022 18:36:20 +0100 Subject: [PATCH] *: Drop the use of deprecated PORTDIR and PORTDIR_OVERLAY env vars These were mostly replaced by relevant config in repos.conf directory. --- build_library/dev_container_util.sh | 4 ---- build_library/toolchain_util.sh | 3 --- setup_board | 2 -- update_chroot | 2 -- 4 files changed, 11 deletions(-) diff --git a/build_library/dev_container_util.sh b/build_library/dev_container_util.sh index 8710b304fd..e2d89885db 100755 --- a/build_library/dev_container_util.sh +++ b/build_library/dev_container_util.sh @@ -34,8 +34,6 @@ CHOST=$(get_board_chost $BOARD) DISTDIR="/var/lib/portage/distfiles" PKGDIR="/var/lib/portage/pkgs" PORT_LOGDIR="/var/log/portage" -PORTDIR="/var/lib/portage/portage-stable" -PORTDIR_OVERLAY="/var/lib/portage/coreos-overlay" PORTAGE_BINHOST="$(get_binhost_url "$2" "$3" 'pkgs') $(get_binhost_url "$2" "$3" 'toolchain')" EOF @@ -57,8 +55,6 @@ EOF # Now set the correct profile sudo PORTAGE_CONFIGROOT="$1" ROOT="$1" \ - PORTDIR="$1/var/lib/portage/portage-stable" \ - PORTDIR_OVERLAY="$1/var/lib/portage/coreos-overlay" \ eselect profile set --force $(get_board_profile $BOARD)/dev } diff --git a/build_library/toolchain_util.sh b/build_library/toolchain_util.sh index eccbecba9e..8ed67eb630 100644 --- a/build_library/toolchain_util.sh +++ b/build_library/toolchain_util.sh @@ -291,9 +291,6 @@ _configure_sysroot() { echo "Writing make.conf for the sysroot ${SYSROOT}, root ${ROOT}" "${sudo[@]}" tee "${ROOT}/etc/portage/make.conf" <