Kemarin pada waktu mendapatkan tutorial gimana mengubah ls-release, issue, issue.net kemudian software-centernya tidak error. kemudian saya mempraktekkannya dan hasilnya emang benar2 ga error, akan tetapi masih ada ganjalan bahwa dalam merubah lsb-relase anda tidak boleh merubah codename. dalam semalam aku mempelajari maka kita juga dapat merubah codename yang ada di lsb-release sehingga lengkap sudah hasil remasteran kita. oke langsung aja saya tuliskan cara yang aku gunakan.
1. Merubah lsb-release
gedit /etc/lsb-releaseyang asli
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION=”Ubuntu precise (development branch)”
aku rubah
DISTRIB_ID=Jangkar
DISTRIB_RELEASE=5.0
DISTRIB_CODENAME=embung
DISTRIB_DESCRIPTION=”Jangkar 5.0 Embung Edition”
2. Menyiapkan info dan mirrors
cp /usr/share/python-apt/templates/Ubuntu.info /usr/share/python-apt/templates/Jangkar.info3. Merubah Jangkar.info
cp /usr/share/python-apt/templates/Ubuntu.mirrors /usr/share/python-apt/templates/Jangkar.mirrors
ini yang asli
Suite: preciseaku copy terus aku taruh diatas dan di rubah
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Ubuntu.mirrors
MirrorsFile-i386: Ubuntu.mirrors
Description: Ubuntu 12.04 ‘Precise Pangolin’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Canonical-supported free and open-source software
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Community-maintained free and open-source software
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Proprietary drivers for devices
Component: multiverse
ParentComponent: universe
CompDescription: Restricted software
CompDescriptionLong: Software restricted by copyright or legal issues
Suite: embung4. Merubah Ubuntu Software Center
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Jangkar.mirrors
MirrorsFile-i386: Jangkar.mirrors
Description: Jangkar 5.0 ‘Embung Edition’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Paket bebas dan utama
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Software Bebas didukung komunitas
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Software yang tidak bebas
Component: multiverse
ParentComponent: universe
CompDescription: Restricted software
CompDescriptionLong: Software dengan copyright
copy file Ubuntu.py jadi Jangkar.py
cp /usr/share/software-center/softwarecenter/distro/Ubuntu.py /usr/share/software-center/softwarecenter/distro/Jangkar.pyubah file Jangkar.py
gedit /usr/share/software-center/softwarecenter/distro/Jangkar.pyberikut hasil perubahan
class Jangkar(Debian):# see __init__.py description
DISTROSERIES = ["embung", "precise",
"oneiric",
"natty",
]
lanjut
def get_app_name(self):def get_app_description(self):
return _(“Jangkar Software Center”)
return _(“Lets you choose from thousands of applications available for Jangkar.”)
terus kebawah semua kata-kata Ubuntu (huruf U pakai yang besar) aku ubah menjadi Jangkar
Sumber: http://pro.xwaja.web.id/?p=6
Tidak ada komentar:
Posting Komentar