1. lang en_US.UTF-8
  2. keyboard us
  3. timezone --utc America/Los_Angeles
  4. auth --useshadow --enablemd5
  5.  
  6. rootpw meego
  7. xconfig --startxonboot
  8. desktop --autologinuser=meego --defaultdesktop=DUI --session="/usr/bin/mcompositor"
  9. user --name meego --groups audio,video --password meego
  10.  
  11.  
  12. repo --name=core --baseurl=http://download.meego.com/live/devel:/hardfp:/testrun/standard
  13. repo --name=base --baseurl=http://download.meego.com/live/devel:/hardfp:/base/standard
  14. repo --name=package-groups --baseurl=http://repo.meego.com/MeeGo/builds/trunk/daily/core/repos/armv7l/packages/ --excludepkgs=*
  15.  
  16. #repo --name=non-oss --baseurl=http://repo.meego.com/MeeGo/builds/trunk/1.1.80.13.20110105.1/non-oss/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
  17.  
  18. %packages
  19.  
  20. @MeeGo Core
  21. @MeeGo Base Development
  22. @MeeGo X Window System
  23. @X for Handsets
  24. @MeeGo Compliance
  25. @MeeGo Handset Desktop
  26. @MeeGo Handset Applications
  27. #@Nokia N900 Support
  28. #@Nokia N900 Proprietary Support
  29. #@Development Tools
  30.  
  31. xorg-x11-drv-fbdev
  32. mesa-dri-swrast-driver
  33.  
  34. %end
  35.  
  36. %post
  37.  
  38. # Prelink not included because of following bug
  39. # http://bugs.meego.com/show_bug.cgi?id=5217
  40.  
  41. # make sure there aren't core files lying around
  42. rm -f /core*
  43.  
  44. # open serial line console for embedded system
  45. echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS2 vt100" >> /etc/inittab
  46.  
  47. # work around for poor key import UI in PackageKit
  48. rm -f /var/lib/rpm/__db*
  49. rpm --rebuilddb
  50.  
  51. # Set up proper target for libmeegotouch
  52. Config_Src=`gconftool-2 --get-default-source`
  53. gconftool-2 --direct --config-source $Config_Src \
  54. -s -t string /meegotouch/target/name N900
  55.  
  56. # Normal bootchart is only 30 long so we use this to get longer bootchart during startup when needed.
  57. cat > /sbin/bootchartd-long << EOF
  58. #!/bin/sh
  59. exec /sbin/bootchartd -n 4000
  60. EOF
  61. chmod +x /sbin/bootchartd-long
  62.  
  63. # Use eMMC swap partition as MeeGo swap as well.
  64. # Because of the 2nd partition is swap for the partition numbering
  65. # we can just change the current fstab entry to match the eMMC partition.
  66. #sed -i 's/mmcblk0p2/mmcblk1p3/g' /etc/fstab
  67.  
  68. # Create the /boot/uImage for u-boot support.
  69. #mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n vmlinuz -d /boot/vmlinuz* /boot/uImage
  70.  
  71. %end
  72.  
  73. %post --nochroot
  74. if [ -n "$IMG_NAME" ]; then
  75. echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
  76. fi
  77. %end