blob: 2cfb83cba787af6a9e343c6a3eaab1b43c617146 (
plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
#if $metadata.has_key("Mic2Options")
# -*-mic2-options-*- ${metadata.Mic2Options} -*-mic2-options-*-
#end if
# ##############################################
# Do not Edit! Generated by:
# kickstarter.py
# ###############################################
lang ${metadata.Language}
keyboard ${metadata.Keyboard}
timezone --utc ${metadata.Timezone}
#if $metadata.Part == ""
part / --size ${metadata.PartSize} --ondisk sda --fstype=${metadata.FileSystem}
#else
${metadata.Part}
#end if
rootpw ${metadata.RootPass}
#if $metadata.has_key("StartX")
xconfig --startxonboot
#end if
#if $metadata.has_key("BootloaderTimeout") or $metadata.has_key("BootloaderAppend") or $metadata.has_key("BootloaderOptions")
bootloader #slurp
#end if
#if $metadata.has_key("BootloaderTimeout")
--timeout=${metadata.BootloaderTimeout} #slurp
#end if
#if $metadata.has_key("BootloaderAppend")
--append="${metadata.BootloaderAppend}" #slurp
#end if
#if $metadata.has_key("BootloaderOptions")
${metadata.BootloaderOptions}
#end if
#if $metadata.has_key("Desktop")
desktop --autologinuser=${metadata.DefaultUser} #slurp
#if $metadata.Desktop != "None"
--defaultdesktop=${metadata.Desktop} #slurp
#end if
#if $metadata.has_key("Session")
--session="${metadata.Session}"
#else
#end if
#end if
user --name ${metadata.DefaultUser} --groups audio,video --password '${metadata.DefaultUserPass}'
#set $options_global = ""
#if $metadata.SaveRepos
#set $options_global = "--save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego"
#end if
#for $r in $metadata.Repos
#for $rr in $repos
#if $rr.Name == $r
#set $options_repo = $options_global
#if $rr.has_key("Options")
#set $options_repo = $rr.Options
#end if
#if $rr.Name == "adobe"
#if $rr.has_key("Options")
repo --name=${r} --baseurl=${rr.Url} ${rr.Options}
#else
repo --name=${r} --baseurl=${rr.Url}
#end if
#else
repo --name=${r} --baseurl=${rr.Url} ${options_repo}
#end if
#end if
#end for
#end for
#if $metadata.has_key("PackageArgs")
%packages --${metadata.PackageArgs}
#else
%packages
#end if
#for $g in $metadata.Groups
@${g}
#end for
#if $metadata.has_key("Kernel")
$metadata.Kernel
#end if
#for $e in $metadata.ExtraPackages
${e}
#end for
#for $e in $metadata.RemovePackages
-${e}
#end for
%end
#if $metadata.has_key("PrePackages")
%prepackages
#for $e in $metadata.PrePackages
${e}
#end for
%end
#end if
#if $metadata.has_key("Attachment")
%attachment
#for $e in $metadata.Attachment
${e}
#end for
%end
#end if
%post
${metadata.Post}
%end
%post --nochroot
${metadata.NoChroot}
%end
|