-
Notifications
You must be signed in to change notification settings - Fork 0
/
appliance-tools.spec
264 lines (203 loc) · 9.55 KB
/
appliance-tools.spec
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
%define debug_package %{nil}
Summary: Tools for building Appliances
Name: appliance-tools
Version: 007.8
Release: 6%{?dist}
License: GPLv2
Group: System Environment/Base
URL: https://git.fedorahosted.org/git/appliance-tools.git
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# git clone git://git.fedorahosted.org/appliance-tools
# cd appliance-tools
# git checkout appliance-tools-007.8
# make dist
Source0: appliance-tools-%{version}.tar.bz2
Patch0: appliance-tools-nss.hack
Requires: livecd-tools >= 020 curl rsync kpartx
Requires: zlib
Requires: qemu-img
Requires: xz
Requires: xfsprogs
Requires: sssd-client
BuildRequires: python
BuildRequires: /usr/bin/pod2man
BuildArch: noarch
ExcludeArch: ppc64 s390 s390x
%description
Tools for generating appliance images on Fedora based systems including
derived distributions such as RHEL, CentOS and others.
%prep
%setup -q
%patch0 -p1
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc README COPYING
%doc config/fedora-aos.ks
%{_mandir}/man*/*
%{_bindir}/appliance-creator
%{_bindir}/ec2-converter
%dir %{python_sitelib}/appcreate
%dir %{python_sitelib}/ec2convert
%{python_sitelib}/appcreate/*.py
%{python_sitelib}/appcreate/*.pyo
%{python_sitelib}/appcreate/*.pyc
%{python_sitelib}/ec2convert/*.py
%{python_sitelib}/ec2convert/*.pyo
%{python_sitelib}/ec2convert/*.pyc
%changelog
* Sun Oct 11 2015 Lubomir Rintel <[email protected]> - 007.8-6
- Add a dependency on sssd-client
- Remove thincrust.org references
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 007.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Aug 21 2014 Dennis Gilmore <[email protected]> - 007.8-4
- add a hack to preload the sss nss library
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 007.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Apr 26 2014 Dennis Gilmore <[email protected]> - 007.8-1
- drop image-minimiser
- change partitioning alignment to be optimal rhbz#990469
- change default timeout in extlinux config
* Wed Mar 05 2014 Dennis Gilmore <[email protected]> - 007.7-2
- Require xfsprogs
* Tue Feb 11 2014 Dennis Gilmore <[email protected]> - 007.7-1
- make sure the package list is available when we need it
* Tue Feb 11 2014 Dennis Gilmore <[email protected]> - 007.6-1
- use a slightly different path for extlinux-bootloader package
* Mon Feb 10 2014 Dennis Gilmore <[email protected]> - 007.5-1
- arm needs extlinux-bootloader to provide for extlinux support
- not syslinux-extlinux
* Mon Aug 26 2013 Dennis Gilmore <[email protected]> - 007.4-1
- refacter how re deal with each mount point old version did not handle swap
* Mon Aug 26 2013 Dennis Gilmore <[email protected]> - 007.3-1
- make sure that we only have a single instance of each mount point
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 007.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 21 2013 Dennis Gilmore <[email protected]> - 007.2-1
- fix up call to xz
* Fri Jun 21 2013 Dennis Gilmore <[email protected]> - 007.1-1
- xz compress raw images
* Fri Jun 07 2013 Dennis Gilmore <[email protected]> - 007.0-1
- specify filesystem type when creating partitions
- extlinux fixes from mattdm
- dont use -F 32 when making vfat partition
* Thu May 23 2013 Dennis Gilmore <[email protected]> - 006.6-1
- really start at 1mb
- compress qcow2 by default
- make sure we dont destroy our newly created vfat partition
* Wed May 22 2013 Dennis Gilmore <[email protected]> - 006.5-2
- add patch to read vfat uuid earlier
- leave first mb free
* Sun May 19 2013 Dennis Gilmore <[email protected]> - 006.5-1
- fix writing out kickstart file
* Sat May 18 2013 Dennis Gilmore <[email protected]> - 006.4-1
- write out kickstart file
- correctly write out extlinux config
- dont require --ondisk for partitions
* Sun May 12 2013 Dennis Gilmore <[email protected]> - 006.3-2
- add patch for typo fixes in extlinux config from mattdm
* Fri May 10 2013 Dennis Gilmore <[email protected]> - 006.3-1.1
- BuildRequires: /usr/bin/pod2man
* Fri May 10 2013 Dennis Gilmore <[email protected]> - 006.3-1
- update to 006.3
- use UUID's for fstab and root lines
- support making vfat partition for /boot/uboot
- support extlinux as a bootloader
* Wed Feb 13 2013 Fedora Release Engineering <[email protected]> - 006.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Aug 09 2012 Marek Goldmann <[email protected]> - 006.2-1
- Upstream release 006.2
* Wed Jul 18 2012 Fedora Release Engineering <[email protected]> - 006.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Feb 13 2012 Dennis Gilmore <[email protected]> - 006.1-3
- add patch to always write out a legacy grub config file
* Thu Jan 12 2012 Fedora Release Engineering <[email protected]> - 006.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 11 2011 Marek Goldmann <[email protected]> - 006.1-1
- Upstream release 006.1
- Search for grub files also in ARCH-pc directories
* Fri Nov 11 2011 Marek Goldmann <[email protected]> - 006-1
- Support for GRUB2 rhbz#744390
- Align partitions by default
- Search for grub files also in ARCH-unknown directories
- Allow to build appliances without GRUB installed at all
* Sat Oct 29 2011 Dennis Gilmore <[email protected]> - 005-1.nogrubhack.2
- update hack to work around no grub being installed so we can compose ec2 images
* Sat Oct 29 2011 Dennis Gilmore <[email protected]> - 005-1.nogrubhack
- add a hack to work around no grub being installed so we can compose ec2 images
* Mon Apr 04 2011 Alan Pevec <[email protected]> 005-1
- image-minimizer: support drop-keep-drop
- image-minimizer: add droprpm/keeprpm
- Added sub-package for image minimizer (dhuff)
* Mon Feb 07 2011 Fedora Release Engineering <[email protected]> - 004.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Aug 20 2010 Adam Tkac <atkac redhat com> - 004.5-1
- rebuild to ensure NVR in F14 is bigger than in F13
- merge following changes from F12 branch [David Huff]:
- Fixed error while installing grub
- Fixed issue with Fedora 12 using dracut to generate initrd
- Fixed issue with Fedora 12 parted error
* Wed Jul 21 2010 David Malcolm <[email protected]> - 004.4-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 004.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
*Mon Jul 07 2009 David Huff <[email protected]> -004.4
- added functionality include additional modules in ramdisk
*Mon Dec 01 2008 David Huff <[email protected]> -004.2
- changed form ExclusiveArch to EcludeArch to fix broken deps
*Mon Dec 01 2008 David Huff <[email protected]> - 004
- bumped version for rebuild for Python 2.6
- Allow the user to pass in --version and --release command line paramneters (bkearney)
- Patches to integrate ec2 conversion into the adk (bkeareny)
- Allow the appliance-creator to use remote urls with the new image tools (bkearney)
*Fri Nov 14 2008 David Huff <[email protected]> - 003.9
- Fixed bug in globbing files under a directory (pmyers)
*Fri Nov 14 2008 David Huff <[email protected]> - 003.8
- Fixed bug that causes appliance-creator to stacktrace when -i is omitted (pmyers)
*Wed Nov 12 2008 David Huff <[email protected]> - 003.7
- Fixed problem with -i only taking one file, now can include a dir
- Fixed versioning of source file, ie. 003.7
*Mon Nov 10 2008 David Huff <[email protected]> - 003-6
- Fixed broken dependencies for specific archs where qemu is not available
*Fri Nov 07 2008 David Huff <[email protected]> - 003-5
- Added error for Incomplete partition info (#465988)
- Fixed problem with long move operations (#466278)
- Fixed error converting disk formats (#464798)
- Added support for tar archives (#470292)
- Added md5/sha256 disk signature support (jboggs)
- Modified zip functionality can now do with or with out 64bit ext.
- Added support for including extra file in the package (#470337)
- Added option for -o outdir, no longer uses name
- OutPut is now in a seprate dir under appliance name
*Wed Sep 17 2008 David Huff <[email protected]> - 003-4
- Removed all the kickstart files in the config dir to mirror livecd-tools
- Added the image minimization to the refactored code (BKearney)
- multiple interface issue (#460922)
- added --format option to specity disk image format
- added --package option to specify output, currently only .zip supported
- added --vmem and --vcpu options
- Merged ec2-converter code (jboggs)
*Tue Aug 26 2008 David Huff <[email protected]> - 003-3
- release 3 fixes minor build errors
* Wed Jul 09 2008 David Huff <[email protected]> - 003-1
- version 003 is build for latest version of livecd-tools with patches
* Wed Jul 09 2008 Alan Pevec <[email protected]> 002-1
- import imgcreate.fs refactoring and other changes
to make it work with Fedora-9 livecd-tools-0.17.1 w/o Thincrust patches
- version 002 is for f9 branch to work with stock f9 livecd-tools
* Wed Jun 11 2008 David Huff <[email protected]> - 001-3
- fixed dependancys
* Tue Jun 10 2008 David Huff <[email protected]> - 001-2
- Undated opt parser
- fixed grub issue
- build aginsted newer livecd-tools for selinux issues
* Wed May 14 2008 David Huff <[email protected]> - 001
- Initial build.