Sabayon Linux remasterizado para placas de vídeo ATI

O artigo descreve como remasterizar o Sabayon Linux, obtendo uma ISO com vários ambientes gráficos leves, contendo o driver de vídeo ATI proprietário e os efeitos gráficos 3D e Compiz-Fusion, funcionando Out-of-Box tanto no boot do Live-DVD como na versão instalada a partir dele.

[ Hits: 18.190 ]

Por: Alberto Federman Neto. em 29/11/2012 | Blog: https://ciencialivre.blog/


Adicionando os pacotes à ISO



De posse da ISO com Xfce, que vai ser usada como template, vamos remasterizar.

Usei meus métodos de remasterização simplificada e incremental, que detalhei em meus artigos anteriores (veja página 1, links citados).

Tomei por base meus arquivos antigos (.spec) de minhas antigas remasterizações de Sabayon com KDE e GNOME 2, e usando os arquivos novos de Molecule (".spec" e ".common") que o time de desenvolvedores Sabayon usa para remasterizar as ISOs "Daily":
Obtive toda a informação que precisava.

Partindo do "xfce.spec", o combinei com os specs originais do LXDE, MATE e E17, e adicionei Window Maker e muitos outros pacotes que gosto e uso, e criei o seguinte arquivo final (ati.spec) que controla a remasterização.

Se você quiser remasterizar, não tem segredo. Edite o arquivo abaixo e na sessão ####"OUTROS"####, coloque os pacotes que deseje adicionar, de qualquer ambiente gráfico. As dependências serão gerenciadas automaticamente pelo Molecule e pelo Entropy. Pode deixar pacotes com nomes dobrados ou duplicados que o sistema pula.

# Sabayon Linux 10, 64 Bits, remasterized for ATI. Molecule remaster spec file, made by albfneto, Brazil.

# Modified from code and text of the default SPEC and COMMON Files, from Fabio Erculiani, Italy and the Sabayon Team

# The aim of this spec file is to add arbitrary applications & misc stuff
      #  to  an  already  built  ISO  i mage  via  scripting  (providing  hooks  that  call
      #  user-defined  scripts).
      #  squashfs,  mkisofs  needed

# Define an alternative execution strategy, in this case, the value must be
      #  "iso_remaster"

      execution_strategy:  iso_remaster

# 64 Bits ISO, not necessary. Uncomment only for 32 Bits.
# pre chroot command, example, for 32bit chroots on 64bit system, you always
      #  have  to  append  "linux32"  this   is  useful  for  inner_chroot_script
      #  prechroot:  linux32

# Path to source ISO file (MANDATORY)

    source_iso:  /molecula/ATI/sabayon.iso

# Extra mkisofs parameters, perhaps something to include/use your bootloader
    extra_mkisofs_parameters:  -b  isolinux/isolinux.bin  - c  isolinux/boot.cat

# Destination directory for the ISO image path (MANDATORY)
    destination_iso_directory:  /molecula/ATI

# Destination ISO image name, call whatever you want.iso, not mandatory
destination_iso_image_name: Sabayon_Linux-for_ATI.iso

# Output iso image title
    iso_title:  Sabayon_Linux-for_ATI

# Alternative ISO file mount command (default is: mount -o loop -t iso9660)
    #  iso_mounter:
# Alternative ISO umounter command (default is: umount)
    #  iso_umounter:

# Adicione aqui pacotes que deseja tirar. Removendo Caribou. Caribou é um pacote
# de acessibilidade que costuma causar problemas. Seu Firefox fica falando...

# List of packages that would be removed from chrooted system (comma separated)

    packages_to_remove:  caribou  

# Comando modificado, evitando tirar dependencias:
# Custom shell call to packages removal (default is: equo remove)

custom_packages_remove_cmd: equo --nodeps remove

# List of packages that would be added from chrooted system (comma separated)
    packages_to_add:

