--- /dev/null
+p:/dev/mmcblk0p1:boot.img:x
+p:/dev/mmcblk0p2:rootfs.img:x
+p:/dev/mmcblk0p3:system-data.img:x
+p:/dev/mmcblk0p5:user.img:x
+p:/dev/mmcblk0p6:modules.img:x
+p:/dev/mmcblk0p7:ramdisk.img:x
+p:/dev/mmcblk0p8:ramdisk-recovery.img:x
+p:/dev/mmcblk0p10:hal.img:x
%description -n fm-data-rpi3
Provide flash-manager with partition table for flashing image and files of Raspberry Pi 3 board
+%package -n fm-data-generic
+Summary: Generic Image data for flash manager
+Group: System/Utilities
+Provides: fm-data
+
+%description -n fm-data-generic
+Provide flash-manager with partition table for flashing image and files of common board
+
+
%define init_script_dir %{_libdir}/initrd-recovery/flash
%define initrd_recovery_install_dropin_dir %{_datadir}/initrd-recovery/initrd.list.d
%post -n fm-data-rpi3
mv %{_hal_datadir}/partition_rpi3.info %{_hal_datadir}/partition.info
+%post -n fm-data-generic
+mv %{_hal_datadir}/partition_generic.info %{_hal_datadir}/partition.info
+
%postun
rm -f %{_hal_datadir}/partition.info
%files -n fm-data-rpi3
%{_hal_datadir}/partition_rpi3.info
+
+%files -n fm-data-generic
+%{_hal_datadir}/partition_generic.info