<div dir="ltr"><br><div class="GmSign">-- <br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 16, 2016 at 2:07 PM H. Hirzel &lt;<a href="mailto:hannes.hirzel@gmail.com">hannes.hirzel@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8/14/16, Fabio Niephaus &lt;<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>&gt; wrote:<br>
&gt; Here are the helper functions I came up with for the squeak.sh launcher to<br>
&gt; ensure that the kernel is newer than 2.6.12 and that a squeak.conf exists:<br>
&gt; <a href="https://gist.github.com/fniephaus/84dc1e065b2694cf9beafed5920f8cfe" rel="noreferrer" target="_blank">https://gist.github.com/fniephaus/84dc1e065b2694cf9beafed5920f8cfe</a><br>
&gt;<br>
&gt; Best,<br>
&gt; Fabio<br>
<br>
I added the calls to the two functions to helpers.sh<br>
<br>
It works but needs sudo permission which is normally not given. So<br>
some tweaking is needed.<br>
<br>
<br>
THIS DOES NOT WORK<br>
user8@user8-Latitude:~$ ./helpers.sh<br>
./helpers.sh: line 17: \: command not found<br>
/etc/security/limits.d/squeak.conf is missing. Do you want to create<br>
one? This operation requires sudo permissions. (y/N): y<br>
You may be asked to enter your password...<br>
./helpers.sh: line 32: /etc/security/limits.d/squeak.conf: Permission denied<br>
Done! Please log out and log back in before you try again.<br>
user8@user8-Latitude:~$<br>
<br>
THIS IS FINE<br>
 sudo ./helpers.sh<br>
[sudo] password for user8:<br>
./helpers.sh: line 17: \: command not found<br>
/etc/security/limits.d/squeak.conf is missing. Do you want to create<br>
one? This operation requires sudo permissions. (y/N): y<br>
You may be asked to enter your password...<br>
Done! Please log out and log back in before you try again.<br>
user8@user8-Latitude:~$<br></blockquote><div><br></div><div>Thanks for the feedback, Hannes.</div><div>I&#39;ve already fixed and tested this on Linux (see [1]), but I forgot to update the gist which I just did.</div><div>The newer version now uses `sudo tee -a`.</div><div><br></div><div>Thanks again,</div><div>Fabio</div><div><br></div><div>[1] <a href="https://github.com/squeak-smalltalk/squeak-app/commit/4e83cc33b65f4222c1fed778d200d578af5d941a">https://github.com/squeak-smalltalk/squeak-app/commit/4e83cc33b65f4222c1fed778d200d578af5d941a</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--Hannes<br>
<br>
&gt; --<br>
&gt;<br>
&gt; On Sun, Aug 14, 2016 at 11:03 PM H. Hirzel &lt;<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; For the case I reported<br>
&gt;&gt;<br>
&gt;&gt;     uname -r<br>
&gt;&gt;<br>
&gt;&gt; gives<br>
&gt;&gt;<br>
&gt;&gt;     3.19.0-25-generic<br>
&gt;&gt;<br>
&gt;&gt; for the kernel version<br>
&gt;&gt;<br>
&gt;&gt; --Hannes<br>
&gt;&gt;<br>
&gt;&gt; On 8/14/16, Levente Uzonyi &lt;<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>&gt; wrote:<br>
&gt;&gt; &gt; On Sun, 14 Aug 2016, tim Rowledge wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 14-08-2016, at 12:43 AM, H. Hirzel &lt;<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Hello Levente<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; The following on  did the job. The 64bit all-in-one runs fine on<br>
&gt;&gt; &gt;&gt;&gt; Ubuntu<br>
&gt;&gt; &gt;&gt;&gt; 14.04.1.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I guess an obvious question here is why on earth ubuntu is using such<br>
&gt;&gt; &gt;&gt; an<br>
&gt;&gt; &gt;&gt; old kernel. Raspbian (based on debian and so very conservative) got<br>
&gt;&gt; &gt;&gt; past<br>
&gt;&gt; &gt;&gt; that point at least 18 months ago.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; It doesn&#39;t. 14.04 uses 3.13 by default, but you can install 4.2 o 4.4<br>
&gt;&gt; &gt; if<br>
&gt;&gt; &gt; you want to.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Levente<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; tim<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
&gt;&gt; &gt;&gt; Strange OpCodes: BBL: Branch on Burned out Light<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
</blockquote></div></div>