integ/ostree
Hongxu Jia 61889ee968 initramfs-ostree: fix re-installing ustart image error messages
While re-installing ustart image, there are some error messages:

- `blockdev --rereadpt ${dev}' always failed due to existed lvm
  volume group was not cleanup because of ustart image skip fat
  partition format (instsf=1). Then move the cleanup code ahead
  for both of skip and not skip situation

- Remove `-t $p:FFFF' from platform_backup partition which is
  not recognized by sgdisk

- Add `--yes' to vgcreate and lvcreate to avoid prompt hung

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Change-Id: I865bb95a8a00bbc4144d782d4ccd1a20fcf5eaa7

Test Plan:
- PASS: Download initramfs-ostree source tarball
- PASS: Build package initramfs-ostree
- PASS: Build Ustart image
- PASS: Install Ustart image
- PASS: Boot installed image, multiple partitions mounted to
        rootfs
- PASS: Reinstall Ustart image
- PASS: Boot installed image, multiple partitions mounted to
        rootfs

Story: 2008846
Task: 44545

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Change-Id: Ia771c7ee2e5dd7fa9d6946877738357e863411f5
2022-02-24 09:42:53 +08:00
..
initramfs-ostree/debian initramfs-ostree: fix re-installing ustart image error messages 2022-02-24 09:42:53 +08:00
mttyexec/debian ostree: upgrade to version 20220213 2022-02-15 15:18:04 +08:00
ostree/debian ostree: upgrade to version 20220213 2022-02-15 15:18:04 +08:00
ostree-upgrade-mgr/debian ostree: upgrade to version 20220213 2022-02-15 15:18:04 +08:00