summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2024-04-22 16:06:47 +0200
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>2024-04-22 16:06:47 +0200
commitce192729a14bb37585d0e63fd86de31670ee95bc (patch)
treead7245415604b1d4a35b2498ad0546c80b5ef74e
parent7b0dec4ada21ca20defaf388f065e48b7f931203 (diff)
downloadinitrd-recovery-ce192729a14bb37585d0e63fd86de31670ee95bc.tar.gz
initrd-recovery-ce192729a14bb37585d0e63fd86de31670ee95bc.tar.bz2
initrd-recovery-ce192729a14bb37585d0e63fd86de31670ee95bc.zip
Change-Id: Iac08f44ea56b34a45bc89bcbeb38f30b49892384
-rw-r--r--packaging/initrd-recovery.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/packaging/initrd-recovery.spec b/packaging/initrd-recovery.spec
index dce8808..12cdf61 100644
--- a/packaging/initrd-recovery.spec
+++ b/packaging/initrd-recovery.spec
@@ -19,6 +19,7 @@ Requires: procps
Requires: device-mapper
Requires: verity-tools
Requires: parse-dynparts
+Requires: bow-restore
%description
This is a special booting mode and executes system recovery mode on user
@@ -31,6 +32,12 @@ License: Apache-2.0
%description -n reboot-param-helper
A reboot helper to use reboot parameter by inform partition
+%package -n bow-restore
+Summary: A tool to restore data on partitions containing a dm-bow data checkpoint.
+
+%description -n bow-restore
+bow-restore is a tool to restore data on partitions containing a dm-bow datacheckpoint.
+
%prep
%setup -q
@@ -105,7 +112,6 @@ rm -rf %{_libdir}/initrd-recovery
%attr(0775,root,root)%{initrd_recovery_libexec_dir}/minireboot
%{initrd_recovery_libexec_dir}/fota-init.sh
%{initrd_recovery_libexec_dir}/progress_restart.sh
-%{_sbindir}/bow-restore
%attr(775,system,system) /opt/data/update
%attr(0775,root,root)%{initrd_recovery_libexec_dir}/recovery-init
@@ -121,3 +127,6 @@ rm -rf %{_libdir}/initrd-recovery
%{_unitdir}/mnt-inform.mount
%{_unitdir}/local-fs.target.wants/mnt-inform.mount
%{inform_path}
+
+%files -n bow-restore
+%attr(0755,root,root)%{_sbindir}/bow-restore