From a84df60b4a7f599a2b6f10a63eba72ffc1757ccf Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 12 Mar 2023 10:29:55 -0500 Subject: [PATCH] Reinstall packages for updates/changed USE flags Packages which have been updated and/or had USE flag changes will now be reinstalled in the destination root directory automatically. --- build-rootfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-rootfs.sh b/build-rootfs.sh index c18a94f..8da681a 100755 --- a/build-rootfs.sh +++ b/build-rootfs.sh @@ -25,12 +25,12 @@ cp -r portage/. /mnt/gentoo/etc/portage/ ROOT=/mnt/gentoo \ PORTAGE_CONFIGROOT="${PWD}"/portage/config/target \ < install.packages xargs -ro \ -${target}-emerge -Kvnj --rebuilt-binaries=y +${target}-emerge -KvnuUDj --rebuilt-binaries=y ROOT=/mnt/gentoo \ PORTAGE_CONFIGROOT="${PWD}"/portage/config/target \ < installonly.packages xargs -ro \ -${target}-emerge -vnj +${target}-emerge -vnuUDj ROOT=/mnt/gentoo \ locale-gen