[squeak-dev] Re: [ANN] Squeak 5.1 Feature Freeze -- Trunk closed for new features; only bug fixes or text updates

Fabio Niephaus lists at fniephaus.com
Tue Aug 16 14:19:09 UTC 2016


-- 

On Tue, Aug 16, 2016 at 2:07 PM H. Hirzel <hannes.hirzel at gmail.com> wrote:

> On 8/14/16, Fabio Niephaus <lists at fniephaus.com> wrote:
> > Here are the helper functions I came up with for the squeak.sh launcher
> to
> > ensure that the kernel is newer than 2.6.12 and that a squeak.conf
> exists:
> > https://gist.github.com/fniephaus/84dc1e065b2694cf9beafed5920f8cfe
> >
> > Best,
> > Fabio
>
> I added the calls to the two functions to helpers.sh
>
> It works but needs sudo permission which is normally not given. So
> some tweaking is needed.
>
>
> THIS DOES NOT WORK
> user8 at user8-Latitude:~$ ./helpers.sh
> ./helpers.sh: line 17: \: command not found
> /etc/security/limits.d/squeak.conf is missing. Do you want to create
> one? This operation requires sudo permissions. (y/N): y
> You may be asked to enter your password...
> ./helpers.sh: line 32: /etc/security/limits.d/squeak.conf: Permission
> denied
> Done! Please log out and log back in before you try again.
> user8 at user8-Latitude:~$
>
> THIS IS FINE
>  sudo ./helpers.sh
> [sudo] password for user8:
> ./helpers.sh: line 17: \: command not found
> /etc/security/limits.d/squeak.conf is missing. Do you want to create
> one? This operation requires sudo permissions. (y/N): y
> You may be asked to enter your password...
> Done! Please log out and log back in before you try again.
> user8 at user8-Latitude:~$
>

Thanks for the feedback, Hannes.
I've already fixed and tested this on Linux (see [1]), but I forgot to
update the gist which I just did.
The newer version now uses `sudo tee -a`.

Thanks again,
Fabio

[1]
https://github.com/squeak-smalltalk/squeak-app/commit/4e83cc33b65f4222c1fed778d200d578af5d941a


>
> --Hannes
>
> > --
> >
> > On Sun, Aug 14, 2016 at 11:03 PM H. Hirzel <hannes.hirzel at gmail.com>
> wrote:
> >
> >> For the case I reported
> >>
> >>     uname -r
> >>
> >> gives
> >>
> >>     3.19.0-25-generic
> >>
> >> for the kernel version
> >>
> >> --Hannes
> >>
> >> On 8/14/16, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> >> > On Sun, 14 Aug 2016, tim Rowledge wrote:
> >> >
> >> >>
> >> >>> On 14-08-2016, at 12:43 AM, H. Hirzel <hannes.hirzel at gmail.com>
> >> >>> wrote:
> >> >>>
> >> >>> Hello Levente
> >> >>>
> >> >>> The following on  did the job. The 64bit all-in-one runs fine on
> >> >>> Ubuntu
> >> >>> 14.04.1.
> >> >>
> >> >> I guess an obvious question here is why on earth ubuntu is using such
> >> >> an
> >> >> old kernel. Raspbian (based on debian and so very conservative) got
> >> >> past
> >> >> that point at least 18 months ago.
> >> >
> >> > It doesn't. 14.04 uses 3.13 by default, but you can install 4.2 o 4.4
> >> > if
> >> > you want to.
> >> >
> >> > Levente
> >> >
> >> >>
> >> >>
> >> >> tim
> >> >> --
> >> >> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> >> >> Strange OpCodes: BBL: Branch on Burned out Light
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160816/90e0dc13/attachment.htm


More information about the Squeak-dev mailing list