r4836 - developers/werner/wlan-trial

werner at docs.openmoko.org werner at docs.openmoko.org
Thu Nov 27 23:32:15 CET 2008


Author: werner
Date: 2008-11-27 23:32:15 +0100 (Thu, 27 Nov 2008)
New Revision: 4836

Modified:
   developers/werner/wlan-trial/wlan-trial.myroot
Log:
Adapt rootfs for public WLAN trial.

- wlan-trial.myroot: use customized init script
- wlan-trial.myroot: remove all the GSM, audio, X, and programming stuff
- wlan-trial.myroot: don't grant Werner passwordless entry to the Neos of the 
  world
- wlan-trial.myroot: don't globally share his hosts file either
- wlan-trial.myroot: removed some speculative comments - we're sure about what
  we want here



Modified: developers/werner/wlan-trial/wlan-trial.myroot
===================================================================
--- developers/werner/wlan-trial/wlan-trial.myroot	2008-11-27 22:18:43 UTC (rev 4835)
+++ developers/werner/wlan-trial/wlan-trial.myroot	2008-11-27 22:32:15 UTC (rev 4836)
@@ -11,7 +11,6 @@
 
 
 root
-calypso=http://people.openmoko.org/joerg/calypso_moko_FW/
 my=$SVN/developers/werner
 
 
@@ -30,18 +29,15 @@
 pkg openssh ntpdate netkit-telnet
 pkg dhcp-client wireless-tools wpa-supplicant
 pkg portmap ppp rsync
-pkg alsa-state alsa-utils-alsamixer alsa-utils-alsactl alsa-utils-aplay
 pkg file
 pkg opkg gzip
-pkg perl python make
-pkg xserver-kdrive-glamo xset xhost xdpyinfo
 
 
 # ----- general exploration tools ---------------------------------------------
 
 
 pkg s3c24xx-gpio
-pkg gdb strace ldd
+pkg strace ldd
 
 make -C $my/poke clean all
 cp $my/poke/poke usr/bin
@@ -55,16 +51,6 @@
 ln -s /usr/sbin/s3c24xx-gpio usr/bin/gpio
 
 
-# ----- fun with GSM ----------------------------------------------------------
-
-
-pkg $calypso/fluid_0.0+svn20070817-r2_armv4t_eabi.ipk
-pkg cu
-
-#echo "uucp:*:2:2:uucp:/:/bin/true" >>etc/passwd
-#chown 2 dev/ttySAC0
-
-
 # ----- network testing -------------------------------------------------------
 
 
@@ -93,12 +79,11 @@
 
 # inspired by kboot's scripts/kboot
 
-cp $my/myroot/werner.init sbin/init
+cp $my/wlan-trial/wlan-trial.init sbin/init
 
 
 # ----- set up sshd -----------------------------------------------------------
 
-# @@@ cache the keys ?
 
 mkdir -p etc/ssh
 ssh-keygen -t rsa1 -f etc/ssh/ssh_host_key -N ""
@@ -110,32 +95,12 @@
 mkdir -p var/run/sshd
 
 
-# ----- enable passwordless SSH entry -----------------------------------------
-
-
-cd home/root
-mkdir .ssh
-chmod 700 .ssh
-cp $HOME/.ssh/id_rsa.pub .ssh/authorized_keys
-root
-
-
-# ----- install things we don't have in the feed yet --------------------------
-
-
-# only df is missing now !
-
-
 # ----- copy configuration files from the host --------------------------------
 
 
-cp /etc/hosts etc/hosts
+echo 127.0.0.1 localhost >etc/hosts
 cp /etc/services etc/services
 
-# cp /etc/resolv.conf etc/resolv.conf
-
-# prefer to hard-code it here
-
 cat <<EOF >>etc/resolv.conf
 # opendns
 nameserver 208.67.222.222
@@ -190,7 +155,5 @@
     mv $n sbin/`basename $n .26`
 done
 
-echo "audio:*:10:" >>etc/group
 
-
 # -----------------------------------------------------------------------------




More information about the commitlog mailing list