After initrd-recovery partition is created, a mkinitrd_recovery.sh
script as well as initrd-recovery directories are useless on rootfs
partition. This patch removes those after partition creation is done.
Change-Id: I4bda7338cddd62204e9c8473b5411de51be73f9a
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
%posttrans
%{initrd_recovery_libexec_dir}/mkinitrd-recovery.sh
+rm -rf %{initrd_recovery_libexec_dir}
+rm -rf %{_datadir}/initrd-recovery
%files
%defattr(-,root,root,-)