# Remasteriza XFCE:

      @X,
      @fluxbox,
      @gst-plugins,
      @gst-plugins-extra,
      @wireless,
      @xfce,
      app-admin/rigo,
      app-arch/file-roller,
      app-arch/unrar,
      app-crypt/gnupg,
      app-crypt/pinentry-gtk2,
      app-dicts/aspell-en,
      app-dicts/aspell-pt_BR
      app-dicts/aspell-pt,
      app-dicts/myspell-pt,
      app-dicts/myspell-en,
      app-dicts/myspell-pt_BR,
      app-emulation/virtualbox-guest-additions,
      app-emulation/wine,
      app-misc/anaconda-runtime-gui,
      app-misc/gnote,
      app-misc/sabayon-music,
      app-office/libreoffice,
      app-office/libreoffice-l10n-pt_BR,
      app-text/epdfview,
      app-text/pastebunz,
      dev-java/icedtea-bin,
      games-misc/cowsay,
      gnome-extra/nm-applet-gtk2,
      gnome-extra/polkit-gnome,
      media-fonts/corefonts,
      media-fonts/dejavu,
      media-fonts/ttf-bitstream-vera,
      media-gfx/gimp,
      media-gfx/ristretto,
      media-gfx/shotwell,
      media-libs/libdvdcss,
      media-libs/libdvdnav,
      media-libs/libdvdplay,
      media-libs/libdvdread,
      media-sound/exaile,
      media-video/totem,
      net-dialup/globespan-adsl,
      net-dialup/gnome-ppp,
      net-dialup/ppp,
      net-dialup/rp-pppoe,
      net-firewall/ufw-frontends,
      net-im/pidgin,
      net-irc/xchat,
      net-p2p/transmission-gtk,
      net-print/cups,
      net-wireless/bluez,
      net-wireless/bluez-firmware,
      net-wireless/bluez-hcidump,
      sys-apps/gpu-detector,
      sys-auth/consolekit,
      sys-block/gparted,
      sys-block/parted,
      sys-fs/ntfs3g,
      sys-fs/zfs,
      sys-power/cpufrequtils,
      www-client/midori,
      www-plugins/adobe-flash,
      x11-drivers/ati-drivers,
      x11-drivers/xf86-video-ati
      x11-drivers/xf86-video-virtualbox,
      x11-libs/gksu,
      x11-libs/vdpau-video,
      x11-libs/xvba-video,
      x11-misc/magneto-gtk,
      x11-misc/xvkbd,
      x11-terms/terminal,
      x11-terms/xterm,
      x11-themes/equinox-themes,
      x11-themes/gnome-themes-standard,
      x11-themes/gtk-engines:2,
      x11-themes/iottinka-artwork,
      x11-themes/tango-icon-theme,
      xfce-base/xfce4-panel,
      xfce-extra/tumbler,
      xfce-extra/xfce4-clipman-plugin,
      xfce-extra/xfce4-mixer,
      xfce-extra/xfce4-notifyd,
      xfce-extra/xfce4-places-plugin,
      xfce-extra/xfce4-screenshooter,

# Remasteriza MATE:

      app-admin/rigo,
      app-misc/sabayon-skel,
      app-crypt/gnupg,
      app-crypt/pinentry-gtk2,
      app-emulation/virtualbox-guest-additions,
      app-misc/anaconda-runtime-gui,
      app-text/pastebunz,
      gnome-extra/nm-applet-gtk2,
      lxde-base/lxdm,
      mate-base/mate,
      media-fonts/ttf-bitstream-vera,
      media-fonts/dejavu,
      media-fonts/corefonts,
      media-plugins/alsa-plugins,
      media-sound/audacious,
      net-dialup/rp-pppoe,
      net-irc/xchat,
      net-p2p/transmission-gtk,
      x11-libs/gksu,
      x11-terms/xterm,
      sys-apps/gnome-disk-utility,
      sys-apps/gpu-detector,
      sys-auth/consolekit,
      sys-block/parted,
      sys-fs/ntfs3g,
      sys-fs/zfs,
      sys-power/cpufrequtils,
      x11-drivers/xf86-video-virtualbox,
      x11-themes/equinox-themes,
      x11-themes/gnome-themes-standard,
      x11-themes/gtk-engines:2,

# Remasteriza LXDE:

      @lxde,
      app-admin/rigo,
      app-arch/xarchiver,
      app-crypt/gnupg,
      app-crypt/pinentry-gtk2,
      app-editors/leafpad,
      app-emulation/virtualbox-guest-additions,
      app-misc/anaconda-runtime-gui,
      app-office/abiword,
      app-office/gnumeric,
      app-text/epdfview,
      app-text/pastebunz,
      games-misc/cowsay,
      gnome-extra/nm-applet-gtk2,
      lxde-base/lxpolkit,
      media-fonts/ttf-bitstream-vera,
      media-fonts/dejavu,
      media-fonts/corefonts,
      media-plugins/alsa-plugins,
      media-sound/audacious,
      net-dialup/rp-pppoe,
      net-irc/xchat,
      net-p2p/transmission-gtk,
      x11-libs/gksu,
      x11-terms/xterm,
      sys-apps/gnome-disk-utility,
      sys-apps/gpu-detector,
      sys-auth/consolekit,
      sys-block/parted,
      sys-fs/ntfs3g,
      sys-fs/zfs,
      sys-power/cpufrequtils,
      x11-drivers/ati-drivers,
      x11-drivers/xf86-video-virtualbox,
      x11-themes/equinox-themes,
      x11-themes/gtk-engines:2,
      xfce-extra/xfce4-notifyd,

