Hi,
Adam Purkrt wrote:
> great to hear you can reproduce the problem.
It would have been less bumpy if i were a better Debian admin. :))
I will ponder about possible fixes.
For now i have:
- A new static variable and setter API call in grub-install-common.c
similar to grub_install_backup_ponr, which keeps clean_grub_dir()
from running
clean_grub_dir_real (di, CREATE_BACKUP);
append_to_backup_dirs (di);
and rather does
clean_grub_dir_real (di, CLEAN_NEW);
- The same static variable but with a new API call
grub_install_copy_files_nobkp()
which sets the variable temporarily and then runs
grub_install_copy_files()
- A new API call of grub-util to run restore_backup_atexit().
Called in grub-mkrescue.c somewhere between
grub_set_install_backup_ponr ();
and
rv = grub_util_exec ((const char *const *)xorriso_argv);
@ Vladimir Serbinenko:
If you are watching, this would be a good moment to issue an opinion.
Have a nice day :)
Thomas