Created
September 19, 2012 14:10
-
-
Save lbt/3749893 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*-mic2-options-*- --arch=armv6l -*-mic2-options-*- | |
# | |
# Do not Edit! Generated by: | |
# kickstarter.py | |
# | |
lang en_US.UTF-8 | |
keyboard us | |
timezone --utc UTC | |
part /boot --size 50 --ondisk mmcblk0p --fstype=vfat | |
part / --size 1500 --ondisk mmcblk0p --fstype=ext4 | |
rootpw rootme | |
user --name mer --groups audio,video --password rootme | |
repo --name=mer-core --baseurl=http://releases.merproject.org/releases/0.20120614.0.1/builds/armv6l/packages/ --save --debuginfo --source | |
repo --name=raspPi-HA --baseurl=http://repo.pub.meego.com/home:/vgrade:/raspPi/Mer_Core_armv6l/ --save --debuginfo --source | |
repo --name=mer-tools --baseurl=http://repo.pub.meego.com/Mer%3a/Tools%3a/Testing/Mer_Core_armv6l/ --save --debuginfo --source | |
repo --name=stskeeps-tests --baseurl=http://repo.pub.meego.com/home:/stskeeps:/tools-testing-eat/Mer_Core_armv6l/ --save --debuginfo --source | |
%packages | |
@Mer Connectivity | |
@Mer Graphics Common | |
@Mer Minimal Xorg | |
@Mer Core | |
qt-qmlviewer | |
xorg-x11-drv-evdev | |
xorg-x11-drv-vesa | |
xorg-x11-drv-fbdev | |
xorg-x11-server-Xorg-setuid | |
-xorg-x11-server-Xorg | |
openssh | |
openssh-clients | |
openssh-server | |
bootloader-raspPi | |
kernel-adaptation-raspPi | |
mkimage-raspPi | |
eat-device | |
blts-x11-tests | |
%end | |
%post | |
# Create a session file for qmlviewer. | |
cat > /usr/share/xsessions/X-MER-QMLVIEWER.desktop << EOF | |
[Desktop Entry] | |
Version=1.0 | |
Name=qmlviewer | |
Exec=/usr/bin/qmlviewer | |
Type=Application | |
EOF | |
# Set symlink pointing to .desktop file | |
ln -sf X-MER-QMLVIEWER.desktop /usr/share/xsessions/default.desktop | |
# Rebuild db using target's rpm | |
echo -n "Rebuilding db using target rpm.." | |
rm -f /var/lib/rpm/__db* | |
rpm --rebuilddb | |
echo "done" | |
# Prelink can reduce boot time | |
if [ -x /usr/sbin/prelink ]; then | |
echo -n "Running prelink.." | |
/usr/sbin/prelink -aRqm | |
echo "done" | |
fi | |
echo "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ip=192.168.3.100:192.168.3.1::255.255.255.0::eth0:on" > /boot/cmdline.txt | |
su -c 'eat-add-device-key' - root | |
su -c 'eat-add-device-key' - mer | |
%end | |
%post --nochroot | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment