Victor Chew wrote:
I am willing to put up with the small number of duplicate files just to keep each distro as "intact" as possible.
I agree. I am not talking about the distro (pmagic) itself, nor about any of its extra tools.
But this seems to offend your sense of aesthetics!
Not at all. I am not talking about aesthetics. I am talking about functionality.
Victor Chew wrote:
For me, my primary goal is to make as little change to the Parted Magic distro as possible to while integrating it into UBCD.
I agree with the goal, and by using "/boot/syslinux/" for PMagic's Syslinux-related files, you would be making the same amount of changes, or even less. In PMagic, the original path is already "/boot/syslinux/" (whether in absolute or in relative notation). You are currently changing it to "/pmagic/boot/syslinux/", and I suggest keeping "/boot/syslinux/" where it points to Syslinux-related files. For the files that come from PMagic but not from Syslinux, keep changing it to "/pmagic/boot/syslinux/" as done in the betas.
(Hey, I'm not suggesting to correct the wrong directives that are sometimes part of the original PMagic file; so even those are left without change.
If the next release of Parted Magic breaks the status quo, I will find other ways to work around the changes, all the while maintaining my original goal (as little change as possible).
My point being, you can already avoid having to deal with such situation, and still keep that original goal.
It is not my objective to worry about the addition of other distros to UBCD. I will leave the modding and optimization to the person doing that.
I am talking about PMagic in the official release of UBCD, not about anything else.
In fact, you already perform the same type of editions for other utilities. Sometimes the relevant cfg file needs little editions, and sometimes it doesn't, but you are not adding Syslinux-related files for each utility included in UBCD. Furthermore, adding them would break UBCD, as each utility comes with different versions of Syslinux. To make it work consistently, UBCD must centralize and unify those Syslinux-related files. I am suggesting to do exactly the same for some few Syslinux-related files (and dozens of boot entries that unfortunately use relative notation) for PMagic in UBCD.
The reason this change is somehow troublesome is because PMagic uses a mix of relative and absolute notations to point to the same path, "/boot/syslinux/". For example, if PMagic, instead of using "COM32 linux.c32" would use "COM32 /boot/syslinux/linux.c32" (which points to the same original path and file), you wouldn't need to edit such lines. I am suggesting to "change" them to "COM32 /boot/syslinux/linux.c32", instead
of changing them to "COM32 /pmagic/boot/syslinux/linux.c32" as done in the betas. Using the same version of linux.c32 as of UBCD's boot loader is about functionality, not aesthetics. After that, the "/pmagic/boot/syslinux/linux.c32" file is unnecessary and its use should be discouraged (by deleting it) so to avoid mixed versions of Syslinux-related files. The same goes to the other unnecessary Syslinux-related files that are currently (in the betas) in "/pmagic/boot/syslinux/".