[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] ash: allow a profile script to be embedded in the binary
From:       Ron Yorston <rmy () pobox ! com>
Date:       2018-11-19 11:41:45
Message-ID: 5bf2a179.qbAbaQXrMh87L6dc%rmy () pobox ! com
[Download RAW message or body]

Denys Vlasenko wrote:
>On Sun, Nov 18, 2018 at 4:04 PM Ron Yorston <rmy@pobox.com> wrote:
>> If the file embed/.profile exists at build time it is placed at the
>> start of the block of compressed scripts.  Its name isn't included
>> in the list of scripts so it can't be run directly by the user.
>> Instead it is executed when a login shell is started, before
>> /etc/profile.
>
>I would like to see people requesting because they really need it.
>Not "just because we can and it's cool". What is the real-world
>essential benefit?

Well, I *was* going to say the intended audience was developers
shipping domain-specific scripts that could benefit from having
common configuration code and shared functions in a separate script.

But then I realised the current implementation won't help with that
because it's only run for a login shell.  More thought is clearly
required.

Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic