[Sugar-devel] Apply Changes to Sugar live build.

Chihurumnaya Ibiam ibiam at sugarlabs.org
Wed Apr 14 10:52:11 EDT 2021


Yeah, that's a debian specific convention, you can read about it here
https://wiki.debian.org/Python under "Deviations from Upstream" so your
changes should be made to /usr/lib/python3.7/dist-packages/jarabe.

You can also make your changes to sugar sources in /usr/src/sugar*/ and
build then use rsync or just move the files where needed.
You can also see this in the live build,
https://github.com/sugarlabs/sugar-live-build/blob/master/src/config/hooks/normal/0900-sugar.hook.chroot
.

On Wed, Apr 14, 2021, 3:42 PM Shivam Rai <shivamrai19042001 at gmail.com>
wrote:

> /usr/lib/python3.8/site-packages/jarabe/desktop/favorites layout.py
>
> for testing commit 118e73
>
> P.s. I am using sugarlivebuild as vm in virtual box.
>
>
> On Wed, Apr 14, 2021, 7:39 PM Chihurumnaya Ibiam <ibiam at sugarlabs.org>
> wrote:
>
>> What directory did you make the changes in?
>>
>> On Wed, Apr 14, 2021, 12:36 PM Shivam Rai <shivamrai19042001 at gmail.com>
>> wrote:
>>
>>> In terminal activity,I changed to super user with su command. Then  cd/
>>> to respective directory. Then, vi(command) module.py.
>>> It opened the module.Switched to insert mode(i). Changed the code. Then
>>> saved and exit it using (:wq! )
>>> I confirmed the changes by reopening the module. They are there. But
>>> when I restarted it the changes were not kept. The module was in its
>>> original state.
>>>
>>> And Yes, I will make sure to keep related queries in same thread.
>>>
>>>
>>>
>>>
>>> On Wed, Apr 14, 2021, 4:20 PM Chihurumnaya Ibiam <ibiam at sugarlabs.org>
>>> wrote:
>>>
>>>> How did you apply the changes?
>>>>
>>>> And also, can you keep similar discussions to one particular thread as
>>>> it makes it easier to
>>>> find for future reference as you already opened a similar thread
>>>> earlier.
>>>>
>>>> --
>>>>
>>>> Ibiam Chihurumnaya
>>>> ibiam at sugarlabs.org
>>>>
>>>>
>>>>
>>>> On Wed, Apr 14, 2021 at 11:18 AM Shivam Rai <
>>>> shivamrai19042001 at gmail.com> wrote:
>>>>
>>>>> I applied changes in a module through bash terminal in sugar live
>>>>> build.
>>>>> I shutdown and started machine. The changes were not kept. What can be
>>>>> the reason?
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20210414/c5b70bec/attachment-0001.htm>


More information about the Sugar-devel mailing list