[oe] [PATCH 01/12] fso-image.inc: add an even shorter alias, for ls -l

Koen Kooi koen at dominion.thruhere.net
Mon Jun 7 07:54:27 UTC 2010


Op 7 jun 2010, om 09:50 heeft Martin Jansa het volgende geschreven:

> On Mon, Jun 07, 2010 at 09:24:54AM +0200, Antonio Ospite wrote:
>> On Mon, 31 May 2010 13:19:30 +0200
>> Koen Kooi <k.kooi at student.utwente.nl> wrote:
>> 
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>> 
>>> On 31-05-10 11:55, Antonio Ospite wrote:
>>>> 'l' is a must have along with 'll'.
>>>> 
>>>> Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
>> [...]
>>> diff --git a/recipes/images/fso-image.inc b/recipes/images/fso-image.inc
>> [...]
>>>> +    echo "alias l='ls -l'" >>./etc/profile
>>>>     echo "alias ll='ls -al'" >>./etc/profile
>>>>     # nfs
>>>>     mkdir -p ./local/pkg
>>> 
>>> And what happens if you opkg upgrade base-files? You suddenly lost all
>>> your tweaks to /etc/profile.
>> 
>> Right, /etc/profile would be overwritten, but that's quite independent
>> from this very patch, it's the whole fso-image.inc approach which
>> should be revised, so I'd like this one could still make it.
>> 
>> Or if you can point to the right way to do what
>> recipes/images/fso-image.inc::fso_rootfs_postprocess() is doing I can
>> try to implement that.

<snip>

> FYI: I removed similar postprocess tweaks from shr images about a month
> ago, because of those reasons...

I removed them when I started developing narcissus (late 2008), since I couldn't reproduce OE images from their packages...

regards,

Koen



More information about the Openembedded-devel mailing list