* Prefer 'grub.cfg' over other variants like 'grub-embedded.cfg'
* Extract the tree rooted at EFI/ as well.
* Probe .txt files other than 'thema.txt' for rewriting desktop-image:
setting.
* Add 'legacy_tweak()' method to ConfigTweakers to keep old behaviour.
* Add SalixConfigTweaker.
Support CentOS DVD installers. (Full install DVD requires ext3 formatted usb stick because its size exceeds 4GB.)
Straighten Centos Live DVD support. (Those were recognized as 'fedora' before this fix.)
Reorgazined Twaker classes a bit.
Removed control chars and extra spaces in test inputs.
because config.distro gets overwritten during uninstallation.
* Fix missed call to update_list_box() when performing config-files-only
uninstallation, which happens because distro dir is already gone.
* Fix missed update of grub.cfg when performing config-files-only
uninstallation.
* Fix multiple calls to delete_frm_file_list() when uninstalling
'windows', 'alpine' and 'generic'.
* Fix multiple calls to update_sys_cfg_file() when uninstalling a distro.
* Escape distro name when using it within regular expressions.
* Adjust line breaking to fit 80 cols.
Rename 'ParamTweaker' to 'ConfigTweaker'.
pentoo-amd64-hardened-2018.0_RC5.8_pre20180305 wants 'overlayfs' present
in boot params and 'aufs' absent in order to boot properly.
with prior implementation. (Perhaps better to have this work on liveboot
lines only like other rewritings?)
Move the test function for rewrite machinary into param_rewrite.py.
Add copyright header.
persistence support for debians.
* Boot parameters have to be 'persistence' and 'persistence-path'
rather than 'persistent' and 'persistent-path'.
* Backing file must be named 'persistence' rather than 'live-rw'
* Filesystem on the backing file must contain 'persistence.conf'.
Avoid rewriting of paths starting with '/cdrom/' or '/dev/'.
Try somedir/vmlinuz if somedir/vmlinuz.efi is unavailable.
Check availability of 'e2fsck' and 'resize2fs'.
Added data/tools/persistence.gz that has initialized ext3 file
system that contains 'persistence.conf' file.
With the change in the commit, loopback.cfg got regenerated at the
location of file determined by scanning iso tree. If no loopback.cfg was
found, it was assumed to be at the distribution root directory. In either
case, loopback.cfg was generated/overwritten at the determined location
and the file was chosen for booting.
Now, if no loopback.cfg is found, grub.cfg is sought. It is only in the
case where neither is found that loopback.cfg gets generated and used.
Therefore no config files provided by distro get overwritten.
* Fix the last block of syslinux config file being picked up but being partially extracted (only to the end of the line rather than to the end of the block). => Took $ out of the regular expression and handles the last block separately.
* Don't use 'menu label' as a key to split a syslinux config file into blocks. Solely use 'label' as the separator for extracting menu items out of syslinux config file. If 'menu label' is also considered, then we may split halfway within a block. => Removed 'menu label' from the regular expression.
* Be more consistent about location of 'loopback.cfg'. (Use the first
one found in the iso image.)
* Fixed failure to pick the last menu item defined in syslinux config file.
* Pick 'initrd=...' parameter in 'append ...' line and generate 'initrd
...' line.
* Keep the previous content when updating.updating
* Removed redundant open/close in write_to_file().
* Fixed error message in write_to_file()
* Reduced the number of open/close in iso2grub2().
* Avoid adding a menu item withe a given name more than once.
* Keep, within the generated file, record of the source files from which menu items were picked up.