ReferencePlatforms/Test/Maemo: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 41: Line 41:
  user ALL=(ALL) NOPASSWD: ALL
  user ALL=(ALL) NOPASSWD: ALL
  #dropbear and dropbear-client packages are broken
  #dropbear and dropbear-client packages are broken
  apt-get install bzip2 wget gnutar dropbear-server openssh-client libpcre3 libssl0.9.7 e2fsprogs
  apt-get install bzip2 wget gnutar dropbear-server openssh-client libpcre3 libssl0.9.7 e2fsprogs openntpd
  rm /bin/tar
  rm /bin/tar
  mv /bin/gtar /bin/tar
  mv /bin/gtar /bin/tar
  ln -s /bin/tar /bin/gtar
  ln -s /bin/tar /bin/gtar
==OpenNTPD==
uncomment the DAEMON_OPTS="-s" in /etc/default/openntpd
Grab the modified version of the openntpd script
cd /etc/init.d/
wget http://hg.mozilla.org/build/tools/raw-file/tip/buildfarm/mobile/n810-imaging/rootfs/etc/init.d/openntpd
enable the service
update-rc.d openntp defaults


==Packages from source==
==Packages from source==
Line 65: Line 75:
  wget http://pyyaml.org/download/pyyaml/PyYAML-3.09.tar.gz
  wget http://pyyaml.org/download/pyyaml/PyYAML-3.09.tar.gz
  wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz
  wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz
wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.6p1.tar.gz
  find -name "*.tar.bz2" -exec tar jxf {} \;
  find -name "*.tar.bz2" -exec tar jxf {} \;
  find -name "*.tar.gz" -exec tar zxf {} \;
  find -name "*.tar.gz" -exec tar zxf {} \;
Line 130: Line 141:
  fakeroot apt-get install libpcre3-dev
  fakeroot apt-get install libpcre3-dev
  ./configure --without-http-cache --prefix=/usr/nginx
  ./configure --without-http-cache --prefix=/usr/nginx
make -j4
make install DESTDIR=$ROOT
cd ..
#ntpd
cd ntp-4.2.6p1
./configure
cd ntpdate
  make -j4
  make -j4
  make install DESTDIR=$ROOT
  make install DESTDIR=$ROOT
Line 187: Line 206:


configure nginx
configure nginx
chown user:users /usr/nginx
cat > /usr/nginx/conf/nginx.conf <<EOF
cat > /usr/nginx/conf/nginx.conf <<EOF
  worker_processes  1;
  worker_processes  1;
user user users;
   
   
  events {
  events {
Confirmed users
1,377

edits

Navigation menu