From ff5202becc45195ecd39221c7593309a44ea8ba1 Mon Sep 17 00:00:00 2001 From: Hyunggi Lee Date: Mon, 2 Aug 2021 10:35:51 +0900 Subject: [PATCH] Fix VMInstall package is not installed problem gbs build -A armv7l --kvm [ 16s] [38/41] preinstalling util-linux-su... [ 16s] [39/41] preinstalling nss... [ 16s] [40/41] preinstalling libsoftokn3... [ 16s] [41/41] preinstalling rpm... [ 16s] [ 16s] binary not found: libext2fs [ 16s] exit ... In project.conf VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols procps-ng but it is not installed. When performing expanddeps, the --vm option is missing. so it is not installed. Add to option Change-Id: Ie238163125e3836f403ad55eee0dc76a3d23850c Signed-off-by: Hyunggi Lee --- init_buildsystem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_buildsystem b/init_buildsystem index de92390..30f4132 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -636,7 +636,7 @@ else test -z "$LIST_STATE" && echo "expanding package dependencies..." VMOPT= test -z "$PREPARE_VM" || VMOPT=--vm - if ! $BUILD_DIR/expanddeps $USEUSEDFORBUILD $USEHIGHERDEPS "${definesnstuff[@]}" --dist "$BUILD_DIST" --depfile "$CACHE_FILE" --archpath "$BUILD_ARCH" --configdir $CONFIG_DIR "${PKGS[@]}" > $RPMLIST ; then + if ! $BUILD_DIR/expanddeps $USEUSEDFORBUILD $VMOPT $USEHIGHERDEPS "${definesnstuff[@]}" --dist "$BUILD_DIST" --depfile "$CACHE_FILE" --archpath "$BUILD_ARCH" --configdir $CONFIG_DIR "${PKGS[@]}" > $RPMLIST ; then rm -f $BUILD_IS_RUNNING cleanup_and_exit 1 fi -- 2.34.1