On Mon, 2013-12-16 at 17:58 +0000, VanCutsem, Geoffroy wrote: > > I keep in mind that in the future we may want to change one of them, or > > remove, or add a 3rd one, say grub2. > I think this is a key 'feature' to keep in mind when you restructure the > bootloader setup infrastrucutre, let's make it as easy as possible to add > *any* kind of different bootloader.
Yes, this is what I am trying to do. Of course every new bootloader will probably require some rework, but I am trying to make the amount of that less. > > 5. setup-kernel-ivi also detects the system type (MBR or EFI) and > > adds/removes the kernel from the bootloader configuration file by either > > calling setup-efi-conf or setup-mbr-conf. > Out of curiosity, how do you detect that? Well, I was just going to check if the boot partition is a FAT-FS partition with the magic PARTUUID. If yes, this is an EFI boot system, otherwise - MBR boot system. This is not general solution, but should work fine for Tizen IVI. Thanks! -- Best Regards, Artem Bityutskiy _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
