Merge pull request #315 from shinji-s/wifislax
multibootusb
2018-04-03 12:45:44 +0530
ea8a6d0b49Get WifiSlax64-1.1-final booting. * 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.
Shinji Suzuki
2018-04-03 11:47:39 +0900
Merge pull request #311 from shinji-s/antix
multibootusb
2018-04-02 07:19:41 +0530
75b662d8edFix rewriting of image-file paths in 'theme.txt'. * Don't strip space and tabs on the left of a line * Don't tweak a relative path.
shinji-s
2018-04-02 10:33:39 +0900
e5296b9dfdAdd support for AntiX 17.1
shinji-s
2018-04-02 08:37:20 +0900
896b7314e6Prevent mbusb_cli from installing over existing installation. Support persistence size specification in mbusb_cli. Line break adjustment to fit 80 cols.
shinji-s
2018-04-02 05:42:03 +0900
Merge pull request #309 from shinji-s/devel
multibootusb
2018-04-01 16:41:14 +0530
a94572c2bcFix a rather critical bug in 'ConfigTweaker.tweak_first_match()' that got 'param_operation' contaminated with 'param_operations_for_persistence' as the recursion progress. 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.
shinji-s
2018-04-01 11:36:04 +0900
f030aeaf74Allow target drive specification using lower case letter.
Shinji Suzuki
2018-03-30 19:03:00 +0900
Merge pull request #305 from shinji-s/devel
multibootusb
2018-03-30 15:56:13 +0530
00f22c5c4eAvoid rewriting paths on a comment line. Minor change of logged messages about path rewriting.
Shinji Suzuki
2018-03-30 17:10:26 +0900
8ae3ee1d17Change wording of a message slightly so that a user will not misunderstand that the distro does not implement persistence at all.
Shinji Suzuki
2018-03-30 16:24:02 +0900
d659f83925Report non-existent file references in config files in more concise manner. Fix path finding regular expression to properly catch comma-delimited paths.
Shinji Suzuki
2018-03-30 15:52:00 +0900
Merge pull request #303 from shinji-s/fix_distro_detection
multibootusb
2018-03-29 11:27:08 +0530
dd0d23ec68* Fix distro detection going out of sync after uninstalling a distro 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.
Shinji Suzuki
2018-03-29 14:12:47 +0900
Merge pull request #302 from shinji-s/adhoc_fix
multibootusb
2018-03-29 08:11:42 +0530
76f26f6da6Fix assertion error that happens because persistence size setting is remembered even for distros that do not support persistence.
Shinji Suzuki
2018-03-29 04:58:27 +0900
2bb9b12403Fix module name typo that gets triggered by overwriting installation of distros that have some dirs relocated to the root dir.
Shinji Suzuki
2018-03-29 03:31:17 +0900
a6d3744134Fix linux (ubuntu16.04) incompatibility. * 7z don't understand -aoa option. * subprocess.call() can't properly pass arguments to 7z if command is specified by a list when shell=True.
Shinji Suzuki
2018-03-28 14:58:31 +0900
ef4d34b05dConvert 'gentoo' rewrite-code to ConfigTweaker based one.
Shinji Suzuki
2018-03-27 23:29:02 +0900
4ef4146180Replace 'live-media=' on non-liveboot lines too. This is for compatibility with prior implementation. (Perhaps better to have this work on liveboot lines only like other rewritings?)
Shinji Suzuki
2018-03-26 16:09:43 +0900
Merge pull request #300 from shinji-s/check7zip_exec
multibootusb
2018-03-27 12:45:25 +0530
d75642ac62Detect running 7zip on a currupted iso as well as the lack of 7z executable. Remove repeated call to _7zip.list_iso(iso_link) Adjusted line breaking to fit within 80 columns.
Shinji Suzuki
2018-03-27 15:45:48 +0900
7a18b71349Introduce infrastructure for rewriting boot configs and refreshed 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.
Shinji Suzuki
2018-03-25 18:31:27 +0900
Merge pull request #296 from shinji-s/devel
multibootusb
2018-03-20 18:56:56 +0530
03077403d2Fix regression introduced by 8ea5932bdc. 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.
Shinji Suzuki
2018-03-20 14:08:58 +0900
170b8dcf58When fixing a path to have /multibootusb/{distro-name} prepended, consider another prefix '/multibootusb/{distro-name}/boot too because some distro uses '/grub/grub.cfg' to refer to a file under boot/ directory.
Shinji Suzuki
2018-03-20 13:15:10 +0900
Merge pull request #294 from shinji-s/devel
multibootusb
2018-03-20 08:41:23 +0530
fa960f1a07Fix tweaking of 'initrd=...' parameter keyed on 'initrd' because 'initrd' part in 'initrd.img' gets affected.
Shinji Suzuki
2018-03-19 16:53:50 +0900
Merge pull request #293 from shinji-s/devel
multibootusb
2018-03-19 08:38:59 +0530
fe597bf1deFix a typo that has caused failure of installation if the distribution wants .iso file available when booting. file when booting. My bad.
Shinji Suzuki
2018-03-19 08:09:03 +0900
a3ff878087Remove a code that does not seem essential but can potentially hurts.
Shinji Suzuki
2018-03-19 07:46:34 +0900
0669b962ed* Split the 'kernel ...' parameter not by ',/' but by ',' because some distro contains relative paths there and then we don't see './' there. * 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.
Shinji Suzuki
2018-03-19 06:17:16 +0900
a3542439f7Previous commit fixed a runtime error but was not correct in what it does. Avoid overwriting syslinux.cfg and extlinux.cfg.
Shinji Suzuki
2018-03-19 00:31:33 +0900
Merge pull request #291 from shinji-s/devel
multibootusb
2018-03-18 16:45:17 +0530
8ea5932bdcFixes/Enhancements on loopback.cfg generation. * 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.
Shinji Suzuki
2018-03-18 18:53:01 +0900
9f28a1d756Fix failure of "Install syslinux and copy all required files."
Shinji Suzuki
2018-03-18 18:32:17 +0900
d9290c543aFix an excess level of indirection when processing more than one match results.
Shinji Suzuki
2018-03-18 13:09:08 +0900
Merge pull request #289 from shinji-s/devel
multibootusb
2018-03-13 12:39:45 +0530
b8660450c8Make use of copy_iso() function to reduce code redundancy. Allow one pass execution of multi patterned file extraction.
Shinji Suzuki
2018-03-13 11:40:57 +0900
cb9f2da952Remove redundant pre-check on iso_file_list.
Shinji Suzuki
2018-03-12 01:28:48 +0900
Merge pull request #287 from shinji-s/devel
multibootusb
2018-03-12 08:20:15 +0530
526cd6d7fbReplace a common code-block with a method call, which also fixes a bug regarding 'Avira-RS' installation. That is, shutil.move(,f) is conditioned on os.path.exists(f).
Shinji Suzuki
2018-03-12 11:00:52 +0900
18331de12eReplace '%INSTALL_DIR%' in isolinux.cfg with 'arch' if installing an arch variant. Needed for Antergos.
Shinji Suzuki
2018-03-10 07:48:07 +0900
Merge pull request #273 from shinji-s/master
multibootusb
2018-03-03 10:17:17 +0530
07a0601a9aSimplify implementation of get_physical_drive() using Win32_DiskPartition method rather than Win32_DiskDrive method.
Shinji Suzuki
2018-03-03 09:21:46 +0900
7657e7c70cFixed dependency of get_physical_disk_number() on locale setting and removed code duplication.
Shinji Suzuki
2018-03-03 06:13:10 +0900