Meetup of Beijing Linux User Group with Dang Hong Phuc from FOSSASIA

Hong Phuc Dang FOSSASIA, Women in IT Asia

Please join our FOSSASIA Bejinglug meetup with Dang Hong Phuc in Bejing, China on December 6, 2015. Hong Phuc will give insights about the FOSSASIA network, the programs of FOSSASIA and the FOSSASIA summit 2015 in Singapore.

FOSSASIA runs contributors, Open Source developers and hardware maker programs in cooperations with companies and communities such as Google Summer of Code and Google Code-In (current Code-In program until January 19).

For our programs in 2015 we are looking for mentors and students of Open Technology projects who would like to join us and register their groups on the FOSSASIA community network.

The FOSSASIA summit will take place from March 13-15 in Singapore. The call for papers is open until December 20. If you are interested to present at the event, please register here: fossasia.org/speaker-registration/

Time: 18:00
Date: Saturday, December 6, 2014
Location: Jazz Island Coffee (爵士岛咖啡二楼)
Address (Chinese): 东城区东直门内大街东扬威街11号楼(来福士大厦对面北侧)
Map: mapbar (via dianping)
Subway: Dongzhimen Exit A
Phone: 010-8406-1040

Links:

Beijinglug Announcement: http://beijinglug.org/…

FOSSASIA Community Network: http://fossasia.net

FOSSASIA Summit Speaker Registration: http://fossasia.org/speaker-registration/

FOSSASIA Code-In: http://www.google-melange.com/gci/org/google/gci2014/fossasia

How to create a Fedora spin – Developer Meet Up in Hong Kong

Hon Nguyen (Vietnam), Dicky (Hong Kong), Hong Phuc (Vietnam) (from right to left)

Dicky (Hong Kong) and Mathieu Bridon (France)

At our meet ups at GNOME.Asia in Hong Kong it was great to meet developers from different continents. One thing we were particularly interested in is, how to create a custom Linux based on Fedora Linux.

Well, we were lucky to meet Mathieu Bridon (Blog). There are some pictures below. Even though some pictures might look just like socializing in a pub, we actually took quite late until the eve to learn about using Kickstart files to create our own custom Linux. Thank you! So the how to of Mathieu below first.

== Building your downstream distro ==

From a Fedora system:
    # yum install spin-kickstarts pungi

See the kickstarts used to create the various Fedora spins in:
    /usr/share/spin-kickstarts/*

Use that as examples, the actual kickstart doc is at:
    http://fedoraproject.org/wiki/Anaconda/Kickstart

Then once you have your kickstart file:
    # pungi -c [your kickstart file]

(see pungi -h for all the options)

== Avoiding trademark issues ==

Replace fedora-logos by generic-logos to avoid the Fedora trademarks.

Clone the git repository for the package spec file:
$ fedpkg clone -a generic-logos
$ cd generic-logos

Fetch the source tarball:
$ fedpkg sources

Make your own tarball following the layout and file names.

Rename the spec file (and change the Name: tag):
Name:       xmario-logos
Version:    17.0.0
[… snip …]
Source0:    https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2

See how the tarball is named like the spec file?

Rebuild:
$ fedpkg mockbuild

== Caching packages ==

1. Synchronize the whole repository:
$ yum install yum-utils
$ reposync -r fedora -r updates -p /path/to/repository_cache

2. Keep in cache the packages you install:
  1. set keepcache=1 in /etc/yum.conf
  2. install, update,…
  3. $ find /var/cache/yum -name ‘*.rpm’

3. Download packages:
$ yum install yum-utils
$ yumdowloader foo
$ yumdownloader –resolve foo

Some different approaches to repo caching:
http://yum.baseurl.org/wiki/YumMultipleMachineCaching

 

If you need to make an install media (not live), you’ll have to maintain
a trivial patch to anaconda.

$ fedpkg clone -a anaconda
$ cd anaconda
$ fedpkg prep
$ cd anaconda-$version
$ git init
$ git add .
$ git commit -m prepped
$ cp pyanaconda/installclasses/{fedora.py,xmario.py}

Replace all occurences of “fedora” by “xmario” in the file you copied,
and give it a **higher** priority (bigger number) than all other install
classes so that yours is used.

Create a patch that adds your modifications. I like to use git for that,
but you can just use the diff command if you prefer:
$ git commit -a -m “Create our install class for X-Mario”
$ git format-patch HEAD~1
$ mv 0001-*.patch ..
$ cd ..

Add the patch to the spec file header:
    [… snip …]
    Patch1000000: 0001-blabla.patch
    [… snip …]

Apply at the end of %setup:
    %patch1000000 -p1

Bump the “Release:” tag and add a changelog message in %changelog.

Commit to git:
$ git add 0000*.patch anaconda.spec
$ git commit -m “Bla bla bla commit message”

Rebuild:
$ fedpkg mockbuild

More about fedpkg:
http://fedoraproject.org/wiki/Using_Fedora_GIT

Mathieu Bridon and Sammy Fung (HK)

FOSSASIA community meetup at GNOME.Asia 2012

GNOME.Asia Hong Kong 2012

 

FOSSASIA members had a wonderful get together at GNOME.Asia 2012 in Hong Kong. 

About GNOME.Asia Summit. The event is Asia’s GNOME user and developer conference, spreading the knowledge of GNOME across Asia. The event focuses primarily on the GNOME desktop and other devices that use GNOME, and also covers GNOME-based applications and GNOME development platform tools.

It brings together the GNOME community in Asia to provide a forum for users, developers, foundation leaders, governments and businesses to discuss both the present technologies and future developments.

The FOSSASIA team presented the two projects: crypto-stick and the x-mario gaming distribution.

A big thanks for this fantastic event goes to the local and global organization team and the GNOME Foundation, in particular to Max, Haggen So and Sammy Fung.

Hong Phuc Dang also received travel sponsorship from the GNOME Foundation and thus increased the participation numbers from Vietnam to three contributors.

 

GNOME.Asia Hong Kong 2012