Difference between revisions of "Build Your Own Remix with Fedora Samples"
(Desktop with customizations to fit in a CD sized image (ks)) |
(No difference)
|
Revision as of 08:17, 7 June 2012
Desktop with customizations to fit in a CD sized image
- remixes@lists.fedoraproject.org Re: Copy files from local system into liveCD?
- On Thu, Jun 7, 2012 at 3:02 AM, Jacek Furmankiewicz wrote:
> I am trying to copy some default user settings from my local folder to the > /etc/skel folder on the live CD, e.g.: > > %post > > # set default user config > cp -r $PWD/config/.config $INSTALL_ROOT/etc/skel > > %end > > But it doesn't work... > > cp: cannot stat `/home/jacekf/src/remix/config/.config': No such file or > directory > Is there some trick for bringing in custom files from your local filesystem > into the live CD? > Thank you > Jacek It is a bit tricky, you need to do it outside of root environment, hence do this in "--nochroot" part of kickstart file, but you need to know which temp directory is used for root. You can check out my kickstart file for inspiration: https://github.com/valentt/Fusion-Linux/blob/master/kickstarts/fusion-17/fusion-live-extras.ks you should specify which temp folder to use when starting livecd-creator with --temp= option Hope this helps. valent.turkovic
- Desktop with customizations to fit in a CD sized image (package removals, etc.)
- Maintained by the Fusion Linux
- http://www.fusionlinux.org
- mailto:fusionlinux@groups.google.com
- timezone Europe/Zagreb
part / --size 6000 --fstype ext4
- releasever=17
- basearch=x86_64
- basearch=i386
- repo --name=fusion --baseurl=http://iso.linux.hr/fusion-linux/fusion-repo/fusion-15/i386/
- repo --name=rpmfusion-non-free --baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/17/Everything/i386/os/
- repos that automatically are defined by 16 and $basearch
repo --name=rpmfusion-non-free --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-17&arch=$basearch repo --name=rpmfusion-non-free-updates --baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/17/$basearch repo --name=virtualbox --baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/17/$basearch/
- 32 bit only
repo --name=dropbox --baseurl=http://linux.dropbox.com/fedora/17/ repo --name=adobe --baseurl=http://linuxdownload.adobe.com/linux/i386/ repo --name=skype --baseurl=http://download.skype.com/linux/repos/fedora/updates/i586
repo --name=playonlinux --baseurl=http://rpm.playonlinux.com/fedora/yum/base
- repo --name=livna --baseurl=http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/16/i386/
%packages
- eyecandy
- desktop-backgrounds-basic
- faenza-fusion-icon-theme # Fusion Linux icon theme
faenza-icon-theme
- tools
xterm git
- fusion linux repo
- mintmenu
- dockbarx
- python-imaging # python module needed for dockbarx, 0.4 M
- autoplus
- fusion-linux-14 # package with setting for look & feel of Fusion GNOME desktop
- teamviewer6 # best remote desktop for Linux and other platforms, 84 M
- desktop apps
- geany # advanced IDE and text editor, 2.3 M
- pyroom # fullscreen uncluterred text editor for better productivity, 5.5 M
gnome-translate # translation tool, 1.2 M
- choqok # kde based twitter client, 4.1 M
- giver # easy local file sharing, 0.3 M + 43M, but has mono as dependency
- arista dependency
python-gudev
- proprietary bits
flash-plugin nautilus-dropbox
- skype # removed for distrubution and legal reasons.
- picasa # great photo management app, but crashes alot!, 82 M
- google-chrome-stable
- nonfree packages
rpmfusion-nonfree-release gstreamer-plugins-bad-nonfree unrar
- VirtualBox-4.1
%end
%post --log=/root/ks-post.log
- tweak swappiness
echo "" >>/etc/sysctl.conf echo "vm.swappiness=10" >>/etc/sysctl.conf echo "vm.vfs_cache_pressure = 50" >>/etc/sysctl.conf
- Fusion Linux Rebranding
echo "" echo -e "Fusion Linux Rebranding" echo "" echo "Fusion release 17 (Goddess)" > /etc/fedora-release echo "cpe:/o:fusionlinux:fusion:17" > /etc/system-release-cpe echo "Fusion release 17 (Goddess) Kernel \r on an \m (\l)" > /etc/issue echo "Fusion release 17 (Goddess) Kernel \r on an \m (\l)" > /etc/issue.net
cat > /etc/os-release << EOF NAME=Fusion VERSION="17 (Goddess)" ID=fusion VERSION_ID=17 PRETTY_NAME="Fusion 17 (Goddess)" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fusion:fusion:17" EOF
- Solarized theme for gnome-terminal and konsole
- set palette
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-terminal/profiles/Default/palette '#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3'
- set highlighted color to be different from foreground-color
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-terminal/profiles/Default/bold_color_same_as_fg false
- make sure the profile is set to not use theme colors
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-terminal/profiles/Default/background_color '#00002B2B3636' gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-terminal/profiles/Default/foreground_color '#838394949696' gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-terminal/profiles/Default/bold_color '#9393a1a1a1a1'
- clipit config
mkdir -p /etc/skel/.config/clipit cat >> /etc/skel/.config/clipit/clipitrc << EOF
[rc] use_copy=true use_primary=false synchronize=false automatic_paste=false show_indexes=false save_uris=true use_rmb_menu=false save_history=true history_limit=99 items_menu=30 statics_show=true statics_items=10 hyperlinks_only=false confirm_clear=false single_line=true reverse_history=false item_length=50 ellipsize=2 history_key=<Ctrl><Alt>H actions_key=<Ctrl><Alt>A menu_key=<Ctrl><Alt>P search_key=<Ctrl><Alt>F offline_key=<Ctrl><Alt>O offline_mode=false EOF
- synapse config
mkdir -p /etc/skel/.config/synapse cat >> /etc/skel/.config/synapse/config.json << EOF {
"ui" : { "global" : { "ui-type" : "default", "show-indicator" : false } }
} EOF
- remove this session file from gnome-session package to make cinnamon the default
- temporary hack till this file is split up from the package
rm -rf /usr/share/xsessions/gnome*
- GNOME Tweaks
- Gedit with 10 recent files
- gsettings set org.gnome.gedit.preferences.ui max-recents '13'
- show icons on Desktop
- gsettings set org.gnome.desktop.background show-desktop-icons true
- set Faience-Azur as default icon theme
- gsettings set org.gnome.desktop.interface icon-theme 'Faience-Azur'
cat >> /usr/share/glib-2.0/schemas/org.fusion.linux.settings.gschema.override << EOF [org.gnome.desktop.background] picture-uri='file:///usr/share/backgrounds/rei-forever.jpg' show-desktop-icons=true
[org.gnome.desktop.interface] icon-theme='Faience-Azur'
[org.gnome.gedit.preferences.ui] max-recents=10
[org.gnome.desktop.interface] gtk-theme='Universal'
[org.gnome.gedit.preferences.editor] scheme='solarized_dark'
[org.gnome.settings-daemon.peripherals.touchpad] tap-to-click=true disable-while-typing=true EOF
cat >> /etc/rc.d/init.d/livesys << EOF
- Put Install icon on desktop
- mkdir -p /etc/skel/Desktop/
- cp /usr/share/applications/anaconda.desktop /etc/skel/Desktop/
cp /usr/share/applications/anaconda.desktop /home/liveuser/Desktop/ FOE
- tweak bash terminal and add fortune
cat >> /etc/skel/.bashrc << EOF
PS1='\[\033[01;34m\]\u@\h\[\033[00m\] \[\033[01;34m\]\W]\[\033[00m\]\\$ ' fortune EOF
- create autostart directory
mkdir -p /etc/skel/.config/autostart
- enable clipit clipboard manager autostart
cp /usr/share/applications/clipit.desktop /etc/skel/.config/autostart/
- add synapse to autostart directory
cp /usr/share/applications/synapse.desktop /etc/skel/.config/autostart/
- tweak swappiness
echo "" >>/etc/sysctl.conf echo "vm.swappiness=10" >>/etc/sysctl.conf echo "vm.vfs_cache_pressure = 50" >>/etc/sysctl.conf
- delete gnome menu items
rm /usr/share/applications/kde4/ark.desktop rm /usr/share/applications/kde4/kcalc.desktop rm /usr/share/applications/kde4/KCharSelect.desktop rm /usr/share/applications/kde4/KFloppy.desktop rm /usr/share/applications/kde4/kgpg.desktop rm /usr/share/applications/kde4/ktimer.desktop rm /usr/share/applications/kde4/kwrite.desktop rm /usr/share/applications/kde4/nepomukcontroller.desktop rm /usr/share/applications/kde4/sweeper.desktop rm /usr/share/applications/livna-alc.desktop rm /usr/share/applications/fedora-ggz-gtk.desktop rm /usr/share/applications/livna-wxcas.desktop rm /usr/share/applications/kde4/dolphin.desktop rm /usr/share/applications/kde4/kdf.desktop rm /usr/share/applications/kde4/kwalletmanager.desktop rm /usr/share/applications/kde4/kwikdisk.desktop
- add .repo files for additional repositories
- Fusion Linux repository
- cat >> /etc/yum.repos.d/fusion.repo << EOF
- Place this file in your /etc/yum.repos.d/ directory
- [fusion]
- name=Few packages that are missing for Fusion Linux (Fedora Remix)
- baseurl=http://iso.linux.hr/fusion-linux/fusion-repo/fusion-16/$basearch/
- enabled=1
- skip_if_unavailable=1
- gpgcheck=0
- [fusion-source]
- name=Few packages that are missing for Fusion Linux (Fedora Remix) - Source
- baseurl=http://iso.linux.hr/fusion-linux/fusion-repo/fusion-16/SRPMS
- enabled=0
- gpgcheck=0
- skip_if_unavailable=1
- EOF
- Dropbox repository
rm /etc/yum.repos.d/dropbox.repo cat >> /etc/yum.repos.d/dropbox.repo << EOF [Dropbox] name=Dropbox Repository baseurl=http://linux.dropbox.com/fedora/17/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc skip_if_unavailable=1 EOF
- Playonlinux repository
cat >> /etc/yum.repos.d/playonlinux.repo << EOF [playonlinux] name=PlayOnLinux Official repo baseurl=http://rpm.playonlinux.com/fedora/yum/base enable=1 gpgcheck=0 gpgkey=http://mulx.playonlinux.com/rpm/rpm.gpg skip_if_unavailable=1 EOF
- install Google repository (Picasa, Google Chrome Browser ...)
wget https://dl-ssl.google.com/linux/linux_signing_key.pub rpm --import linux_signing_key.pub cat >> /etc/yum.repos.d/google.repo << EOF [google] name=Google - i386 baseurl=http://dl.google.com/linux/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub skip_if_unavailable=1 EOF
- Google Chrome repo
cat >> /etc/yum.repos.d/google-chrome.repo << EOF [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 skip_if_unavailable=1 EOF
- Google Earth repo
cat >> /etc/yum.repos.d/google-earth.repo << EOF [google-earth] name=google-earth baseurl=http://dl.google.com/linux/earth/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub skip_if_unavailable=1 EOF
- Add Skype repository
gpg --keyserver pgp.mit.edu --recv-keys 0xD66B746E gpg -a -o /etc/pki/rpm-gpg/RPM-GPG-KEY-skype --export 0xD66B746E cat >> /etc/yum.repos.d/skype.repo << EOF [skype] name=Skype Repository baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-skype enabled=1 gpgcheck=1 skip_if_unavailable=1 EOF
- Add Cinnamon repository
cat >> /etc/yum.repos.d/fedora-cinnamon.repo << EOF [fedora-cinnamon] name=Cinnamon provides core user interface functions for the GNOME 3 desktop baseurl=http://repos.fedorapeople.org/repos/leigh123linux/cinnamon/fedora-17/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0
[fedora-cinnamon-source] name=Cinnamon provides core user interface functions for the GNOME 3 desktop - Source baseurl=http://repos.fedorapeople.org/repos/leigh123linux/cinnamon/fedora-17/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0 EOF
- Add Parsidora repository
- cat >> /etc/yum.repos.d/parsidora.repo << EOF
- [parsidora]
- name=Parsidora 16 – $basearch
- baseurl=http://parsidora.sourceforge.net/releases/16/repos/parsidora/$basearch
- skip_if_unavailable=1
- gpgcheck=0
- EOF
- install VirtualBox Guest Additions
- mkdir /tmp/mnt
- mount -o loop /usr/share/virtualbox/VBoxGuestAdditions.iso /tmp/mnt/
- /tmp/mnt/VBoxLinuxAdditions.run
- Enable GIMP single window mode
mkdir -p /etc/skel/.gimp-2.7/ cat >> /etc/skel/.gimp-2.7/sessionrc << EOF
- GIMP sessionrc
- This file takes session-specific info (that is info, you want to keep
- between two GIMP sessions). You are not supposed to edit it manually, but
- of course you can do. The sessionrc will be entirely rewritten every time
- you quit GIMP. If this file isn't found, defaults are used.
(session-info "toplevel"
(factory-entry "gimp-empty-image-window") (position 410 370) (size 620 200))
(session-info "toplevel"
(factory-entry "gimp-single-image-window") (position 159 104) (size 986 727) (open-on-exit) (aux-info (left-docks-width "118") (right-docks-position "656")) (gimp-toolbox (side left) (book (current-page 0) (dockable "gimp-tool-options" (tab-style automatic)))) (gimp-dock (side right) (book (current-page 0) (dockable "gimp-layer-list" (tab-style automatic) (preview-size 32)) (dockable "gimp-channel-list" (tab-style automatic) (preview-size 32)) (dockable "gimp-vectors-list" (tab-style automatic) (preview-size 32)) (dockable "gimp-undo-history" (tab-style automatic))) (book (position 356) (current-page 0) (dockable "gimp-brush-grid" (tab-style automatic)) (dockable "gimp-pattern-grid" (tab-style automatic)) (dockable "gimp-gradient-list" (tab-style automatic)))))
(hide-docks no) (single-window-mode yes) (last-tip-shown 0)
- end of sessionrc
EOF
%end
%post --nochroot --log=/mnt/sysimage/root/ks-post.log
- http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-postinstallconfig.html
- --nochroot Allows you to specify commands that you would like to run outside of the chroot environment.
- Define variables where config files are located ($LIVE_ROOT)
- and which directory is used for building iso ($INSTALL_ROOT)
LIVE_ROOT="/home/fusion-linux" cd /home/fusion-linux/temp/imgcreate-* cd install_root INSTALL_ROOT=$(pwd) echo -e "\nBegin --nochroot" echo -e "\nInstall root directory - $INSTALL_ROOT"
- Download Faience GNOME 3 icon theme
echo -e "\nInstalling Faience icons" cd "$LIVE_ROOT" if [ ! -d faience_icon_theme ] ; then
mkdir -p faience_icon_theme
fi cd faience_icon_theme if [ ! -f faience_icon_theme_by_tiheum-d47vo5d.zip ] ; then
wget http://www.deviantart.com/download/255099649/faience_icon_theme_by_tiheum-d47vo5d.zip
else
echo -e "\nFaience icons already downloaded.\n"
fi unzip -o faience_icon_theme_by_tiheum-d47vo5d.zip tar xf Faience.tar.gz tar xf Faience-Azur.tar.gz tar xf Faience-Ocre.tar.gz tar xf Faience-Claire.tar.gz mkdir -p "$INSTALL_ROOT/etc/skel/.icons/" echo -e "\nCopy Faience icons to skel directory." mv Faience/ "$INSTALL_ROOT/etc/skel/.icons/" mv Faience-Azur/ "$INSTALL_ROOT/etc/skel/.icons/" mv Faience-Ocre/ "$INSTALL_ROOT/etc/skel/.icons/" mv Faience-Claire/ "$INSTALL_ROOT/etc/skel/.icons/" cd "$LIVE_ROOT" echo -e "\nFaience icons install finished."
- Universal GNOME 3 Theme
if [ ! -f universal_by_nale12-d4hne5v.zip ] ; then
echo -e "\nUniversal theme already downloaded"
else
echo -e "\nDownloading Universal GNOME 3 theme" cd "$LIVE_ROOT" curl -L -O http://www.deviantart.com/download/271509619/universal_by_nale12-d4hne5v.zip
fi unzip universal_by_nale12* mv Universal "$INSTALL_ROOT/usr/share/themes/" mv Universal.emerald "$INSTALL_ROOT/usr/share/themes/" if [ -d "$INSTALL_ROOT/usr/share/theme/Universal" ] ; then
echo -e "Universal theme installed successfully"
else
echo -e "Universal theme installation failed"
fi
- Wallpaper
if [ ! -f rei-forever.jpg ] ; then
curl -O
else cp rei-forever.jpg "$INSTALL_ROOT/usr/share/backgrounds/"
- Solarized theme for gnome-terminal and konsole
echo -e "\nSolarized gnome-terminal theme" mkdir -p "$INSTALL_ROOT/etc/skel/.solarized/" cd "$INSTALL_ROOT/etc/skel/.solarized/" wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-dark wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-light wget https://github.com/mukashi/solarized/raw/master/gedit-colors-solarized/solarized_dark.xml wget https://github.com/mukashi/solarized/raw/master/gedit-colors-solarized/solarized_light.xml mkdir -p "$INSTALL_ROOT/etc/skel/.config/gedit/styles/" cp solarized_light.xml "$INSTALL_ROOT/etc/skel/.config/gedit/styles/" cp solarized_dark.xml "$INSTALL_ROOT/etc/skel/.config/gedit/styles/" cp dircolors.ansi-dark "$INSTALL_ROOT/etc/skel/.dircolors" eval `dircolors "$INSTALL_ROOT/etc/skel/.dircolors"` git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git cd gnome-terminal-colors-solarized
- ./set_dark.sh
cd "$LIVE_ROOT"
- Solarized Konsole
mkdir -p "$INSTALL_ROOT/etc/skel/.kde/share/apps/konsole/" curl https://raw.github.com/phiggins/konsole-colors-solarized/master/Solarized%20Dark.colorscheme -o "$INSTALL_ROOT/etc/skel/.kde/share/apps/konsole/SolarizedDark.colorscheme" cat <<EOF | tee "$INSTALL_ROOT/etc/skel/.kde/share/apps/konsole/Shell.profile" [Appearance] ColorScheme=SolarizedDark
[General] Icon=utilities-terminal LocalTabTitleFormat=%D : %n Name=Shell Parent=FALLBACK/ RemoteTabTitleFormat=(%u) %H
[Terminal Features] BidiRenderingEnabled=trues EOF
- Demo video and audio files
- echo -e "\n Create examples folder"
- cd "$LIVE_ROOT"
- mkdir -p Examples/Videos
- cd Examples/Videos
- pwd
- echo "Examples files download"
- wget http://fedoraproject.org/w/uploads/e/e4/Fedora_11_Overview_-_Jesse_Keating.ogg
- cd ..
- mkdir Remix
- cd Remix
- wget http://www.montanalinux.org/files/newvideos/fedora-10-remix.ogv
- cd ..
- mkdir Videos
- cd Videos
- wget http://www.redhat.com/v/ogg/TruthHappensRmx.ogg
- youtube-dl http://www.youtube.com/watch?v=SJaTA25tpMg && mv SJaTA25tpMg.mp4 Compiz\ Fusion\ Tutorial.mp4
- youtube-dl http://www.youtube.com/watch?v=Pa1RCg-Ccp0 && mv Pa1RCg-Ccp0.flv Linux_MAC_PC.flv
- youtube-dl http://www.youtube.com/watch?v=zij7MuY29Ww && mv zij7MuY29Ww.flv GNOME-Do.flv
- cd "$LIVE_ROOT"
- echo "Example creation folder end"
- Make Multimedia Examples folder show on desktop
- echo "Make Multimedia Examples folder show on desktop"
- cd "$LIVE_ROOT"
- mkdir -p "$INSTALL_ROOT/etc/skel/Desktop/"
- ls -al "$INSTALL_ROOT/etc/skel" # remove after testing
- cp -fR Examples/ "$INSTALL_ROOT/etc/skel/Desktop/" # copy sub directories and all files
- cp "$LIVE_ROOT/Examples/" "$INSTALL_ROOT/etc/skel/Desktop/" -R
- echo "Make Multimedia Examples folder show on desktop end"
- Download and install latest Broadom b43 driver into /lib/firmware/b43
echo "Download and install latest Broadom b43 driver" cd "$LIVE_ROOT"
- wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
- mkdir "$INSTALL_ROOT/extra/broadcom-firmware" -p
- cd "$INSTALL_ROOT/extra/broadcom-firmware"
if [ ! -f broadcom-wl-4.150.10.5.tar.bz2 ] # if file already exists no need to download it again then
echo -e "\nBroadcom firmware not present, downloading..." wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
else
echo -e "\nBroadcom firmware already present"
fi tar xjf broadcom-wl-4.150.10.5.tar.bz2
- cd broadcom-wl-4.150.10.5/driver
b43-fwcutter -w "$INSTALL_ROOT/lib/firmware/" broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o cd ../../ rm -Rf broadcom-wl-4.150.10.5/
- cd "$LIVE_ROOT"
echo -e "\nDownload and install latest Broadom b43 firmware finished"
- Download and Install Arista Transcoder, 7 M
cd "$LIVE_ROOT" if [ ! -f arista-0.9.7.tar.gz ] # if file already exists no need to download it again then
echo "Arista installer not present, downloading..." wget http://programmer-art.org/media/releases/arista-transcoder/arista-0.9.7.tar.gz
else
echo -e "\nArista installer already downloaded"
fi tar xvzf arista-0.9.7.tar.gz cd arista-0.9.7 python setup.py install --root $INSTALL_ROOT cd .. rm -Rf arista-0.9.7/ cd "$LIVE_ROOT"
- Fixes for arista 0.9.6 bugs
- sed -i -e 's/\/home\/fusion-linux\/arista-0.9.6/\/usr\/bin\/python/g' "$INSTALL_ROOT/usr/bin/arista-gtk" "$INSTALL_ROOT/usr/bin/arista-transcode"
- sed -i -e 's/#!./#!\/usr\/bin\/python/g' "$INSTALL_ROOT/usr/bin/arista-gtk" "$INSTALL_ROOT/usr/bin/arista-transcode"
- mv "$INSTALL_ROOT/usr/lib/python2.6/site-packages/arista" "$INSTALL_ROOT/usr/lib/python2.7/site-packages/"
%end