<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>We are currently attempting to package TeXLive in Homebrew: https://github.com/Homebrew/homebrew-core/pull/83738.  The primary target for this package will be our Linux users, although some macOS users have also expressed interest in using this package instead of MacTeX.  One difficulty we’ve encountered is the way that TeXLive installation root is identified in tlmgr and some other scripts (a few for crossrefware, cjk-js-integrate and possibly mtxrun) is through kpsewhich –var-value SELFAUTOPARENT.  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>On a system with –disable-multiplatform (which is set for us by –disable-native-texlive-build), SELFAUTOPARENT returns the parent directory of the TeXLive root installation rather than the root installation itself, because the directory where the scripts are installed does not have an architecture subdirectory (darwin-universal etc.).  Would it be an acceptable change for us to change these cases to TEXMFROOT, which we can configure in texmf.cnf?  From what I understand, the places where SELFAUTOPARENT is being used are also trying the find the root installation, and are simply assuming it is SELFAUTOPARENT, rather than querying it with kpsewhich –var-value TEXMFROOT.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Although we want to ship TeXLive as a distro build, we still want tlmgr to be usable in usermode for users to manage a local installation as well, and currently we have to resort to some complicated symlinking to make this work.  Making these proposed changes would let us avoid this, and would also make packaging easier for other Linux distros.  Please let me know if more explanation is needed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Daniel Nachun<o:p></o:p></span></p></div></body></html>