diff options
author | SangYoun Kwak <sy.kwak@samsung.com> | 2022-07-14 10:46:05 +0900 |
---|---|---|
committer | SangYoun Kwak <sy.kwak@samsung.com> | 2022-07-14 10:55:36 +0900 |
commit | 152ec3c908636513adb63a507c7e6546b7b76c26 (patch) | |
tree | e45596297d064ad04510958ade450a13bb9ef043 | |
parent | 7efb8402a1611e5b121f23cc5994a264c2249877 (diff) | |
download | device-rpi-152ec3c908636513adb63a507c7e6546b7b76c26.tar.gz device-rpi-152ec3c908636513adb63a507c7e6546b7b76c26.tar.bz2 device-rpi-152ec3c908636513adb63a507c7e6546b7b76c26.zip |
Add list of PARTLABEL and LABEL of a/b partitions
Change-Id: I50226ee8a39fef130201c1ea42b32897e13bce98
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
-rw-r--r-- | hw/upgrade/background_copy.list | 7 | ||||
-rw-r--r-- | hw/upgrade/label_map.list | 2 | ||||
-rw-r--r-- | packaging/hal-backend-device-rpi.spec | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/hw/upgrade/background_copy.list b/hw/upgrade/background_copy.list new file mode 100644 index 0000000..b0edca6 --- /dev/null +++ b/hw/upgrade/background_copy.list @@ -0,0 +1,7 @@ +# PARTLABEL +boot +module +ramdisk +ramdisk-recovery +rootfs +hal diff --git a/hw/upgrade/label_map.list b/hw/upgrade/label_map.list new file mode 100644 index 0000000..6d7c43c --- /dev/null +++ b/hw/upgrade/label_map.list @@ -0,0 +1,2 @@ +# LABEL PARTLABEL +modules module diff --git a/packaging/hal-backend-device-rpi.spec b/packaging/hal-backend-device-rpi.spec index f4d692a..67bb5c3 100644 --- a/packaging/hal-backend-device-rpi.spec +++ b/packaging/hal-backend-device-rpi.spec @@ -63,6 +63,11 @@ install -m 644 hw/peripheral-io/*.ini %{buildroot}%{_hal_sysconfdir}/peripheral install -m 644 hw/peripheral-io/rpi3/*.ini %{buildroot}%{_hal_sysconfdir}/peripheral-io/rpi3 install -m 644 hw/peripheral-io/rpi4/*.ini %{buildroot}%{_hal_sysconfdir}/peripheral-io/rpi4 +# background_copy.list +mkdir -p %{buildroot}%{_hal_sysconfdir}/upgrade +install -m 644 hw/upgrade/* %{buildroot}%{_hal_sysconfdir}/upgrade + + %post /sbin/ldconfig @@ -110,4 +115,5 @@ popd %files -n hal-backend-device-rpi4 %dir %{_hal_sysconfdir}/peripheral-io/rpi4 %{_hal_sysconfdir}/peripheral-io/rpi4/gpio.ini +%{_hal_sysconfdir}/upgrade/* %{_hal_libdir}/libhal-backend-device-display.rpi4.so |