Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. lang en_US.UTF-8
  2. keyboard us
  3. timezone --utc Europe/London
  4. part / --size 3500 --ondisk sda --fstype=ext3
  5. rootpw meego
  6.  
  7. #xconfig --startxonboot
  8.  
  9. #bootloader --timeout=1 --menu="autoinst:Installation:systemd.unit=installer-shell.service"
  10. bootloader --timeout=1 --append="quiet"
  11.  
  12. desktop --autologinuser=meego --defaultdesktop=X-IVI --session="/usr/bin/startdemo"
  13.  
  14. user --name meego --groups audio,video --password meego
  15.  
  16. repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
  17.  
  18. ##repo --name=smoku_Mer_HA_iMX --baseurl=http://repo.pub.meego.com/home:/smoku:/Mer:/HA:/iMX/Mer_Core_armv7hl/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
  19.  
  20.  
  21. %packages
  22.  
  23. @Mer Core
  24. @Mer Minimal Xorg
  25. @Mer Graphics Common
  26.  
  27. #@Mer Connectivity
  28.  
  29. #@MTF Handset UX
  30. #@Community Edition Base
  31. #@Community Edition Libraries
  32.  
  33. #kernel-adaptation-pc
  34.  
  35. basesystem
  36. ###linux-firmware
  37. xorg-x11-drv-mtev
  38. #xorg-x11-drv-synaptics
  39. #xorg-x11-drv-intel
  40. #mesa-dri-i915-driver
  41. #mesa-dri-i965-driver
  42. ####mesa-libGLESv2
  43.  
  44. ####libamdgpu-bin
  45. ###libz160-bin
  46.  
  47. zypper
  48. openssh-clients
  49. openssh-server
  50. bash
  51. boardname
  52. coreutils
  53. crda
  54. deltarpm
  55. e2fsprogs
  56. file
  57. filesystem
  58. iproute
  59. kbd
  60. lsb-release
  61. net-tools
  62. nss
  63. pam
  64. passwd
  65. prelink
  66. procps
  67. readline
  68. rootfiles
  69. rpm
  70. setup
  71. shadow-utils
  72. shared-mime-info
  73. systemd-sysv
  74. time
  75. udev
  76. usbutils
  77. util-linux
  78. wireless-tools
  79. wpa_supplicant
  80. xdg-user-dirs
  81. cjkuni-fonts
  82. droid-sans-fonts
  83. droid-sans-mono-fonts
  84. droid-serif-fonts
  85. fontpackages-filesystem
  86. liberation-fonts-common
  87. liberation-mono-fonts
  88. liberation-sans-fonts
  89.  
  90. liberation-serif-fonts
  91. uxlaunch
  92. gzip
  93. xorg-x11-server-Xorg
  94. xorg-x11-drv-fbdev
  95. xorg-x11-xauth
  96. qt-qmlviewer
  97.  
  98. qt5-qtcore
  99. qt5-qtqml
  100. qt5-qtjsbackend
  101. qt5-qtopengl
  102. qt5-qtqml-qmlscene
  103. qt5-qtqml-qtquick
  104. qt5-qtqml-import-multimedia
  105. qt5-qtqml-import-qtquick2plugin
  106. qt5-qtmultimedia
  107. qt5-qtdbus
  108. qt5-qtgui
  109. gst-plugins-base-devel
  110. gst-plugins-base
  111. gst-plugins-base-tools
  112. gst-plugins-bad-free
  113. qt5-tools
  114. qt5-plugin-platform-eglfs
  115. qt5-plugin-imageformat-jpeg
  116. qt5-plugin-imageformat-ico
  117. qt5-plugin-imageformat-gif
  118. qt5-plugin-bearer-nm
  119. qt5-plugin-bearer-generic
  120. qt5-plugin-platform-xcb
  121. qt5-plugin-platforminputcontext-ibus
  122. qt5-qtgraphicaleffects
  123. qt5-qtconcurrent
  124. qt5-qtimageformats-plugin-mng
  125. qt5-qtimageformats-plugin-tiff
  126. qt5-qtmultimedia-plugin-mediaservice-audioengine
  127. qt5-qtqml-import-folderlistmodel
  128. qt5-qtqml-import-localstorageplugin
  129. qt5-qtwidgets
  130. qt5-qtv8
  131. qt5-qtxml
  132. qt5-qtxmlpatterns
  133.  
  134.  
  135. %end
  136.  
  137. %post
  138.  
  139. # save a little bit of space at least...
  140. rm -f /boot/initrd*
  141.  
  142. # make sure there aren't core files lying around
  143. rm -f /core*
  144.  
  145. # Remove cursor from showing during startup BMC#14991
  146. echo "xopts=-nocursor" >> /etc/sysconfig/uxlaunch
  147.  
  148. # work around for poor key import UI in PackageKit
  149. rm -f /var/lib/rpm/__db*
  150. rpm --rebuilddb
  151.  
  152. # Normal bootchart is only 30 long so we use this to get longer bootchart during startup when needed.
  153. cat > /sbin/bootchartd-long << EOF
  154. #!/bin/sh
  155. exec /sbin/bootchartd -n 4000
  156. EOF
  157. chmod +x /sbin/bootchartd-long
  158.  
  159. # Fix for https://bugs.meego.com/show_bug.cgi?id=15963
  160. mkdir -p /usr/share/themes/base/meegotouch/
  161. cp -rf /usr/share/themes/meego/meegotouch/dialer /usr/share/themes/base/meegotouch/
  162.  
  163. # Also some other apps need fixes for other themes than meego
  164. cp -rf /usr/share/themes/meego/meegotouch/meegophotos /usr/share/themes/base/meegotouch/
  165. cp -rf /usr/share/themes/meego/meegotouch/meegomusic /usr/share/themes/base/meegotouch/
  166. cp -rf /usr/share/themes/meego/meegotouch/meegovideo /usr/share/themes/base/meegotouch/
  167. # Hack to fix the plymouth based splash screen on N900
  168. mv /usr/bin/ply-image /usr/bin/ply-image-real
  169. cat > /usr/bin/ply-image << EOF
  170. #!/bin/sh
  171. echo 32 > /sys/class/graphics/fb0/bits_per_pixel
  172. exec /usr/bin/ply-image-real $@
  173. EOF
  174. chmod +x /usr/bin/ply-image
  175. # Remove some unwanted "engineering english" translations.
  176. rm -f /usr/share/l10n/meegotouch/recovery*
  177. # We can run the prelink only with qemu version 0.14 and newer.
  178. qemu-arm-static -version | grep "0\.14"
  179.  
  180. if [ "x$?" == "x0" ]; then
  181. echo "QEMU version 0.14 running prelink."
  182. # Prelink can reduce boot time
  183. if [ -x /usr/sbin/prelink ]; then
  184. /usr/sbin/prelink -aRqm
  185. fi
  186. else
  187. echo "QEMU version is not 0.14 so not running prelink."
  188. fi
  189.  
  190.  
  191. # Create a session file for MTF.
  192. cat > /usr/share/xsessions/X-MEEGO-HS.desktop << EOF
  193. [Desktop Entry]
  194. Version=1.0
  195. Name=mtf compositor session
  196. #Exec=/usr/bin/plasma-device
  197. Exec=/usr/bin/startkde
  198. #Exec=/usr/bin/mcompositor
  199. Type=Application
  200. EOF
  201.  
  202. # Set symlink pointing to .desktop file
  203. ln -sf X-MEEGO-HS.desktop /usr/share/xsessions/default.desktop
  204. # ohm outputs "No protocol specified" message couple of times a second, because of videoep module.
  205. # See: https://bugs.meego.com/show_bug.cgi?id=22887
  206. sed -i 's!ModulesBanned=!ModulesBanned=videoep!g' /etc/ohm/modules.ini
  207.  
  208. echo "10-pegatron" > /etc/boardname-override
  209. echo "10-pegatron" > /etc/boardname
  210. cp /etc/sensorfw/sensord.conf.d/* /etc/sensorfw/
  211.  
  212.  
  213. # Work around for eGalax Touchscreen
  214. cp /etc/X11/xorg.conf.d/60-cando-mtev.conf /etc/X11/xorg.conf.d/60-egalax-mtev.conf
  215. sed -i s/"Cando Multi Touch Panel"/"eGalax Touchscreen"/ /etc/X11/xorg.conf.d/60-egalax-mtev.conf
  216. sed -i s/Cando/eGalax/ /etc/X11/xorg.conf.d/60-egalax-mtev.conf
  217.  
  218. # Copy boot and shutdown images
  219. cp /usr/share/themes/1024-600-10/images/system/boot-screen.png /usr/share/plymouth/splash.png
  220. cp /usr/share/themes/1024-600-10/images/system/shutdown-screen.png /usr/share/plymouth/shutdown-1024x600.png
  221. # work around for maemo6 sensor crash
  222. rm /usr/lib/qt4/plugins/sensors/libqtsensors_meego.so
  223.  
  224. # work around for camera
  225. rm /usr/lib/gstreamer-0.10/libgstcamerabin.so
  226.  
  227. echo "meego-plasma-active-one-usb-live" >> /etc/image-release
  228. echo "" >> /etc/image-release
  229. echo "Initial Packages:" >> /etc/image-release
  230. rpm -qa >> /etc/image-release
  231. %end
  232.  
  233. %post --nochroot
  234. if [ -n "$IMG_NAME" ]; then
  235. echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
  236. fi
  237.  
  238.  
  239. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement