ReferencePlatforms/mobile-imaging-linux: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


Select only 'standard system' for the software selection prompt
Select only 'standard system' for the software selection prompt
==Setup OS==
su -
apt-get update
apt-get upgrade
apt-get install sudo mercurial build-essential†
visudo
#add the line
%sudo ALL=(ALL) NOPASSWD: ALL
gpasswd -a maemo sudo
==Setup Mozilla Environment==
hg clone http://hg.mozilla.org/build/tools
ln -s tools/buildfarm/mobile/n810-imaging
ln -s tools/buildfarm/mobile/n900-imaging
wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz
tar zxf rsync-2.6.9.tar.gz
cd rsync-2.6.9
./configure --disable-debug --prefix=/home/maemo
make -j4
make install
cp ~/bin/rsync /usr/bin/rsync2
sed -i -e 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
#obtain appropriate nokia flasher


=old doc below=
=old doc below=
Line 27: Line 52:
If your network connection doesn't connect automatically, right click computers with red box/white x and select 'edit connections'.  select System eth0 and click edit -> tick connect automatically -> authenticate as root
If your network connection doesn't connect automatically, right click computers with red box/white x and select 'edit connections'.  select System eth0 and click edit -> tick connect automatically -> authenticate as root


==Setup OS==
 
su -
visudo
#uncomment the line
%wheel ALL=(ALL) NOPASSWD: ALL
gpasswd -a maemo wheel
yum install mercurial
   
   
==Setup Mozilla Environment==
==Setup Mozilla Environment==

Revision as of 20:45, 13 May 2010

Install OS

I installed Debian 5 using

ftp://ftp.heanet.ie/pub/debian-cd/current/i386/iso-cd/debian-504-i386-netinst.iso

I ran throught the default options, setting timezone as appropriate. To install on the HP/Compaq machines with the Intel 82567LM (e1000e) driver, I had to ues a USB networking interface.

Select only 'standard system' for the software selection prompt

Setup OS

su -
apt-get update
apt-get upgrade
apt-get install sudo mercurial build-essential†
visudo
#add the line
%sudo ALL=(ALL) NOPASSWD: ALL
gpasswd -a maemo sudo

Setup Mozilla Environment

hg clone http://hg.mozilla.org/build/tools
ln -s tools/buildfarm/mobile/n810-imaging
ln -s tools/buildfarm/mobile/n900-imaging
wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz
tar zxf rsync-2.6.9.tar.gz
cd rsync-2.6.9
./configure --disable-debug --prefix=/home/maemo
make -j4
make install
cp ~/bin/rsync /usr/bin/rsync2
sed -i -e 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
#obtain appropriate nokia flasher


old doc below

OS Install

There aren't too many specifics for the operating system that is installed.

  • Install Fedora 12 32bit
  • select defauts for language options (English, US...)
  • when partitioning select 'Use entire disk'
  • when selecting software:
    • untick 'Office and Productivity'
    • tick 'Software Development'
  • set root password appropriately

First Run

Set up time synchronizing as desired, create a user:

  • Full Name: Maemo Flashing
  • User Name: maemo
  • Password :

and send hardware profile.

If your network connection doesn't connect automatically, right click computers with red box/white x and select 'edit connections'. select System eth0 and click edit -> tick connect automatically -> authenticate as root


Setup Mozilla Environment

hg clone http://hg.mozilla.org/build/tools
ln -s tools/buildfarm/mobile/n810-imaging
ln -s tools/buildfarm/mobile/n900-imaging
wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz
tar zxf rsync-2.6.9.tar.gz
cd rsync-2.6.9
./configure --disable-debug --prefix=/home/maemo
make -j4
make install
cp ~/bin/rsync /usr/bin/rsync2
sed -i -e 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
#obtain appropriate nokia flasher