# Remasteriza E17:

      @e17,
      app-admin/rigo,
      app-crypt/gnupg,
      app-crypt/pinentry-gtk2,
      app-emulation/virtualbox-guest-additions,
      app-editors/leafpad,
      app-misc/anaconda-runtime-gui,
      app-text/epdfview,
      app-text/pastebunz,
      dev-libs/fribidi,
      games-misc/cowsay,
      gnome-extra/nm-applet-gtk2,
      lxde-base/lxdm,
      lxde-base/lxpolkit,
      lxde-base/lxterminal,
      media-fonts/corefonts,
      media-fonts/dejavu,
      media-fonts/ttf-bitstream-vera,
      media-gfx/ristretto,
      media-plugins/alsa-plugins,
      media-sound/xnoise,
      net-dialup/rp-pppoe,
      net-im/pidgin,
      net-irc/xchat,
      net-p2p/transmission-gtk,
      sys-apps/gnome-disk-utility,
      sys-apps/gpu-detector,
      sys-auth/consolekit,
      sys-block/parted,
      sys-fs/ntfs3g,
      sys-fs/zfs,
      sys-power/cpufrequtils,
      www-client/midori,
      x11-drivers/ati-drivers,
      x11-drivers/xf86-video-virtualbox,
      x11-libs/gksu,
      x11-terms/xterm,
      x11-themes/equinox-themes,
      x11-themes/gtk-engines-xfce,
      x11-themes/tango-icon-theme,
      x11-themes/gnome-icon-theme,
      x11-themes/gtk-engines:2,
      x11-themes/sabayon-artwork-gnome,

# Remasteriza Window Maker:

windowmaker, windowmaker-themes, wmakerconf, wmMatrix, wmpop3, wmsound, wmlaptop, wmctrl, wmCalClock, wmDownload, wmMoonClock, wmSpaceWeather, wmSun, wmacpi, wmacpiload-ac, wmacpimon, wmail, wmapm, wmapmload, wmapi, wmbatteries, wmbiff, wmbinclock, wmbio, wmblob, wmbluecpu, wmbutton, wmcalc, wmcalendar, wmcdplay, wmclipist, wmclock, wmclockmon, wmcoincoin, wmcmu, wmcp, wmcpu, wmcpuload, wmcube, wmdate, wmdf, wmdl, wmdiskmon, wmdots ,wmdrawer,wmfishtime, wmfortune, wmfrog,wmfsm, wmget, wmgrabimage, wmhdlop, wmifinfo, wmminet, wmitime, wmmix, wmload, wmlpq, wmmemfree, wmmemload, wmmemmon, wmmenu, system-confi-keyboard, wmmisc, wmmp3, wmmsg, wmmnd, wmmldonkey, wmmixer, wmnet, wmnetload, wmnetselect, wmpager, wmpeople, wmpop3, wmpop3lb, wmrack, wmrecord, wmsmixer, wmpower, wmppp, wmpiki ,wmpinboard, wmsawallow, wmsysmon, wmsystray, wmxres, wmtime, wmtimer, wmwifi, wmwork, wmxkb, wmtop, wmtz, wmupmon, wmwave, wmweather,

# Remasteriza Razorqt:

razorqt-meta, razorqt-power, razorqt-runner,razorqt-session, razorqt-policykit,
razorqt-panel, razorqt-openssh-askpass, razorqt-notifications,razorqt-lightdm-greeter,razorqt-libs,razorqt-kbshortcuts,
razorqt-desktop, razorqt-data,razorqt-config, razorqt-autosuspend,razorqt-appswitcher,


####"OUTROS"####

# Coloque aqui, um por um e separado por vírgulas, os pacotes que deseja adicionar à sua ISO, remova os que não quer:


xdm, twm,pidgin,emesene,mldonkey,amuleadu, opera, seamonkey, firefox,mrxvt,eterm, bleachbit, clementine, exaile,tilda,wicd,k3b,gparted, xfburn,mate-terminal, leafpad,caja,terminator, radiotray,xf86-video-v4l,xf86-video-vesa,xf86-video-nv, mate-notification-daemon,cheese, hplip,foomatic,gutenprint, alltray, notification-daemon,libdrm, openbox, blackbox, compiz, compiz-fusion, simple-ccsm, ccsm, compiz-plugins-main, compiz-plugins-extra, lightwm, gdm, lxdm, keybinder, compiz-plugins-unsupported,fusion-icon,compiz-bcop, compizconfig-python, compizconfig- backend-gconf,libcompizconfig,mate-file-archiver, mate-text-editor,setxkbmap, mesa,glm, mlocate, sulfur,terminal,lxterminal,eterm, mrxvt, pulseaudio, pavucontrol,l gst-plugins-pulse, gnome-impulse, pavumeter, paprefs, paman, padevchooser, alsa-core, alsa-mixer, pyalsa, pylasaaudio, alsalib, libclalsadrv, alsa-plugins, alsaequal, gst-plugins-alsa, alsa-headers, alsa-tools, alsa-utils, alsamixer-app, alsamixergui, alsaplayer, phonon, pygtk, xine-ui, gstreamer,libmateweather,libmate,libmatecanvas, libmatekbd,libmatekeyring,libmateui, mate-conf, mate-control-center, mate-menus, mate-desktop,mate-mime-data,mate-panel,aria2, curl, axel, eatmonkey, eix, git, cvs, subversion,make, automake,autoconf,gcc,gcc- config,esearch,pidgin,emerald, mirrorselect, autounmask, emerald-themes,xfwm4, xfwm4-themes,icewm, icewm- themes,icewmcp,iceicons,madwifi,nano,filezilla,

# Re-instala e atualiza o Kernel e os drivers proprietários ATI:

linux-sabayon, ati-drivers, ati-userspace, linux-firmware, genkernel, sabayon-sources, sabayon-headers

# Custom shell call to packages add (default is: equo install)
    # custom_packages_add_cmd:

# Custom command for updating repositories (default is: equo update)
    #  repositories_update_cmd:

# Determine whether repositories update should be run (if packages_to_add is set)
    #   (default  is:  no),  values  are:  yes,  no.

    execute_repositories_update:  yes

# Directories to remove completely (comma separated)
    #  paths_to_remove:

# Directories to empty (comma separated)
    #  paths_to_empty:

Crie este arquivo (ati.spec) e o salve na pasta onde vai fazer a remasterização. No nosso exemplo, é /molecula/ATI, a mesma pasta onde está a ISO baixada e salva (página 1) renomeada para "sabayon.iso":

cd /
$ cd molecula/ATI
$ sudo mv Sabayon_Linux_10_amd64_Xfce.iso sabayon.iso
$ gksu gedit (ou leafpad,kate, kwrite, seu editor favorito) ati.spec


Copie e cole as linhas acima e salve como "ati.spec", na mesma pasta.

Resumindo: Adicione os pacotes que quiser e crie o arquivo "ati.spec", na mesma pasta da remasterização.

Página anterior     Próxima página

Páginas do artigo
   1. Introdução
   2. Adicionando os pacotes à ISO
   3. Remasterizando e compilando
   4. Testes da ISO e sugestões
   5. Conclusão, sumário e link para download da ISO
Outros artigos deste autor

Sabayon 5.0 - Uma nova distro multimídia (parte 1)

Instalando, gerenciando e mantendo pacotes no Gentoo Linux e derivados

A teoria Linux por trás dos acessos e dos atalhos

Experimentos com remasterização de Sabayon

openSUSE - As várias formas de atualizá-lo e de instalar pacotes

Leitura recomendada

Zimbra 7.2 no CentOS

Brackets - Editor Open Source no Linux Mint e Ubuntu

NagiosVision: Tem humanos perto do seu servidor

Instalando fontes true type no Linux via Kcontrol

Octave - Programação científica no Linux (parte 2)

  
Comentários
[1] Comentário enviado por arturbmallmann em 01/12/2012 - 02:41h

interessante isso de "remasterizar" um disco do sabayon. nao conhecia isso. Digamos que isso até que me atraiu!
quem sabe eu nao teste uma hora destas...
abraço


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts