F14 to Blag 140k

From blagwiki
Jump to: navigation, search


So, here it is, you want to get Blag 140k. Nice! But you already have F14 installed and you don't want to remove it. So why not migrating from Sedora to Blag?

Step 1 : repositories

Download release packer

$ wget ftp://blag.fsf.org/140000/en/os/i386/BLAG.blag/blag-release-140000*

Clean the system

Some packets may interfere with blag-release packets, so before installing it, we need to perform a little bit of cleanup

# rpm -e --nodeps fedora-release
# rpm -e --nodeps freed-ora-release

What did we do? We've removed fedora and freed-ora repositories. Blag uses its own copies of those 2 repos

Install release

# yum localinstall --nogpgcheck blag-release-140000*

Update repository files

Basically, a lot of repo files use the $releasever variable. Or, Blag and Fedora version numbers don't correspond. We need to update those files in order not to break those repos

# sed -i 's/\$releasever/14/g' /etc/yum.repos.d/*.repo

Activate keys

Don't forget to activate the key of new repositories :

blag140k-blag/gpgkey                                                                                                                 | 3.4 kB        00:00 ... 
Importing GPG key 0x4647832F:
 Userid : Koko the crazy koala <kokothekoala@gmail.com>
 Package: blag-release-140000-2.blag140K.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-blag
Est-ce correct [o/N] : o

Step 2 : Free your system

Blag is a 100% free linux distro, why using it with non free softwares?

A good way to free your system is to install freed-ora-freedom, which will refuse to install unless you have removed all non-free software from your system.

# yum install freed-ora-freedom

Then, the kernel.

# yum install kernel-libre
# yum remove kernel
# update-grub

Most of the work is done, we now only need to replace firefox by icecat.

# yum remove firefox
# yum install icecat
$ mkdir ~/.gnuzilla
$ cp -R ~/.mozilla/* ~/.gnuzilla/ 

All right! but... it still looks like... Fedora. Why not blagging it a bit?

Step 4 : Blagify your system to make Blagnifiscient

This one is fairly easy

First, seek and destroy all packets containing fedora into their names

# rpm -e --nodeps *fedora*

Then, replace them with the corresponding blag package

# yum install blag-bookmarks blag-logos blag-gnome-theme blag-backgrounds-basic really-little-guys

That's it, you can now configure it System/Preferences/Appearance!

To get the good wallpaper in GDM :

# gconftool-2 --direct --config-source=xml::/etc/gconf/gconf.xml.defaults --set /desktop/gnome/background/picture_filename \
--type=string "/usr/share/backgrounds/images/purplecityscape.jpg"

Step 5 : check everything is OK

$ cat /etc/system-release /etc/system-release-cpe /etc/redhat-release 

BLAG release 140000 (spartakus)
BLAG release 140000 (spartakus)

Ok, you're running Blag! Let's check the kernel now

$ uname -a

Linux vegtux.tuxpanic #1 SMP Mon Feb 7 18:58:14 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Great, your kernel is free! everything seems all right!

Step 5 : Update your system

# yum update