Change preload and preload-rw package installation order 09/270109/4
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 26 Jan 2022 01:24:11 +0000 (10:24 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 26 Jan 2022 02:08:04 +0000 (11:08 +0900)
commitbb19b542e5539a4a242c59eeca8f274dc158788a
treeb4b4d1f6f8227d7f7398a19fbc27e3fd604cb591
parent45fc85eff4f0ab34210a60430da256acbc0fe9dc
Change preload and preload-rw package installation order

Change installation order to install larger package prior than samller one.
install_preload_pkg tool deletes package file when its installation has done.
So if there are not enough space left in image,
installation will be failed due to lack of storage.
So change install larger package first to prevent this.

Change-Id: Ia1cc3ced1b0213f63f84eca8634016be3f889448
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/install_preload_pkg/install_preload_pkg.c