diff options
author | Hyunggi Lee <hyunggi.lee@samsung.com> | 2021-08-02 10:35:51 +0900 |
---|---|---|
committer | Hyunggi Lee <hyunggi.lee@samsung.com> | 2021-08-02 10:35:51 +0900 |
commit | ff5202becc45195ecd39221c7593309a44ea8ba1 (patch) | |
tree | 27e4aa10a6225d82577c84717a0fa1cb37a07be5 | |
parent | 4da6192f95b3eeaba00a2151891f2ae5fb84f0fe (diff) | |
download | build-ff5202becc45195ecd39221c7593309a44ea8ba1.tar.gz build-ff5202becc45195ecd39221c7593309a44ea8ba1.tar.bz2 build-ff5202becc45195ecd39221c7593309a44ea8ba1.zip |
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 <hyunggi.lee@samsung.com>
-rwxr-xr-x | init_buildsystem | 2 |
1 files changed, 1 insertions, 1 deletions
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 |