We should also think about, if we add rootflags automatically to menu.lst, that it has to be taken away if the user moves the install to a real ext3 partition.
The best would be if we hacked mountroot() to add locale= if ROOT_LOCALE is set (through conf.d) and FSTYPE=ntfs (or any fs supporting the locale option). Actually we don't need to modify mountroot, we can just add a premount script. Then we wouldn't need to trick with menu.lst at all.
Finally we just set up ROOT_LOCALE in lupin-support.postinst (as long as locales are installed at this point), and add my old hook and the new premount script to the lupin-support package. What do you think?
We should also think about, if we add rootflags automatically to menu.lst, that it has to be taken away if the user moves the install to a real ext3 partition.
The best would be if we hacked mountroot() to add locale= if ROOT_LOCALE is set (through conf.d) and FSTYPE=ntfs (or any fs supporting the locale option). Actually we don't need to modify mountroot, we can just add a premount script. Then we wouldn't need to trick with menu.lst at all.
Finally we just set up ROOT_LOCALE in lupin-support. postinst (as long as locales are installed at this point), and add my old hook and the new premount script to the lupin-support package. What do you think?