Comment 9 for bug 1159464

Revision history for this message
Ian Bruce (ian-bruce) wrote :

It seems that substring replacement is not supported in Bourne shell:

    y=${x//aaa/bbb}

-- does not work, and therefore the patch which was provided above
is invalid. See below for a new patch which uses the standard utility
program "tr" to accomplish this purpose.

After rebuilding a patched initrd, these changes have been tested
with the following distributions:

bodhi-2.3.0
linuxmint-14.1-mate-dvd
linuxmint-14.1-cinnamon-dvd
ubuntu-12.10-desktop
kubuntu-12.10-desktop
xubuntu-12.10-desktop

All six ISOs were installed on a single USB flashdrive, and could be
rebooted with shared persistent user data, and unshared persistent
system data, as described above. Further testing is required, but
currently this patch seems to be a complete solution to the problem.

-- Ian Bruce