Hi, Edd,
On Sat, 2026-03-21 at 23:52 +0000, Edd Barrett wrote:
> Hey Igor,
>
> Thanks for looking into this.
>
> On Wed, Mar 18, 2026 at 08:10:13AM +0100, Igor Zornik wrote:
> > That's it. Any feedback is welcome.
>
> This looks fine to me, but I would like someone more familiar with go
> to cast
> an eye over this. abieber@ (in CC) may be able to help?
>
> > - I ran into errors when building the web frontend and the hint in
> > the
> > Makefile is unclear to me (there's no man entry for ulimit).
> > Eventually
> > I accomplished this under the root account, but that is a less
> > desirable
> > option.
>
> ulimit is a shell built-in, so it's documented in your shell man page.
>
> But basically what you need to do is bump your datasize in
> /etc/login.conf to
> allow your user to allocate more heap. The defaults aren't enough to
> build the
> UI.
>
> I built the web UI using my own user account to check the instructions
> are
> still correct. It worked, after `chmod +x`ing some script npm wants to
> invoke.
Thanks for the hint. After checking out the man page for ksh I realized
that setting the data size to 4GB with 'ulimit -Sd $((4 * 1024 * 1024))'
did the trick. You also need to make sure your build box has that
much memory allocated. I didn't need to fiddle with update-workbox.sh
permissions though. Maybe it's already set as executable by default.
> Updated diff with tweaked comments and reverting to fetching from my
> website
> below.
>
> P.S. I plan to drop MAINTAINER on this, as I don't use it. In case
> anyone wants
> it.
>
I will use it, so please keep me in mind as a potential successor if you
ever do decide to drop the MAINTAINER.
Hope we can get this in before the new release.
With regards
No comments:
Post a Comment