[Sugar-devel] OLPC OS with gnome only.

James Cameron quozl at laptop.org
Tue Sep 18 04:41:22 EDT 2018


No, don't try to remove on first boot, as it makes first boot fragile,
and makes build larger.  Instead, in your OLPC OS builder branch;

1.  edit modules/base/kspkglist.10.core.inc to remove
ds-backup-client,

2.  edit modules/base/kspost.10.core.inc to remove systemctl enable
ds-backup.timer, and;

3.  edit modules/base/kspost.10.core.inc to echo gnome to
.olpc-active-desktop file.

On Tue, Sep 18, 2018 at 01:31:09PM +0545, Buddhi Tuladhar wrote:
> Seems like those three sugar packages depends on one another package called
> "ds-backup-client" . I removed those 3 sugar packages and changed the active
> desktop to gnome in home folder. Working fine now. Wondering how to remove it
> while building OS. Not sure but thinking to remove those 3 sugar package in 1st
> boot.
> 
> On Tue, Sep 18, 2018 at 11:55 AM, James Cameron <[1]quozl at laptop.org> wrote:
> 
>     Remove the sugar packages using RPM and see what depends on them?
> 
>     You cannot switch desktop with GUI once you remove package
>     olpc-switch-desktop, but you can edit .olpc-active-desktop file by hand.
>    
>     On Tue, Sep 18, 2018 at 10:58:19AM +0545, Buddhi Tuladhar wrote:
>     > I removed olpc-switch-desktop from module but sugar still starts at first
>     boot.
>     > what actually happens is, now i cannot switch to gnome form sugar. I can
>     see
>     > these below sugar packages are still installed from my package list of
>     build. I
>     > think there is still some dependencies left to remove.
>     > sugar-0.112.olpc.0-0.noarch
>     > sugar-artwork-0.112.olpc.0-0.armv7hl
>     > sugar-datastore-0.112.olpc.0-0.armv7hl
>     > sugar-toolkit-gtk3-0.112.olpc.0-0.armv7hl
>     >
>     > On Mon, Sep 17, 2018 at 3:37 PM, James Cameron <[1][2]quozl at laptop.org>
>     wrote:
>     >
>     >     Thanks for testing.
>     >
>     >     olpc-switch-desktop is why Sugar is still included; the Sugar
>     packages
>     >     are usually selected by modules/sugar/kspkglist.50.sugar.inc, and
>     >     without the [sugar] module present in your .ini file the packages
>     >     should not be selected, but olpc-switch-desktop has a dependency on
>     >     Sugar, and the package is added by
>     >     modules/gnome/kspkglist.50.gnome.inc.  So you might remove it from
>     >     there.
>     >
>     >     To start GNOME by default instead of Sugar, you must arrange for your
>     >     build to write "gnome" to the file /home/olpc/.olpc-active-desktop
>     and
>     >     as a result /usr/bin/olpc-session will start the gnome-session.
>     >   
>     >     On Mon, Sep 17, 2018 at 03:21:03PM +0545, Buddhi Tuladhar wrote:
>     >     > Tried removing [sugar], [sugar_activity_group], and
>     >     [sugar_activities_extra]
>     >     > but only activities was not installed. sugar remains same. At first
>     boot
>     >     it
>     >     > starts sugar. Can we do something to start gnome only then ?
>     >     >
>     >     > On Mon, Sep 17, 2018 at 2:55 PM, James Cameron <[1][2][3]
>     quozl at laptop.org>
>     >     wrote:
>     >     >
>     >     >     Last time I tried this was in February 2015, with the goal of
>     >     reducing
>     >     >     time between test builds.  The method was to edit the .ini file
>     and
>     >     >     remove sections [usb_update], [sugar], [sugar_activity_group],
>     and
>     >     >     [sugar_activities_extra]
>     >     >
>     >     >     I don't know if it will work.
>     >     >
>     >     >     On Mon, Sep 17, 2018 at 01:43:38PM +0545, Buddhi Tuladhar
>     wrote:
>     >     >     > Dear all,
>     >     >     >
>     >     >     > I have a query about OLPC OS builder.
>     >     >     > Is it possible to build OLPC OS  just with Gnome Desktop
>     >     Environment ? if
>     >     >     yes
>     >     >     > then how can i do this?
>     >     >     >
>     >     >     > Best,
>     >     >     > Buddhi.
>     >     >
>     >     >     --
>     >     >     James Cameron
>     >     >     [2][3][4]http://quozl.netrek.org/
>     >     >
>     >     > References:
>     >     >
>     >     > [1] mailto:[4][5]quozl at laptop.org
>     >     > [2] [5][6]http://quozl.netrek.org/
>     >
>     >     --
>     >     James Cameron
>     >     [6][7]http://quozl.netrek.org/
>     >
>     > References:
>     >
>     > [1] mailto:[8]quozl at laptop.org
>     > [2] mailto:[9]quozl at laptop.org
>     > [3] [10]http://quozl.netrek.org/
>     > [4] mailto:[11]quozl at laptop.org
>     > [5] [12]http://quozl.netrek.org/
>     > [6] [13]http://quozl.netrek.org/
> 
>     --
>     James Cameron
>     [14]http://quozl.netrek.org/
> 
> References:
> 
> [1] mailto:quozl at laptop.org
> [2] mailto:quozl at laptop.org
> [3] mailto:quozl at laptop.org
> [4] http://quozl.netrek.org/
> [5] mailto:quozl at laptop.org
> [6] http://quozl.netrek.org/
> [7] http://quozl.netrek.org/
> [8] mailto:quozl at laptop.org
> [9] mailto:quozl at laptop.org
> [10] http://quozl.netrek.org/
> [11] mailto:quozl at laptop.org
> [12] http://quozl.netrek.org/
> [13] http://quozl.netrek.org/
> [14] http://quozl.netrek.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list