-
Notifications
You must be signed in to change notification settings - Fork 0
/
cordia-desktop-i586.ks
79 lines (61 loc) · 1.99 KB
/
cordia-desktop-i586.ks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
lang en_US.UTF-8
keyboard us
timezone --utc America/Los_Angeles
part / --size 3000 --ondisk sda --fstype=ext3
rootpw cordia
xconfig --startxonboot
bootloader --timeout=0 --append="quiet"
user --name cordia --groups audio,video,wheel --password cordia
repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/i586/packages/ --save --debuginfo
repo --name=cordia-common --baseurl=http://repo.pub.meego.com//Project:/Cordia:/Common/Mer_Core_i586/ --save
repo --name=cordia-desktop --baseurl=http://repo.pub.meego.com//Project:/Cordia:/Desktop/Mer_Core_i586/ --save
repo --name=cordia-apps --baseurl=http://repo.pub.meego.com//Project:/Cordia:/Apps/Mer_Core_i586/ --save
repo --name=cordia-tools --baseurl=http://repo.pub.meego.com//Project:/Cordia:/Tools/Mer_Core_i586/ --save
repo --name=mer-tools --baseurl=http://repo.pub.meego.com/Mer:/Tools/Mer_Core_i586/ --save --debuginfo --source
repo --name=ce-adaptation-x86-generic --baseurl=http://repo.pub.meego.com/CE:/Adaptation:/x86-generic/Mer_Core_i586/ --save
%packages
@Mer Core
@Mer Graphics Common
@Mer Connectivity
@Intel x86 Generic Support
@Mer Minimal Xorg
kernel-adaptation-pc
openssh-clients
openssh-server
xterm
vim-enhanced
connman-test
# SDK
build
mer-kickstarter
mic
mpc
net-tools
osc
psmisc
spectacle
sudo
# Desktop
mutter
%end
%post
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
# Prelink can reduce boot time
if [ -x /usr/sbin/prelink ]; then
/usr/sbin/prelink -aRqm
fi
# Set symlink pointing to .desktop file
ln -sf /usr/share/gnome/wm-properties/mutter-wm.desktop /usr/share/xsessions/default.desktop
# Disable pam_systemd as it breaks sudo
# See MER#379 https://bugs.merproject.org/show_bug.cgi?id=379
sed -i '/pam_systemd.so/s/^/#/' /etc/pam.d/system-auth
# Disable SSH "GSSAPIAuthentication"
sed -i '/GSSAPIAuthentication/s/^/#/' /etc/ssh/ssh_config
%end
%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi
%end