mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44ab5c6793 | ||
|
|
7f2b258f84 | ||
|
|
099d4dc7dc |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
/spin-kickstarts-0.19.1.tar.gz
|
||||
/spin-kickstarts-0.19.2.tar.gz
|
||||
5
AUTHORS
5
AUTHORS
@@ -1,9 +1,5 @@
|
||||
Adam Miller
|
||||
Bastien Nocera
|
||||
Bruno Wolff III
|
||||
Bryan Kearney
|
||||
Chitlesh Goorah
|
||||
Christoph Wickert
|
||||
Colin Walters
|
||||
Fabian Affolter
|
||||
Igor Pires Soares
|
||||
@@ -11,7 +7,6 @@ Jens Petersen
|
||||
Jeremy Katz
|
||||
Jeroen van Meeuwen
|
||||
Jesse Keating
|
||||
Luya Tshimbalanga
|
||||
Matthias Clasen
|
||||
Pedro Silva
|
||||
Rahul Sundaram
|
||||
|
||||
674
COPYING
674
COPYING
@@ -1,674 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
34
Makefile
34
Makefile
@@ -1,34 +0,0 @@
|
||||
# Get a version name based off the nearest tag (include lightweight tags)
|
||||
version := $(shell git describe --tags)
|
||||
|
||||
DESTDIR := /usr
|
||||
|
||||
DATADIR := $(DESTDIR)/share
|
||||
|
||||
DOCDIR := $(DATADIR)/doc
|
||||
|
||||
name := spin-kickstarts
|
||||
|
||||
all: dist
|
||||
|
||||
install:
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)
|
||||
install *.ks* -m 644 $(DATADIR)/$(name)
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/custom
|
||||
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
||||
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
||||
|
||||
clean:
|
||||
rm -f $(name)-*.tar.gz
|
||||
|
||||
dist: $(name)-$(version).tar.gz
|
||||
|
||||
$(name)-$(version).tar.gz:
|
||||
git archive --format=tar --prefix=$(name)-$(version)/ HEAD | gzip > $(name)-$(version).tar.gz
|
||||
|
||||
publish: $(name)-$(version).tar.gz
|
||||
scp $(name)-$(version).tar.gz fedorahosted.org:$(name)
|
||||
|
||||
dist-clean:
|
||||
git clean -f -d
|
||||
137
Makefile.am
Normal file
137
Makefile.am
Normal file
@@ -0,0 +1,137 @@
|
||||
# Automake Automagic
|
||||
|
||||
kickstartdir = $(pkgdatadir)/
|
||||
kickstart_DATA = \
|
||||
fedora-aos.ks \
|
||||
fedora-install-fedora.ks \
|
||||
fedora-live-base.ks \
|
||||
fedora-livecd-desktop.ks \
|
||||
fedora-livecd-desktop-default.ks \
|
||||
fedora-livecd-desktop-de_CH.ks \
|
||||
fedora-livecd-desktop-de_DE.ks \
|
||||
fedora-livecd-desktop-en_US.ks \
|
||||
fedora-livecd-desktop-nl_NL.ks \
|
||||
fedora-livecd-desktop-pt_BR.ks \
|
||||
fedora-livecd-desktop-pt_PT.ks \
|
||||
fedora-livecd-education-math.ks \
|
||||
fedora-livecd-kde.ks \
|
||||
fedora-livecd-kde-de_CH.ks \
|
||||
fedora-livecd-kde-de_DE.ks \
|
||||
fedora-livecd-kde-nl_NL.ks \
|
||||
fedora-livecd-kde-pt_PT.ks \
|
||||
fedora-livecd-xfce.ks \
|
||||
fedora-livecd-xfce-de_CH.ks \
|
||||
fedora-livecd-xfce-nl_NL.ks \
|
||||
fedora-livecd-xfce-pt_PT.ks \
|
||||
fedora-livedvd-developer.ks \
|
||||
fedora-livedvd-developer-de_CH.ks \
|
||||
fedora-livedvd-developer-nl_NL.ks \
|
||||
fedora-livedvd-developer-pt_PT.ks \
|
||||
fedora-livedvd-electronic-lab.ks \
|
||||
fedora-livedvd-electronic-lab-de_CH.ks \
|
||||
fedora-livedvd-electronic-lab-nl_NL.ks \
|
||||
fedora-livedvd-electronic-lab-pt_PT.ks \
|
||||
fedora-livedvd-games.ks \
|
||||
fedora-livedvd-games-de_CH.ks \
|
||||
fedora-livedvd-games-nl_NL.ks \
|
||||
fedora-livedvd-games-pt_PT.ks
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(kickstart_DATA) \
|
||||
spin-kickstarts.spec.in\
|
||||
spin-kickstarts.spec \
|
||||
ChangeLog \
|
||||
COPYING \
|
||||
AUTHORS \
|
||||
README
|
||||
|
||||
DISTCLEANFILES = \
|
||||
intltool-extract \
|
||||
intltool-merge \
|
||||
intltool-update
|
||||
|
||||
install-exec-local:
|
||||
|
||||
uninstall-local:
|
||||
rm -rf $(DESTDIR)$(pkgdatadir)
|
||||
|
||||
clean:
|
||||
rm -f ChangeLog
|
||||
rm -f *~
|
||||
rm -f spin-kickstarts.spec
|
||||
rm -f config.status config.log
|
||||
rm -rf autom4te.cache/
|
||||
find -type f -name "Makefile" -exec rm -f {} \;
|
||||
find -type f -name "*.rpmnew" -exec rm -f {} \;
|
||||
find -type f -name "*.rpmsave" -exec rm -f {} \;
|
||||
find -type f -name "Makefile.in" -exec rm -f {} \;
|
||||
find -type f -name "*.log" -exec rm -f {} \;
|
||||
find -type f -name "spin-kickstarts-*.tar.gz" -exec mv -f {} .. \;
|
||||
rm -f aclocal.m4 configure
|
||||
|
||||
ChangeLog:
|
||||
(GIT_DIR=.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
|
||||
|
||||
rpm: ChangeLog dist
|
||||
@(rpmbuild -ta ${PACKAGE}-$(PACKAGE_VERSION).tar.gz)
|
||||
|
||||
srpm: ChangeLog dist
|
||||
@(rpmbuild -ts ${PACKAGE}-$(PACKAGE_VERSION).tar.gz)
|
||||
|
||||
CVS_PKGVERSION=`echo $(PACKAGE_VERSION) | sed -e 's/\./_/g'`
|
||||
CVSTAG=$(PACKAGE_NAME)-$(CVS_PACKAGEVERSION)
|
||||
tag:
|
||||
@cvs tag -F $(CVSTAG)
|
||||
|
||||
RELEASE=`rpm -q --qf="%{RELEASE}\n" --specfile ${PACKAGE}.spec | head -n 1`
|
||||
|
||||
F-7: srpm
|
||||
@(mock -v -r fedora-7-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
||||
|
||||
F-8: srpm
|
||||
@(mock -v -r fedora-8-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
||||
|
||||
F-9: srpm
|
||||
@(mock -v -r fedora-9-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
||||
|
||||
devel: srpm
|
||||
@(mock -v -r fedora-devel-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
||||
|
||||
EL-5: srpm
|
||||
@(mock -v -r epel-5-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
||||
|
||||
mock: srpm F-7 F-8 F-9 devel EL-5
|
||||
|
||||
RELEASE_NUM=`rpm -q --qf="%{RELEASE}\n" --specfile ${PACKAGE}.spec | head -n 1 | cut -d'.' -f 1`
|
||||
|
||||
fpeople: mock
|
||||
rm -rf public_html
|
||||
mkdir -p public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/{el5,fc7,fc8,fc9}
|
||||
cp ${PACKAGE}-$(PACKAGE_VERSION).tar.gz public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/.
|
||||
cp ${PACKAGE}.spec public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/.
|
||||
cp /var/lib/mock/epel-5-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/el5/.
|
||||
cp /var/lib/mock/fedora-7-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc7/.
|
||||
cp /var/lib/mock/fedora-8-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc8/.
|
||||
cp /var/lib/mock/fedora-development-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc9/.
|
||||
scp -r public_html fedorapeople.org:.
|
||||
|
||||
custom: mock
|
||||
rm -rf custom
|
||||
mkdir -p custom/{el5,f7,f8,f9}/{i386,x86_64,ppc,SRPMS}/
|
||||
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/i386/.
|
||||
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/x86_64/.
|
||||
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/ppc/.
|
||||
cp /var/lib/mock/epel-5-i386/result/*.src.rpm custom/el5/SRPMS/.
|
||||
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/i386/.
|
||||
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/x86_64/.
|
||||
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/ppc/.
|
||||
cp /var/lib/mock/fedora-7-i386/result/*.src.rpm custom/f7/SRPMS/.
|
||||
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/i386/.
|
||||
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/x86_64/.
|
||||
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/ppc/.
|
||||
cp /var/lib/mock/fedora-8-i386/result/*.src.rpm custom/f8/SRPMS/.
|
||||
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/i386/.
|
||||
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/x86_64/.
|
||||
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/ppc/.
|
||||
cp /var/lib/mock/fedora-development-i386/result/*.src.rpm custom/f9/SRPMS/.
|
||||
scp -r custom elwood.kanarip.com:/data/os/repos/.
|
||||
13
README
13
README
@@ -8,16 +8,3 @@ The master branch is where development takes place:
|
||||
The release specific branches contain spin concepts that:
|
||||
- are approved (both by Board and Spin SIG)
|
||||
- maintained for the remainder of the release cycle
|
||||
|
||||
git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
|
||||
cd spin-kickstarts
|
||||
# If you need a specific branch other than master:
|
||||
git checkout BRANCHNAME
|
||||
# No tag has been added yet tag HEAD with
|
||||
git tag VERSION
|
||||
git push --tags
|
||||
make
|
||||
# Publish the released tar ball
|
||||
make publish
|
||||
# Clean up the generated files:
|
||||
make clean
|
||||
|
||||
16
configure.ac
Normal file
16
configure.ac
Normal file
@@ -0,0 +1,16 @@
|
||||
AC_INIT([spin-kickstarts], 0.10.4)
|
||||
AC_SUBST([RELEASE], 1)
|
||||
|
||||
ALL_LINGUAS="bn_IN bn ca cs da de el es fi fr gl gu hi hr hu is it ja ko ml ms nb nl or pa pl pt pt_BR ru sk sl sr@latin sr sv ta tr uk zh_CN zh_TW"
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AC_SUBST(DATESTAMP,`date +"%a %b %d %Y"`)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
spin-kickstarts.spec
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
@@ -1,7 +0,0 @@
|
||||
== NOTICE ==
|
||||
|
||||
This directory contains unofficial kickstarts. These have been technically
|
||||
approved by the Fedora Spins SIG, but have no trademark approval.
|
||||
|
||||
If these kickstart files include standard kickstarts (such as live-base),
|
||||
they should use ../ for the directory name.
|
||||
@@ -1,17 +0,0 @@
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
|
||||
part / --size 6000
|
||||
|
||||
%packages
|
||||
@haskell
|
||||
cpphs
|
||||
ghc-*-devel
|
||||
hugs98*
|
||||
xmobar
|
||||
xmonad
|
||||
@development-tools
|
||||
@fedora-packager
|
||||
devhelp
|
||||
emacs-haskell-mode
|
||||
xchat-gnome
|
||||
%end
|
||||
@@ -1,123 +0,0 @@
|
||||
/* Fedora Test Day welcome screen.
|
||||
*
|
||||
* Based on Fedora LiveCD welcome screen from Cosimo Cecchi:
|
||||
* http://git.fedorahosted.org/cgit/anaconda.git/tree/data/liveinst/gnome?h=f18-branch
|
||||
*/
|
||||
|
||||
const Gdk = imports.gi.Gdk;
|
||||
const GdkPixbuf = imports.gi.GdkPixbuf;
|
||||
const Gio = imports.gi.Gio;
|
||||
const GLib = imports.gi.GLib;
|
||||
const Gtk = imports.gi.Gtk;
|
||||
const Lang = imports.lang;
|
||||
const Pango = imports.gi.Pango;
|
||||
|
||||
const Gettext = imports.gettext;
|
||||
const _ = imports.gettext.gettext;
|
||||
|
||||
const LOCALE_DIR = '/usr/share/locale';
|
||||
|
||||
let anacondaApp = null;
|
||||
|
||||
function makeLabel(label, button) {
|
||||
let widget = new Gtk.Label();
|
||||
|
||||
if (button)
|
||||
widget.set_markup(
|
||||
'<b><span size="x-large">' + label + '</span></b>');
|
||||
else {
|
||||
widget.set_line_wrap(true);
|
||||
widget.set_justify(Gtk.Justification.CENTER);
|
||||
widget.set_margin_top(32);
|
||||
widget.set_margin_bottom(32);
|
||||
|
||||
widget.set_markup(
|
||||
'<span size="large">' + label + '</span>');
|
||||
}
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
const WelcomeWindow = new Lang.Class({
|
||||
Name: 'WelcomeWindow',
|
||||
|
||||
_init: function(application) {
|
||||
this.window = new Gtk.ApplicationWindow({
|
||||
application: application,
|
||||
type: Gtk.WindowType.TOPLEVEL,
|
||||
default_width: 600,
|
||||
default_height: 550,
|
||||
title: _("Welcome to Fedora Test Day"),
|
||||
window_position: Gtk.WindowPosition.CENTER });
|
||||
this.window.connect('key-press-event', Lang.bind(this,
|
||||
function(w, event) {
|
||||
let key = event.get_keyval()[1];
|
||||
|
||||
if (key == Gdk.KEY_Escape)
|
||||
this.window.destroy();
|
||||
|
||||
return false;
|
||||
}));
|
||||
|
||||
let mainGrid = new Gtk.Grid({
|
||||
orientation: Gtk.Orientation.VERTICAL,
|
||||
row_spacing: 16,
|
||||
vexpand: true,
|
||||
hexpand: true,
|
||||
halign: Gtk.Align.CENTER,
|
||||
valign: Gtk.Align.CENTER });
|
||||
this.window.add(mainGrid);
|
||||
|
||||
let buttonBox = new Gtk.Grid({
|
||||
orientation: Gtk.Orientation.HORIZONTAL,
|
||||
column_spacing: 16,
|
||||
halign: Gtk.Align.CENTER });
|
||||
mainGrid.add(buttonBox);
|
||||
|
||||
let tryContent = new Gtk.Box({
|
||||
orientation: Gtk.Orientation.VERTICAL, spacing: 16 });
|
||||
let firefoxpix = GdkPixbuf.Pixbuf.new_from_file_at_size(
|
||||
'/usr/share/icons/Fedora/256x256/places/start-here.png',256, 256);
|
||||
tryContent.add(new Gtk.Image({ pixbuf: firefoxpix }));
|
||||
tryContent.add(makeLabel(_("Participate in the Test Day"), true));
|
||||
let tryButton = new Gtk.Button({ child: tryContent });
|
||||
buttonBox.add(tryButton);
|
||||
|
||||
this._label = makeLabel(_(
|
||||
"Click the button to open a browser with the current Test Day " +
|
||||
"wiki page containing instructions and an IRC chat to discuss " +
|
||||
"any issues and questions you might have."
|
||||
), false);
|
||||
mainGrid.add(this._label);
|
||||
|
||||
tryButton.connect('clicked', Lang.bind(this,
|
||||
function() {
|
||||
GLib.spawn_command_line_async('firefox');
|
||||
this.window.destroy();
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
Gettext.bindtextdomain('anaconda', LOCALE_DIR);
|
||||
Gettext.textdomain('anaconda');
|
||||
|
||||
GLib.set_prgname('test-day-welcome');
|
||||
Gtk.init(null, null);
|
||||
Gtk.Settings.get_default().gtk_application_prefer_dark_theme = true;
|
||||
|
||||
let application = new Gtk.Application({
|
||||
application_id: 'org.fedoraproject.welcome-screen',
|
||||
flags: Gio.ApplicationFlags.FLAGS_NONE });
|
||||
let welcomeWindow = null;
|
||||
|
||||
application.connect('startup', Lang.bind(this,
|
||||
function() {
|
||||
welcomeWindow = new WelcomeWindow(application);
|
||||
}));
|
||||
application.connect('activate', Lang.bind(this,
|
||||
function() {
|
||||
welcomeWindow.window.show_all();
|
||||
}));
|
||||
|
||||
application.run(ARGV);
|
||||
|
||||
@@ -1,164 +0,0 @@
|
||||
### Fedora Test Day LiveCD ###
|
||||
# Read more at: https://fedoraproject.org/wiki/QA/Test_Days/Live_Image
|
||||
# Contact QA team if you have any improvements for this kickstart:
|
||||
# https://fedoraproject.org/wiki/QA
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
|
||||
|
||||
## System configuration
|
||||
# Warn about SELinux issues, but don't block
|
||||
selinux --permissive
|
||||
|
||||
|
||||
## Repositories
|
||||
# If you want, you can enable updates-testing
|
||||
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
||||
# You can also define your own repository here with custom/bleeding-edge packages
|
||||
#repo --name=test-day --baseurl=http://server/path
|
||||
|
||||
|
||||
## Packages
|
||||
%packages
|
||||
# Remove Anaconda, this image is not intended for installation (we modify the
|
||||
# image a lot, removing lots of software and changing some system defaults).
|
||||
# TCs/RCs are intended for installation instead. Of course you can put the
|
||||
# installer back for a specific Test Day, if needed, but make sure to communicate
|
||||
# well to people that it is intended for testing purposes, not for real usage.
|
||||
-@anaconda-tools
|
||||
-anaconda
|
||||
|
||||
# Strip as many packages as possible, so that our testers don't need to download
|
||||
# large ISOs. Only leave those packages that are generally useful for Test Days.
|
||||
# Test Day organizers can adjust the kickstart and add specific packages they
|
||||
# need for a particular Test Day.
|
||||
-@libreoffice
|
||||
-@printing
|
||||
-aisleriot
|
||||
-authconfig
|
||||
-brasero*
|
||||
-cheese
|
||||
-colord
|
||||
-colord-gtk
|
||||
-deja-dup
|
||||
-evolution
|
||||
-evolution-ews
|
||||
-fedora-release-notes
|
||||
-firewall-config
|
||||
-firstboot
|
||||
-gnome-backgrounds
|
||||
-gnome-boxes
|
||||
-gnome-color-manager
|
||||
-gnome-clocks
|
||||
-gnome-contacts
|
||||
-gnome-dictionary
|
||||
-gnome-documents
|
||||
-gnome-font-viewer
|
||||
-gnome-getting-started-docs
|
||||
-gnome-icon-theme-extras
|
||||
-gnome-initial-setup
|
||||
-gnome-photos
|
||||
-gucharmap
|
||||
-initial-setup
|
||||
-libsane-hpaio
|
||||
-nautilus-sendto
|
||||
-orca
|
||||
-realmd
|
||||
-rhythmbox
|
||||
-sane-backends*
|
||||
-shotwell
|
||||
-simple-scan
|
||||
-system-config-*
|
||||
-tmpwatch
|
||||
-transmission-gtk
|
||||
-vinagre
|
||||
-yum-langpacks
|
||||
|
||||
# Add some smaller alternatives for the stripped packages
|
||||
abiword
|
||||
|
||||
# Add packages useful for testing and debugging problems
|
||||
gdb
|
||||
strace
|
||||
ltrace
|
||||
gtk-recordmydesktop
|
||||
gconf-editor
|
||||
dconf-editor
|
||||
nautilus-open-terminal
|
||||
iotop
|
||||
htop
|
||||
|
||||
# Add favorite power-user tools
|
||||
mc
|
||||
vim
|
||||
nano
|
||||
wget
|
||||
|
||||
# Add dependencies for the welcome screen
|
||||
# (this makes it run also on non-GNOME systems)
|
||||
gjs
|
||||
firefox
|
||||
|
||||
%end
|
||||
|
||||
|
||||
## LiveCD environment adjustments
|
||||
%post
|
||||
|
||||
# The following changes are executed only during LiveCD boot and wouldn't affect
|
||||
# the installed system. This image is not intended for installation, but you
|
||||
# never know what your users might do.
|
||||
|
||||
# "EOF" is quoted so that variables are not expanded. Search for "here-document"
|
||||
# in man bash.
|
||||
cat >> /etc/rc.d/init.d/livesys << "EOF"
|
||||
|
||||
# Create Test Day welcome screen
|
||||
# Note that shebang must be written this way, else it is considered as comment
|
||||
echo "#!/usr/bin/env gjs-console" > /tmp/test-day-welcome
|
||||
cat >> /tmp/test-day-welcome << FOE
|
||||
%include qa-test-day-welcome.js
|
||||
FOE
|
||||
chmod +x /tmp/test-day-welcome
|
||||
|
||||
cat > /usr/share/applications/test-day-welcome.desktop << FOE
|
||||
[Desktop Entry]
|
||||
Name=Welcome to Fedora Test Day
|
||||
Exec=/tmp/test-day-welcome
|
||||
Icon=/usr/share/icons/Fedora/256x256/places/start-here.png
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-enabled=true
|
||||
FOE
|
||||
ln -s /usr/share/applications/test-day-welcome.desktop /etc/xdg/autostart/
|
||||
# Remove anaconda welcome screen (if it exists), it would display instead of ours
|
||||
rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
|
||||
|
||||
PREFDIR=`ls -d /usr/lib*/firefox/browser/defaults/preferences`
|
||||
cat << FOE >> $PREFDIR/test-day.js
|
||||
pref("startup.homepage_welcome_url","");
|
||||
pref("startup.homepage_override_url","");
|
||||
pref("browser.rights.3.shown", true);
|
||||
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day");
|
||||
FOE
|
||||
|
||||
# Adjust launchers in dash using a vendor override. (Adding a profile would
|
||||
# be another way to do this.)
|
||||
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['test-day-welcome.desktop', 'firefox.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
|
||||
FOE
|
||||
|
||||
# Disable screen blanking, there's no benefit on a Test Day image and it's irritating
|
||||
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.desktop.session.gschema.override
|
||||
[org.gnome.desktop.session]
|
||||
idle-delay=0
|
||||
FOE
|
||||
|
||||
# Rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -21,12 +21,22 @@ services --enabled=network
|
||||
# This information is used by appliance-tools but
|
||||
# not by the livecd tools.
|
||||
#
|
||||
part / --size 1024 --fstype ext4 --ondisk sda
|
||||
part / --size 550 --fstype ext3 --ondisk sda
|
||||
|
||||
#
|
||||
# Repositories
|
||||
#
|
||||
%include fedora-repo.ks
|
||||
# To compose against the current release tree, use the following "repo" (enabled by default)
|
||||
repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch
|
||||
# To include updates, use the following "repo" (enabled by default)
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=$basearch
|
||||
|
||||
# To compose against rawhide, use the following "repo" (disabled by default)
|
||||
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
|
||||
# To compose against local trees, (edit and) use:
|
||||
#repo --name=f10 --baseurl=http://localrepo/fedora/releases/10/Everything/$basearch/os/
|
||||
#repo --name=f10-updates --baseurl=http://localrepo/fedora/updates/10/$basearch/
|
||||
|
||||
#
|
||||
# Add all the packages after the base packages
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
lang en_US.UTF-8
|
||||
#keyboard us
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns,ssh
|
||||
|
||||
# configure extlinux bootloader
|
||||
bootloader extlinux
|
||||
|
||||
part /boot --size=512 --fstype ext3
|
||||
part swap --size=512 --fstype swap
|
||||
part / --size=3000 --fstype ext4
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=network
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
%packages
|
||||
@core
|
||||
@standard
|
||||
@hardware-support
|
||||
@dial-up
|
||||
|
||||
kernel
|
||||
|
||||
dracut-config-generic
|
||||
|
||||
chrony
|
||||
arm-boot-config
|
||||
extlinux-bootloader
|
||||
initial-setup
|
||||
initial-setup-gui
|
||||
#lets resize / on first boot
|
||||
dracut-modules-growroot
|
||||
|
||||
# remove this in %post
|
||||
dracut-config-generic
|
||||
|
||||
# install uboot images
|
||||
uboot-images-armv7
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=armhfp
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
echo "Packages within this LiveCD"
|
||||
rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
/usr/sbin/a-b-c
|
||||
|
||||
yum -y remove dracut-config-generic
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-kde-packages.ks
|
||||
|
||||
part / --size=4000 --fstype ext4
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
@@ -1,10 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-lxde-packages.ks
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
@@ -1,12 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-mate-packages.ks
|
||||
|
||||
part / --size=5000 --fstype ext4
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
@@ -1,25 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
|
||||
part swap --size=128 --fstype swap
|
||||
part / --size=1400 --fstype ext4
|
||||
|
||||
%packages
|
||||
-@standard
|
||||
-@dial-up
|
||||
-initial-setup-gui
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
echo -n "Enabling initial-setup text mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-soas-packages.ks
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
@@ -1,12 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
part / --size=5000 --fstype ext4
|
||||
|
||||
%packages
|
||||
-initial-setup
|
||||
-initial-setup-gui
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
%packages
|
||||
@base-x
|
||||
@fonts
|
||||
@input-methods
|
||||
@multimedia
|
||||
@printing
|
||||
%end
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-xfce-packages.ks
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
@@ -1,232 +0,0 @@
|
||||
# Fedora Atomic is a cloud-focused spin implementing the Project Atomic
|
||||
# patterns.
|
||||
#
|
||||
# RIGHT NOW, this is very like the traditional cloud image -- this is
|
||||
# just a starting point.
|
||||
|
||||
text
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
|
||||
reboot
|
||||
|
||||
# Package list.
|
||||
%packages
|
||||
|
||||
fedora-release-cloud
|
||||
|
||||
kernel-core
|
||||
@core
|
||||
grubby
|
||||
|
||||
|
||||
|
||||
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||
# a user account with ssh keys.
|
||||
cloud-init
|
||||
|
||||
# this is used by openstack's cloud orchestration framework (and it's small)
|
||||
heat-cfntools
|
||||
|
||||
# need this for growpart, because parted doesn't yet support resizepart
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
|
||||
cloud-utils-growpart
|
||||
|
||||
# We need this image to be portable; also, rescue mode isn't useful here.
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
syslinux-extlinux
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# cherry-pick a few things from @standard
|
||||
tar
|
||||
rsync
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
-grub2
|
||||
|
||||
%end
|
||||
|
||||
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||
# overriding it here so that both cases get the exact same file.
|
||||
# Note that the console line is different -- that's because EC2 provides
|
||||
# different virtual hardware, and this is a convenient way to act differently
|
||||
echo -n "Creating grub.conf for pvgrub"
|
||||
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||
mkdir /boot/grub
|
||||
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
#link grub.conf to menu.lst for ec2 to work
|
||||
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||
ln -sf grub.conf /boot/grub/menu.lst
|
||||
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||
# 0 means wait forever, so instead we'll go with 1.
|
||||
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# If you want to remove rsyslog and just use journald, remove this!
|
||||
echo -n "Disabling persistent journal"
|
||||
rmdir /var/log/journal/
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
# actually have the opportunity to login there. FIX.
|
||||
# we don't really need to auto-spawn _any_ gettys.
|
||||
sed -i '/^#NAutoVTs=.*/ a\
|
||||
NAutoVTs=0' /etc/systemd/logind.conf
|
||||
|
||||
echo -n "Network fixes"
|
||||
# initscripts don't like this file to be missing.
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
EOF
|
||||
|
||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||
# we don't want to be tied to specific virtual (!) hardware
|
||||
rm -f /etc/udev/rules.d/70*
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
# simple eth0 config, again not hard-coded to the build hardware
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
# generic localhost names
|
||||
cat > /etc/hosts << EOF
|
||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
|
||||
EOF
|
||||
echo .
|
||||
|
||||
|
||||
# Because memory is scarce resource in most cloud/virt environments,
|
||||
# and because this impedes forensics, we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# make sure firstboot doesn't start
|
||||
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
|
||||
# Uncomment this if you want to use cloud init but suppress the creation
|
||||
# of an "ec2-user" account. This will, in the absence of further config,
|
||||
# cause the ssh key from a metadata source to be put in the root account.
|
||||
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||
#users: []
|
||||
#disable_root: 0
|
||||
#EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "Packages within this cloud image:"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
rpm -qa
|
||||
echo "-----------------------------------------------------------------------"
|
||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,237 +0,0 @@
|
||||
# This is a basic Fedora 21 spin designed to work in OpenStack and other
|
||||
# private cloud environments. It's configured with cloud-init so it will
|
||||
# take advantage of ec2-compatible metadata services for provisioning ssh
|
||||
# keys. Cloud-init creates a user account named "fedora" with passwordless
|
||||
# sudo access. The root password is empty and locked by default.
|
||||
#
|
||||
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||
# rather than in tmpfs, since memory is usually at a premium.
|
||||
#
|
||||
# This kickstart file is designed to be used with appliance-creator and
|
||||
# may need slight modification for use with actual anaconda or other tools.
|
||||
# We intend to target anaconda-in-a-vm style image building for F20.
|
||||
|
||||
text
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
|
||||
reboot
|
||||
|
||||
# Package list.
|
||||
%packages
|
||||
|
||||
fedora-release-cloud
|
||||
|
||||
kernel-core
|
||||
@core
|
||||
grubby
|
||||
|
||||
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||
# a user account with ssh keys.
|
||||
cloud-init
|
||||
|
||||
# this is used by openstack's cloud orchestration framework (and it's small)
|
||||
heat-cfntools
|
||||
|
||||
# need this for growpart, because parted doesn't yet support resizepart
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
|
||||
cloud-utils-growpart
|
||||
|
||||
# We need this image to be portable; also, rescue mode isn't useful here.
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
syslinux-extlinux
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# cherry-pick a few things from @standard
|
||||
tar
|
||||
rsync
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
-grub2
|
||||
|
||||
%end
|
||||
|
||||
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||
# overriding it here so that both cases get the exact same file.
|
||||
# Note that the console line is different -- that's because EC2 provides
|
||||
# different virtual hardware, and this is a convenient way to act differently
|
||||
echo -n "Creating grub.conf for pvgrub"
|
||||
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||
mkdir /boot/grub
|
||||
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
#link grub.conf to menu.lst for ec2 to work
|
||||
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||
ln -sf grub.conf /boot/grub/menu.lst
|
||||
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||
# 0 means wait forever, so instead we'll go with 1.
|
||||
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# If you want to remove rsyslog and just use journald, remove this!
|
||||
echo -n "Disabling persistent journal"
|
||||
rmdir /var/log/journal/
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
# actually have the opportunity to login there. FIX.
|
||||
# we don't really need to auto-spawn _any_ gettys.
|
||||
sed -i '/^#NAutoVTs=.*/ a\
|
||||
NAutoVTs=0' /etc/systemd/logind.conf
|
||||
|
||||
echo -n "Network fixes"
|
||||
# initscripts don't like this file to be missing.
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
EOF
|
||||
|
||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||
# we don't want to be tied to specific virtual (!) hardware
|
||||
rm -f /etc/udev/rules.d/70*
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
# simple eth0 config, again not hard-coded to the build hardware
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
# generic localhost names
|
||||
cat > /etc/hosts << EOF
|
||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
|
||||
EOF
|
||||
echo .
|
||||
|
||||
|
||||
# Because memory is scarce resource in most cloud/virt environments,
|
||||
# and because this impedes forensics, we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# make sure firstboot doesn't start
|
||||
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
|
||||
# Uncomment this if you want to use cloud init but suppress the creation
|
||||
# of an "ec2-user" account. This will, in the absence of further config,
|
||||
# cause the ssh key from a metadata source to be put in the root account.
|
||||
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||
#users: []
|
||||
#disable_root: 0
|
||||
#EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "Packages within this cloud image:"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
rpm -qa
|
||||
echo "-----------------------------------------------------------------------"
|
||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,237 +0,0 @@
|
||||
# This is a Fedora 21 spin designed based on the Fedora Cloud Base Image
|
||||
# but tailored specifically for Big Data processing out-of-the-box.
|
||||
# Primarily, it builds on that image but adds extra packages, but over
|
||||
# time may have additional focus.
|
||||
#
|
||||
# It's configured with cloud-init so it will take advantage of
|
||||
# ec2-compatible metadata services for provisioning ssh keys. Cloud-init
|
||||
# creates a user account named "fedora" with passwordless sudo access. The
|
||||
# root password is empty and locked by default.
|
||||
#
|
||||
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||
# rather than in tmpfs, since memory is usually at a premium.
|
||||
|
||||
text
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
|
||||
reboot
|
||||
|
||||
# Package list.
|
||||
%packages
|
||||
|
||||
fedora-release-cloud
|
||||
|
||||
kernel-core
|
||||
@core
|
||||
grubby
|
||||
|
||||
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||
# a user account with ssh keys.
|
||||
cloud-init
|
||||
|
||||
# this is used by openstack's cloud orchestration framework (and it's small)
|
||||
heat-cfntools
|
||||
|
||||
# need this for growpart, because parted doesn't yet support resizepart
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
|
||||
cloud-utils-growpart
|
||||
|
||||
# We need this image to be portable; also, rescue mode isn't useful here.
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
syslinux-extlinux
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# cherry-pick a few things from @standard
|
||||
tar
|
||||
rsync
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
-grub2
|
||||
|
||||
%end
|
||||
|
||||
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||
# overriding it here so that both cases get the exact same file.
|
||||
# Note that the console line is different -- that's because EC2 provides
|
||||
# different virtual hardware, and this is a convenient way to act differently
|
||||
echo -n "Creating grub.conf for pvgrub"
|
||||
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||
mkdir /boot/grub
|
||||
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
#link grub.conf to menu.lst for ec2 to work
|
||||
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||
ln -sf grub.conf /boot/grub/menu.lst
|
||||
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||
# 0 means wait forever, so instead we'll go with 1.
|
||||
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# If you want to remove rsyslog and just use journald, remove this!
|
||||
echo -n "Disabling persistent journal"
|
||||
rmdir /var/log/journal/
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
# actually have the opportunity to login there. FIX.
|
||||
# we don't really need to auto-spawn _any_ gettys.
|
||||
sed -i '/^#NAutoVTs=.*/ a\
|
||||
NAutoVTs=0' /etc/systemd/logind.conf
|
||||
|
||||
echo -n "Network fixes"
|
||||
# initscripts don't like this file to be missing.
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
EOF
|
||||
|
||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||
# we don't want to be tied to specific virtual (!) hardware
|
||||
rm -f /etc/udev/rules.d/70*
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
# simple eth0 config, again not hard-coded to the build hardware
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
# generic localhost names
|
||||
cat > /etc/hosts << EOF
|
||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
|
||||
EOF
|
||||
echo .
|
||||
|
||||
|
||||
# Because memory is scarce resource in most cloud/virt environments,
|
||||
# and because this impedes forensics, we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# make sure firstboot doesn't start
|
||||
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
|
||||
# Uncomment this if you want to use cloud init but suppress the creation
|
||||
# of an "ec2-user" account. This will, in the absence of further config,
|
||||
# cause the ssh key from a metadata source to be put in the root account.
|
||||
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||
#users: []
|
||||
#disable_root: 0
|
||||
#EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "Packages within this cloud image:"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
rpm -qa
|
||||
echo "-----------------------------------------------------------------------"
|
||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,228 +0,0 @@
|
||||
# This is a spin of the Fedora cloud image designed for trying out new
|
||||
# images in rawhide. It won't be built for non-rawhide trees, let alone
|
||||
# actual releases.
|
||||
|
||||
cmdline
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
|
||||
reboot
|
||||
|
||||
# Package list.
|
||||
%packages --excludedocs --instLangs=en_US
|
||||
|
||||
fedora-release-cloud
|
||||
|
||||
kernel-core
|
||||
@core
|
||||
grubby
|
||||
|
||||
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||
# a user account with ssh keys.
|
||||
cloud-init
|
||||
|
||||
# this is used by openstack's cloud orchestration framework (and it's small)
|
||||
heat-cfntools
|
||||
|
||||
# need this for growpart, because parted doesn't yet support resizepart
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
|
||||
cloud-utils-growpart
|
||||
|
||||
# We need this image to be portable; also, rescue mode isn't useful here.
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
syslinux-extlinux
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# cherry-pick a few things from @standard
|
||||
tar
|
||||
rsync
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
-grub2
|
||||
|
||||
%end
|
||||
|
||||
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||
# overriding it here so that both cases get the exact same file.
|
||||
# Note that the console line is different -- that's because EC2 provides
|
||||
# different virtual hardware, and this is a convenient way to act differently
|
||||
echo -n "Creating grub.conf for pvgrub"
|
||||
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||
mkdir /boot/grub
|
||||
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
#link grub.conf to menu.lst for ec2 to work
|
||||
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||
ln -sf grub.conf /boot/grub/menu.lst
|
||||
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
# remove the user anaconda forces us to make
|
||||
userdel -r none
|
||||
|
||||
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||
# 0 means wait forever, so instead we'll go with 1.
|
||||
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# setup systemd to boot to the right runlevel
|
||||
echo -n "Setting default runlevel to multiuser text mode"
|
||||
rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# If you want to remove rsyslog and just use journald, remove this!
|
||||
echo -n "Disabling persistent journal"
|
||||
rmdir /var/log/journal/
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
# actually have the opportunity to login there. FIX.
|
||||
# we don't really need to auto-spawn _any_ gettys.
|
||||
sed -i '/^#NAutoVTs=.*/ a\
|
||||
NAutoVTs=0' /etc/systemd/logind.conf
|
||||
|
||||
echo -n "Network fixes"
|
||||
# initscripts don't like this file to be missing.
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
EOF
|
||||
|
||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||
# we don't want to be tied to specific virtual (!) hardware
|
||||
rm -f /etc/udev/rules.d/70*
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
# simple eth0 config, again not hard-coded to the build hardware
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
# generic localhost names
|
||||
cat > /etc/hosts << EOF
|
||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
|
||||
EOF
|
||||
echo .
|
||||
|
||||
|
||||
# Because memory is scarce resource in most cloud/virt environments,
|
||||
# and because this impedes forensics, we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# make sure firstboot doesn't start
|
||||
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
|
||||
# Uncomment this if you want to use cloud init but suppress the creation
|
||||
# of an "ec2-user" account. This will, in the absence of further config,
|
||||
# cause the ssh key from a metadata source to be put in the root account.
|
||||
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||
#users: []
|
||||
#disable_root: 0
|
||||
#EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "Packages within this cloud image:"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
rpm -qa
|
||||
echo "-----------------------------------------------------------------------"
|
||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
%packages
|
||||
@firefox
|
||||
@gnome-desktop
|
||||
@libreoffice
|
||||
@networkmanager-submodules
|
||||
|
||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||
# desktop image at some point. We won't touch this one for now.
|
||||
nss-mdns
|
||||
|
||||
# This one needs to be kicked out of @standard
|
||||
-smartmontools
|
||||
|
||||
# We use gnome-control-center's printer and input sources panels instead
|
||||
-system-config-printer
|
||||
-im-chooser
|
||||
|
||||
# Similarly, there was also some debate about removing rsyslog from @standard
|
||||
# (since much of its functionality is provided by journald now), but it's
|
||||
# not going to happen for f20 either, so drop it here for now.
|
||||
# https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
|
||||
-rsyslog
|
||||
|
||||
%end
|
||||
@@ -1,99 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
# pungi is an inclusive depsolver so that multiple packages are brought
|
||||
# in to satisify dependencies and we don't always want that. So we use
|
||||
# an exclusion list to cut out things we don't want
|
||||
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-syslog-ng*
|
||||
-astronomy-bookmarks
|
||||
-generic*
|
||||
-GConf2-dbus*
|
||||
-bluez-gnome
|
||||
# Periods cause problems in paterns, so replace with *s
|
||||
-java-1*8*0-openjdk
|
||||
-community-mysql*
|
||||
-jruby*
|
||||
|
||||
# core
|
||||
kernel*
|
||||
dracut-*
|
||||
|
||||
# Desktops
|
||||
|
||||
## common stuff
|
||||
@base-x
|
||||
@guest-desktop-agents
|
||||
@guest-agents
|
||||
@standard
|
||||
@core
|
||||
@dial-up
|
||||
@fonts
|
||||
@input-methods
|
||||
@multimedia
|
||||
@hardware-support
|
||||
@printing
|
||||
@admin-tools
|
||||
@basic-desktop
|
||||
|
||||
|
||||
@virtualization
|
||||
@web-server
|
||||
@mongodb
|
||||
@perl-web
|
||||
@php
|
||||
@python-web
|
||||
@rubyonrails
|
||||
@mysql
|
||||
@sql-server
|
||||
@javaenterprise
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
|
||||
# Langpacks
|
||||
autocorr-*
|
||||
eclipse-nls-*
|
||||
hunspell-*
|
||||
hyphen-*
|
||||
calligra-l10n-*
|
||||
kde-l10n-*
|
||||
libreoffice-langpack-*
|
||||
man-pages-*
|
||||
mythes-*
|
||||
-gimp-help-*
|
||||
|
||||
# Removals
|
||||
-PackageKit-zif
|
||||
-zif
|
||||
%end
|
||||
181
fedora-install-fedora.ks
Normal file
181
fedora-install-fedora.ks
Normal file
@@ -0,0 +1,181 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (@base is added by default unless you add --nobase to %packages)
|
||||
# (default groups for the configured repos are added by --default)
|
||||
%packages --default
|
||||
# core
|
||||
tcsh
|
||||
kernel*
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-syslog-ng
|
||||
# Desktop Packages
|
||||
@kde-desktop
|
||||
echo-icon-theme
|
||||
tracker
|
||||
swfdec
|
||||
libflashsupport
|
||||
nspluginwrapper
|
||||
liferea
|
||||
esc
|
||||
thunderbird
|
||||
# apps
|
||||
@authoring-and-publishing
|
||||
@eclipse
|
||||
joe
|
||||
emacs
|
||||
k3b
|
||||
@system-tools
|
||||
wireshark-gnome
|
||||
# Devel packages
|
||||
@development-libs
|
||||
@development-tools
|
||||
@fedora-packager
|
||||
@gnome-software-development
|
||||
@java-development
|
||||
@kde-software-development
|
||||
@web-development
|
||||
@x-software-development
|
||||
# Server packages
|
||||
@dns-server
|
||||
@ftp-server
|
||||
@mail-server
|
||||
@mysql
|
||||
@network-server
|
||||
@news-server
|
||||
@server-cfg
|
||||
@smb-server
|
||||
@sql-server
|
||||
@web-server --optional
|
||||
# Keep dap off the install media, makes Eng & Sci show up
|
||||
-dap-server-cgi
|
||||
# Virt group
|
||||
@virtualization --optional
|
||||
# filesystem stuff
|
||||
reiserfs-utils
|
||||
xfsprogs
|
||||
jfsutils
|
||||
# Languages
|
||||
@afrikaans-support
|
||||
@albanian-support
|
||||
@arabic-support
|
||||
@armenian-support
|
||||
@assamese-support
|
||||
@basque-support
|
||||
@belarusian-support
|
||||
@bengali-support
|
||||
@bhutanese-support
|
||||
@burmese-support
|
||||
@bosnian-support
|
||||
@brazilian-support
|
||||
@breton-support
|
||||
@british-support
|
||||
@bulgarian-support
|
||||
@catalan-support
|
||||
@chinese-support
|
||||
@croatian-support
|
||||
@czech-support
|
||||
@danish-support
|
||||
@dutch-support
|
||||
@esperanto-support
|
||||
@estonian-support
|
||||
@ethiopic-support
|
||||
@faeroese-support
|
||||
@filipino-support
|
||||
@finnish-support
|
||||
@french-support
|
||||
@gaelic-support
|
||||
@galician-support
|
||||
@georgian-support
|
||||
@german-support
|
||||
@greek-support
|
||||
@gujarati-support
|
||||
@hebrew-support
|
||||
@hindi-support
|
||||
@hungarian-support
|
||||
@icelandic-support
|
||||
@indonesian-support
|
||||
@inuktitut-support
|
||||
@irish-support
|
||||
@italian-support
|
||||
@japanese-support
|
||||
@kannada-support
|
||||
@kashmiri-support
|
||||
@kashubian-support
|
||||
@khmer-support
|
||||
@konkani-support
|
||||
@korean-support
|
||||
@lao-support
|
||||
@latvian-support
|
||||
@lithuanian-support
|
||||
@low-saxon-support
|
||||
@macedonian-support
|
||||
@malay-support
|
||||
@malayalam-support
|
||||
@maori-support
|
||||
@marathi-support
|
||||
@mongolian-support
|
||||
@nepali-support
|
||||
@northern-sami-support
|
||||
@northern-sotho-support
|
||||
@norwegian-support
|
||||
@oriya-support
|
||||
@persian-support
|
||||
@polish-support
|
||||
@portuguese-support
|
||||
@punjabi-support
|
||||
@romanian-support
|
||||
@russian-support
|
||||
@samoan-support
|
||||
@serbian-support
|
||||
@sindhi-support
|
||||
@sinhala-support
|
||||
@slovak-support
|
||||
@slovenian-support
|
||||
@somali-support
|
||||
@southern-ndebele-support
|
||||
@southern-sotho-support
|
||||
@spanish-support
|
||||
@swati-support
|
||||
@swedish-support
|
||||
@tagalog-support
|
||||
@tamil-support
|
||||
@telugu-support
|
||||
@thai-support
|
||||
@tibetan-support
|
||||
@tonga-support
|
||||
@tsonga-support
|
||||
@tswana-support
|
||||
@turkish-support
|
||||
@ukrainian-support
|
||||
@urdu-support
|
||||
@venda-support
|
||||
@vietnamese-support
|
||||
@walloon-support
|
||||
@welsh-support
|
||||
@xhosa-support
|
||||
@zulu-support
|
||||
# Size removals
|
||||
-gimp-help
|
||||
-java-1.6.0-openjdk-src
|
||||
-xorg-x11-docs
|
||||
-kernel-doc
|
||||
-java-1.5.0-gcj-src
|
||||
-java-1.5.0-gcj-devel
|
||||
-libgcj-src
|
||||
-*javadoc*
|
||||
%end
|
||||
@@ -1,128 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
# pungi is an inclusive depsolver so that multiple packages are brought
|
||||
# in to satisify dependencies and we don't always want that. So we use
|
||||
# an exclusion list to cut out things we don't want
|
||||
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-syslog-ng*
|
||||
-astronomy-bookmarks
|
||||
-generic-logos*
|
||||
-generic-release*
|
||||
-GConf2-dbus*
|
||||
-bluez-gnome
|
||||
-community-mysql*
|
||||
|
||||
# core
|
||||
kernel*
|
||||
dracut-*
|
||||
|
||||
# No desktops
|
||||
-cinnamon*
|
||||
-enlightenment*
|
||||
-gnome-shell
|
||||
-gnome-session
|
||||
-kde*
|
||||
-lightdm-kde
|
||||
-lightdm-razorqt
|
||||
# Pulls in qt
|
||||
-oprofile-gui
|
||||
|
||||
-@legacy-fonts
|
||||
|
||||
|
||||
## common stuff
|
||||
@guest-agents
|
||||
@standard
|
||||
@core
|
||||
@multimedia
|
||||
@hardware-support
|
||||
|
||||
# Workstation
|
||||
@development-libs
|
||||
@development-tools
|
||||
@c-development
|
||||
@rpm-development-tools
|
||||
@fedora-packager
|
||||
|
||||
# Common server packages
|
||||
@mysql
|
||||
@sql-server
|
||||
@web-server
|
||||
|
||||
# Web Server environment
|
||||
@haproxy
|
||||
@mongodb
|
||||
@perl-web
|
||||
@python-web
|
||||
@php
|
||||
@rubyonrails
|
||||
@tomcat
|
||||
|
||||
# Infrastructure Server
|
||||
@directory-server
|
||||
@dogtag
|
||||
@dns-server
|
||||
@freeipa-server
|
||||
@ftp-server
|
||||
@mail-server
|
||||
@network-server
|
||||
@printing
|
||||
@smb-server
|
||||
@virtualization
|
||||
@load-balancer
|
||||
@ha
|
||||
|
||||
@container-management
|
||||
@headless-management
|
||||
@javaenterprise
|
||||
|
||||
# “uservisible” groups we want to offer
|
||||
@editors
|
||||
@network-server
|
||||
@system-tools
|
||||
@text-internet
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
|
||||
# Langpacks
|
||||
autocorr-*
|
||||
hunspell-*
|
||||
man-pages-*
|
||||
-gimp-help-*
|
||||
|
||||
# Removals
|
||||
-PackageKit-zif
|
||||
-zif
|
||||
%end
|
||||
@@ -1,152 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
# pungi is an inclusive depsolver so that multiple packages are brought
|
||||
# in to satisify dependencies and we don't always want that. So we use
|
||||
# an exclusion list to cut out things we don't want
|
||||
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-syslog-ng*
|
||||
-astronomy-bookmarks
|
||||
-generic*
|
||||
-GConf2-dbus*
|
||||
-bluez-gnome
|
||||
# Periods cause problems in paterns, so replace with *s
|
||||
-java-1*8*0-openjdk
|
||||
-community-mysql*
|
||||
-jruby*
|
||||
|
||||
# core
|
||||
kernel*
|
||||
dracut-*
|
||||
|
||||
# Desktops
|
||||
|
||||
## common stuff
|
||||
@base-x
|
||||
@guest-desktop-agents
|
||||
@guest-agents
|
||||
@standard
|
||||
@core
|
||||
@dial-up
|
||||
@fonts
|
||||
@input-methods
|
||||
@multimedia
|
||||
@hardware-support
|
||||
@printing
|
||||
@admin-tools
|
||||
@basic-desktop
|
||||
|
||||
## GNOME
|
||||
@firefox
|
||||
@gnome-desktop
|
||||
@epiphany
|
||||
@libreoffice
|
||||
@gnome-games
|
||||
|
||||
## KDE
|
||||
@kde-desktop
|
||||
@kde-apps
|
||||
@kde-education
|
||||
@kde-media
|
||||
@kde-office
|
||||
|
||||
## XFCE
|
||||
@xfce-desktop
|
||||
@xfce-apps
|
||||
@xfce-extra-plugins
|
||||
@xfce-media
|
||||
@xfce-office
|
||||
|
||||
## LXDE
|
||||
@lxde-desktop
|
||||
@lxde-apps
|
||||
@lxde-media
|
||||
@lxde-office
|
||||
|
||||
## SUGAR
|
||||
@sugar-desktop
|
||||
@sugar-apps
|
||||
|
||||
## MATE
|
||||
@mate-desktop
|
||||
|
||||
## CINNAMON
|
||||
@cinnamon-desktop
|
||||
|
||||
# Workstation
|
||||
@eclipse
|
||||
@development-libs
|
||||
@development-tools
|
||||
@c-development
|
||||
@rpm-development-tools
|
||||
@fedora-packager
|
||||
@gnome-software-development
|
||||
@kde-software-development
|
||||
@x-software-development
|
||||
@virtualization
|
||||
@web-server
|
||||
@mongodb
|
||||
@perl-web
|
||||
@php
|
||||
@python-web
|
||||
@rubyonrails
|
||||
@mysql
|
||||
@sql-server
|
||||
@design-suite
|
||||
## Not included yet due to space concerns
|
||||
#@javaenterprise
|
||||
#@milkymist
|
||||
#@mingw32
|
||||
#@ocaml
|
||||
#@robotics-suite
|
||||
#@electronic-lab
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
|
||||
# Langpacks
|
||||
autocorr-*
|
||||
eclipse-nls-*
|
||||
hunspell-*
|
||||
hyphen-*
|
||||
calligra-l10n-*
|
||||
kde-l10n-*
|
||||
libreoffice-langpack-*
|
||||
man-pages-*
|
||||
mythes-*
|
||||
-gimp-help-*
|
||||
|
||||
# Removals
|
||||
-PackageKit-zif
|
||||
-zif
|
||||
%end
|
||||
@@ -1,20 +0,0 @@
|
||||
%packages
|
||||
@kde-apps
|
||||
@kde-desktop
|
||||
@kde-media
|
||||
@kde-telepathy
|
||||
@networkmanager-submodules
|
||||
|
||||
### The KDE-Desktop
|
||||
|
||||
### fixes
|
||||
|
||||
# use kde-print-manager instead of system-config-printer
|
||||
-system-config-printer
|
||||
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
|
||||
mariadb-embedded
|
||||
mariadb-libs
|
||||
mariadb-server
|
||||
|
||||
%end
|
||||
|
||||
@@ -12,41 +12,79 @@ keyboard us
|
||||
timezone US/Eastern
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
firewall --enabled
|
||||
xconfig --startxonboot
|
||||
part / --size 3072 --fstype ext4
|
||||
part / --size 3072
|
||||
services --enabled=NetworkManager --disabled=network,sshd
|
||||
|
||||
%include fedora-repo.ks
|
||||
# To compose against the current release tree, use the following "repo" (enabled by default)
|
||||
repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch
|
||||
# To include updates, use the following "repo" (enabled by default)
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=$basearch
|
||||
|
||||
# To compose against rawhide, use the following "repo" (disabled by default)
|
||||
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
|
||||
# To compose against local trees, (edit and) use:
|
||||
#repo --name=f10 --baseurl=http://localrepo/fedora/releases/10/Everything/$basearch/os/
|
||||
#repo --name=f10-updates --baseurl=http://localrepo/fedora/updates/10/$basearch/
|
||||
|
||||
%packages
|
||||
@base-x
|
||||
@guest-desktop-agents
|
||||
@standard
|
||||
@base
|
||||
@core
|
||||
@fonts
|
||||
@input-methods
|
||||
@admin-tools
|
||||
@dial-up
|
||||
@multimedia
|
||||
@hardware-support
|
||||
@printing
|
||||
|
||||
# Explicitly specified here:
|
||||
# <notting> walters: because otherwise dependency loops cause yum issues.
|
||||
kernel
|
||||
|
||||
# This was added a while ago, I think it falls into the category of
|
||||
# "Diagnosis/recovery tool useful from a Live OS image". Leaving this untouched
|
||||
# for now.
|
||||
memtest86+
|
||||
|
||||
# The point of a live image is to install
|
||||
#firstaidkit-plugin-all
|
||||
|
||||
# save some space
|
||||
-specspo
|
||||
-esc
|
||||
-samba-client
|
||||
-a2ps
|
||||
-mpage
|
||||
-redhat-lsb
|
||||
-sox
|
||||
-hplip
|
||||
-hpijs
|
||||
sendmail
|
||||
#ssmtp
|
||||
-numactl
|
||||
-isdn4k-utils
|
||||
-autofs
|
||||
# smartcards won't really work on the livecd.
|
||||
-coolkey
|
||||
-ccid
|
||||
# duplicate functionality
|
||||
-pinfo
|
||||
-vorbis-tools
|
||||
-wget
|
||||
# lose the compat stuff
|
||||
-compat*
|
||||
|
||||
# qlogic firmwares
|
||||
-ql2100-firmware
|
||||
-ql2200-firmware
|
||||
-ql23xx-firmware
|
||||
-ql2400-firmware
|
||||
|
||||
# scanning takes quite a bit of space :/
|
||||
-xsane
|
||||
-xsane-gimp
|
||||
-sane-backends
|
||||
|
||||
# livecd bits to set up the livecd and be able to install
|
||||
anaconda
|
||||
@anaconda-tools
|
||||
|
||||
# Make live images easy to shutdown and the like in libvirt
|
||||
qemu-guest-agent
|
||||
isomd5sum
|
||||
|
||||
# make sure debuginfo doesn't end up on the live image
|
||||
-*debuginfo
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -58,13 +96,10 @@ cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
||||
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then
|
||||
if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -77,20 +112,13 @@ exists() {
|
||||
\$*
|
||||
}
|
||||
|
||||
# Make sure we don't mangle the hardware clock on shutdown
|
||||
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
|
||||
touch /.liveimg-configured
|
||||
|
||||
livedir="LiveOS"
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##rd.live.dir=}
|
||||
return
|
||||
fi
|
||||
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##live_dir=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
# mount live image
|
||||
if [ -b \`readlink -f /dev/live\` ]; then
|
||||
mkdir -p /mnt/live
|
||||
mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live
|
||||
fi
|
||||
|
||||
# enable swaps unless requested otherwise
|
||||
swaps=\`blkid -t TYPE=swap -o device\`
|
||||
@@ -99,8 +127,8 @@ if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then
|
||||
action "Enabling swap partition \$s" swapon \$s
|
||||
done
|
||||
fi
|
||||
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /run/initramfs/live/\${livedir}/swap.img ] ; then
|
||||
action "Enabling swap file" swapon /run/initramfs/live/\${livedir}/swap.img
|
||||
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /mnt/live/LiveOS/swap.img ] ; then
|
||||
action "Enabling swap file" swapon /mnt/live/LiveOS/swap.img
|
||||
fi
|
||||
|
||||
mountPersistentHome() {
|
||||
@@ -115,15 +143,15 @@ mountPersistentHome() {
|
||||
mountopts="-t jffs2"
|
||||
elif [ ! -b "\$homedev" ]; then
|
||||
loopdev=\`losetup -f\`
|
||||
if [ "\${homedev##/run/initramfs/live}" != "\${homedev}" ]; then
|
||||
action "Remounting live store r/w" mount -o remount,rw /run/initramfs/live
|
||||
if [ "\${homedev##/mnt/live}" != "\${homedev}" ]; then
|
||||
action "Remounting live store r/w" mount -o remount,rw /mnt/live
|
||||
fi
|
||||
losetup \$loopdev \$homedev
|
||||
homedev=\$loopdev
|
||||
fi
|
||||
|
||||
# if it's encrypted, we need to unlock it
|
||||
if [ "\$(/sbin/blkid -s TYPE -o value \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
|
||||
if [ "\$(/lib/udev/vol_id -t \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
|
||||
echo
|
||||
echo "Setting up encrypted /home device"
|
||||
plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
|
||||
@@ -150,8 +178,8 @@ findPersistentHome() {
|
||||
|
||||
if strstr "\`cat /proc/cmdline\`" persistenthome= ; then
|
||||
findPersistentHome
|
||||
elif [ -e /run/initramfs/live/\${livedir}/home.img ]; then
|
||||
homedev=/run/initramfs/live/\${livedir}/home.img
|
||||
elif [ -e /mnt/live/LiveOS/home.img ]; then
|
||||
homedev=/mnt/live/LiveOS/home.img
|
||||
fi
|
||||
|
||||
# if we have a persistent /home, then we want to go ahead and mount it
|
||||
@@ -162,8 +190,9 @@ fi
|
||||
# make it so that we don't do writing to the overlay for things which
|
||||
# are just tmpdirs/caches
|
||||
mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
|
||||
mount -t tmpfs tmp /tmp
|
||||
mount -t tmpfs vartmp /var/tmp
|
||||
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
|
||||
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1
|
||||
|
||||
if [ -n "\$configdone" ]; then
|
||||
exit 0
|
||||
@@ -172,42 +201,58 @@ fi
|
||||
# add fedora user with no passwd
|
||||
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
|
||||
passwd -d liveuser > /dev/null
|
||||
usermod -aG wheel liveuser > /dev/null
|
||||
|
||||
# Remove root password lock
|
||||
passwd -d root > /dev/null
|
||||
|
||||
# turn off firstboot for livecd boots
|
||||
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
||||
systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
|
||||
systemctl stop firstboot-text.service 2> /dev/null || :
|
||||
systemctl stop firstboot-graphical.service 2> /dev/null || :
|
||||
chkconfig --level 345 firstboot off 2>/dev/null
|
||||
|
||||
# don't use prelink on a running live image
|
||||
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
|
||||
# don't start yum-updatesd for livecd boots
|
||||
chkconfig --level 345 yum-updatesd off 2>/dev/null
|
||||
|
||||
# turn off mdmonitor by default
|
||||
systemctl --no-reload disable mdmonitor.service 2> /dev/null || :
|
||||
systemctl --no-reload disable mdmonitor-takeover.service 2> /dev/null || :
|
||||
systemctl stop mdmonitor.service 2> /dev/null || :
|
||||
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
|
||||
chkconfig --level 345 mdmonitor off 2>/dev/null
|
||||
|
||||
# turn off setroubleshoot on the live image to preserve resources
|
||||
chkconfig --level 345 setroubleshoot off 2>/dev/null
|
||||
|
||||
# don't do packagekit checking by default
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/frequency_get_updates never >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/frequency_get_upgrades never >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/frequency_refresh_cache never >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/notify_available false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/notify_distro_upgrades false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_firmware false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_hardware false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_codec_helper false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_font_helper false >/dev/null
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_mime_type_helper false >/dev/null
|
||||
|
||||
# don't enable the gnome-settings-daemon packagekit plugin
|
||||
gsettings set org.gnome.software download-updates 'false' || :
|
||||
|
||||
# don't start cron/at as they tend to spawn things which are
|
||||
# disk intensive that are painful on a live image
|
||||
systemctl --no-reload disable crond.service 2> /dev/null || :
|
||||
systemctl --no-reload disable atd.service 2> /dev/null || :
|
||||
systemctl stop crond.service 2> /dev/null || :
|
||||
systemctl stop atd.service 2> /dev/null || :
|
||||
chkconfig --level 345 crond off 2>/dev/null
|
||||
chkconfig --level 345 atd off 2>/dev/null
|
||||
chkconfig --level 345 anacron off 2>/dev/null
|
||||
chkconfig --level 345 readahead_early off 2>/dev/null
|
||||
chkconfig --level 345 readahead_later off 2>/dev/null
|
||||
|
||||
# Mark things as configured
|
||||
touch /.liveimg-configured
|
||||
# Stopgap fix for RH #217966; should be fixed in HAL instead
|
||||
touch /media/.hal-mtab
|
||||
|
||||
# add static hostname to work around xauth bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||
echo "localhost" > /etc/hostname
|
||||
# workaround clock syncing on shutdown that we don't want (#297421)
|
||||
sed -i -e 's/hwclock/no-such-hwclock/g' /etc/rc.d/init.d/halt
|
||||
|
||||
# and hack so that we eject the cd on shutdown if we're using a CD...
|
||||
if strstr "\`cat /proc/cmdline\`" CDLABEL= ; then
|
||||
cat >> /sbin/halt.local << FOE
|
||||
#!/bin/bash
|
||||
# we want to eject the cd on halt, but let's also try to avoid
|
||||
# io errors due to not being able to get files...
|
||||
cat /sbin/halt > /dev/null
|
||||
cat /sbin/reboot > /dev/null
|
||||
/usr/sbin/eject -p -m \$(readlink -f /dev/live) >/dev/null 2>&1
|
||||
FOE
|
||||
chmod +x /sbin/halt.local
|
||||
fi
|
||||
|
||||
EOF
|
||||
|
||||
@@ -222,7 +267,7 @@ cat > /etc/rc.d/init.d/livesys-late << EOF
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
||||
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
|
||||
if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -237,14 +282,70 @@ touch /.liveimg-late-configured
|
||||
for o in \`cat /proc/cmdline\` ; do
|
||||
case \$o in
|
||||
ks=*)
|
||||
ks="--kickstart=\${o#ks=}"
|
||||
ks="\${o#ks=}"
|
||||
;;
|
||||
xdriver=*)
|
||||
xdriver="\${o#xdriver=}"
|
||||
xdriver="--set-driver=\${o#xdriver=}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# this is a bad hack to work around #460581 for the geode
|
||||
# purely to help move testing along for now
|
||||
if [ \`grep -c Geode /proc/cpuinfo\` -ne 0 ]; then
|
||||
cat > /etc/X11/xorg.conf <<FOE
|
||||
Section "ServerLayout"
|
||||
Identifier "Default Layout"
|
||||
Screen 0 "Screen0" 0 0
|
||||
InputDevice "Keyboard0" "CoreKeyboard"
|
||||
EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
# keyboard added by rhpxl
|
||||
Identifier "Keyboard0"
|
||||
Driver "kbd"
|
||||
Option "XkbModel" "pc105"
|
||||
Option "XkbLayout" "us"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "Monitor0"
|
||||
HorizSync 30-67
|
||||
VertRefresh 48-52
|
||||
DisplaySize 152 114
|
||||
Mode "1200x900"
|
||||
DotClock 57.275
|
||||
HTimings 1200 1208 1216 1240
|
||||
VTimings 900 905 908 912
|
||||
Flags "-HSync" "-VSync"
|
||||
EndMode
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Videocard0"
|
||||
Driver "amd"
|
||||
VendorName "Advanced Micro Devices, Inc."
|
||||
BoardName "AMD Geode GX/LX"
|
||||
|
||||
Option "AccelMethod" "EXA"
|
||||
Option "NoCompression" "true"
|
||||
Option "MigrationHeuristic" "greedy"
|
||||
Option "PanelGeometry" "1200x900"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen0"
|
||||
Device "Videocard0"
|
||||
Monitor "Monitor0"
|
||||
DefaultDepth 16
|
||||
SubSection "Display"
|
||||
Depth 16
|
||||
Modes "1200x900"
|
||||
EndSubSection
|
||||
EndSection
|
||||
FOE
|
||||
fi
|
||||
|
||||
# if liveinst or textinst is given, start anaconda
|
||||
if strstr "\`cat /proc/cmdline\`" liveinst ; then
|
||||
plymouth --quit
|
||||
@@ -257,16 +358,15 @@ fi
|
||||
|
||||
# configure X, allowing user to override xdriver
|
||||
if [ -n "\$xdriver" ]; then
|
||||
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
|
||||
Section "Device"
|
||||
Identifier "Videocard0"
|
||||
Driver "\$xdriver"
|
||||
EndSection
|
||||
FOE
|
||||
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
|
||||
fi
|
||||
|
||||
EOF
|
||||
|
||||
# workaround avahi segfault (#279301)
|
||||
touch /etc/resolv.conf
|
||||
/sbin/restorecon /etc/resolv.conf
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys
|
||||
/sbin/chkconfig --add livesys
|
||||
@@ -275,35 +375,24 @@ chmod 755 /etc/rc.d/init.d/livesys-late
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys-late
|
||||
/sbin/chkconfig --add livesys-late
|
||||
|
||||
# enable tmpfs for /tmp
|
||||
systemctl enable tmp.mount
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
echo "Packages within this LiveCD"
|
||||
rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
/usr/sbin/makewhatis -w
|
||||
|
||||
# save a little bit of space at least...
|
||||
rm -f /boot/initramfs*
|
||||
rm -f /boot/initrd*
|
||||
# make sure there aren't core files lying around
|
||||
rm -f /core*
|
||||
|
||||
# convince readahead not to collect
|
||||
# FIXME: for systemd
|
||||
|
||||
%end
|
||||
|
||||
|
||||
%post --nochroot
|
||||
cp $INSTALL_ROOT/usr/share/doc/*-release/GPL $LIVE_ROOT/GPL
|
||||
cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL
|
||||
cp $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt $LIVE_ROOT/README
|
||||
|
||||
# only works on x86, x86_64
|
||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||
|
||||
@@ -1,127 +0,0 @@
|
||||
# fedora-design-suite.ks
|
||||
# Based on Live Desktop
|
||||
# Description:
|
||||
# - A Spin targeted towards professional designers
|
||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||
# Maintainers:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Previous maintainer Sebastian Dziallas
|
||||
|
||||
%include fedora-live-desktop.ks
|
||||
|
||||
#DVD size partition
|
||||
part / --size 8192
|
||||
|
||||
%packages
|
||||
|
||||
# graphics
|
||||
blender
|
||||
bluefish
|
||||
#cinepaint
|
||||
cmyktool
|
||||
darktable
|
||||
dia
|
||||
entangle
|
||||
fontforge
|
||||
font-manager
|
||||
gimp
|
||||
gimp-*-plugin
|
||||
gimp-data-extras
|
||||
gimp-gap
|
||||
gimp-paint-studio
|
||||
gimp-high-pass-filter
|
||||
gimp-normalmap
|
||||
gimp-resynthesizer
|
||||
gimp-separate+
|
||||
gpick
|
||||
GREYCstoration-gimp
|
||||
hugin
|
||||
mypaint
|
||||
inkscape
|
||||
nautilus-image-converter
|
||||
optipng
|
||||
phatch
|
||||
screenruler
|
||||
simple-scan
|
||||
scribus
|
||||
colord-extra-profiles
|
||||
synfigstudio
|
||||
xournal
|
||||
|
||||
# office
|
||||
vym
|
||||
pdfshuffler
|
||||
|
||||
# internet
|
||||
filezilla
|
||||
|
||||
# audio & video
|
||||
audacity
|
||||
pitivi
|
||||
|
||||
# fonts
|
||||
aajohan-comfortaa-fonts
|
||||
adobe-source-sans-pro-fonts
|
||||
campivisivi-titillium-fonts
|
||||
lato-fonts
|
||||
overpass-fonts
|
||||
|
||||
# removal of duplicated and unneeded applications
|
||||
-gnome-boxes
|
||||
-gthumb
|
||||
-eog
|
||||
-gnome-photos
|
||||
-rdesktop
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-quota
|
||||
-minicom
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-telnet
|
||||
-nfs-utils
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-rpcbind
|
||||
-acpid
|
||||
-ntsysv
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
#Override the favorite desktop application in Dash
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
#Enable categories in Gnome Shell
|
||||
app-folder-categories=['Utilities', 'Games', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'wine-wine', 'Crossover', 'Crossover Games', 'Science', 'Education', 'Universal Access', 'Other']
|
||||
FOE
|
||||
|
||||
# Add link to lists of tutorials
|
||||
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||
[Desktop Entry]
|
||||
Name=List of design tutorials
|
||||
GenericName=List of Tutorials for Designers
|
||||
Comment=Reference of Design Related Tutorials
|
||||
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
|
||||
Type=Application
|
||||
Icon=applications-graphics
|
||||
Categories=Graphics;Documentation;
|
||||
FOE
|
||||
chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
#EOF
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
# Maintained by the Fedora Desktop SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-desktop-packages.ks
|
||||
|
||||
part / --size 4096
|
||||
|
||||
%post
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# disable updates plugin
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# need to move it to anaconda.desktop to make shell happy
|
||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
|
||||
FOE
|
||||
|
||||
# Make the welcome screen show up
|
||||
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
||||
mkdir -p ~liveuser/.config/autostart
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||
fi
|
||||
fi
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up auto-login
|
||||
cat > /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
AutomaticLoginEnable=True
|
||||
AutomaticLogin=liveuser
|
||||
FOE
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,222 +0,0 @@
|
||||
#fedora-livedvd-jam-kde.ks
|
||||
# With KDE Desktop
|
||||
|
||||
# Fedora Jam: For Musicians and audio enthusiasts
|
||||
# Fedora Jam is a spin for anyone interested in creating
|
||||
# music
|
||||
# Web: https://fedoraproject.org/wiki/Fedora_jam
|
||||
# Web: insert spinspacke when created
|
||||
|
||||
# Maintainer: Jørn Lomax <northlomax@gmail.com>
|
||||
# https://fedoraproject.org/wiki/User:jvlomax
|
||||
# Brendan Jones <brendan.jones.it@gmail.com>
|
||||
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
# DVD size partition
|
||||
part / --size 10240 --fstype ext4
|
||||
|
||||
#enable threaded irqs
|
||||
bootloader --append="threadirqs"
|
||||
|
||||
%packages
|
||||
|
||||
#alsa
|
||||
alsa-firmware
|
||||
alsa-tools
|
||||
alsa-utils
|
||||
alsamixergui
|
||||
alsa-plugins-jack
|
||||
alsa-plugins-pulseaudio
|
||||
alsa-plugins-usbstream
|
||||
alsa-plugins-samplerate
|
||||
alsa-plugins-upmix
|
||||
alsa-plugins-vdownmix
|
||||
a2jmidid
|
||||
aj-snapshot
|
||||
|
||||
#jack
|
||||
jack-audio-connection-kit
|
||||
jack-audio-connection-kit-dbus
|
||||
qjackctl
|
||||
jackctlmmc
|
||||
|
||||
#pulse
|
||||
pulseaudio-module-jack
|
||||
pavucontrol
|
||||
|
||||
#midi
|
||||
qsynth
|
||||
fluidsynth
|
||||
fluid-soundfont-gm
|
||||
fluidsynth-dssi
|
||||
timidity++
|
||||
qmidiarp
|
||||
vmpk
|
||||
harmonyseq
|
||||
|
||||
#synthesis
|
||||
hydrogen
|
||||
bristol
|
||||
monobristol
|
||||
zynaddsubfx
|
||||
yoshimi
|
||||
swami
|
||||
Add64
|
||||
synthv1
|
||||
samplv1
|
||||
drumkv1
|
||||
ams
|
||||
|
||||
#guitar
|
||||
rakarrack
|
||||
guitarix
|
||||
tuxguitar
|
||||
sooperlooper
|
||||
|
||||
#recodring and DAW
|
||||
audacity
|
||||
ardour3
|
||||
rosegarden4
|
||||
seq24
|
||||
muse
|
||||
qtractor
|
||||
non-session-manager
|
||||
non-daw
|
||||
non-sequencer
|
||||
non-mixer
|
||||
|
||||
# audio-plugins
|
||||
calf
|
||||
dssi
|
||||
jack-rack
|
||||
ladspa
|
||||
|
||||
#ladpsa plugins
|
||||
ladspa-amb-plugins
|
||||
ladspa-autotalent-plugins
|
||||
ladspa-blop-plugins
|
||||
ladspa-cmt-plugins
|
||||
ladspa-fil-plugins
|
||||
ladspa-mcp-plugins
|
||||
ladspa-rev-plugins
|
||||
ladspa-swh-plugins
|
||||
ladspa-tap-plugins
|
||||
ladspa-vco-plugins
|
||||
|
||||
#lv2 plugins
|
||||
lv2
|
||||
lv2-avw-plugins
|
||||
lv2-fil-plugins
|
||||
lv2-invada-plugins
|
||||
lv2-kn0ck0ut
|
||||
lv2-ll-plugins
|
||||
lv2-swh-plugins
|
||||
lv2-vocoder-plugins
|
||||
lv2-zynadd-plugins
|
||||
lv2dynparam
|
||||
lv2-abGate
|
||||
lv2-c++-tools
|
||||
lv2-samplv1
|
||||
lv2-synthv1
|
||||
lv2-drumkv1
|
||||
lv2-triceratops
|
||||
lv2-newtonator
|
||||
lv2-x42-plugins
|
||||
lv2-fomp-plugins
|
||||
lv2-sorcer
|
||||
lv2-fabla
|
||||
lv2-artyfx-plugins
|
||||
|
||||
#dssi
|
||||
nekobee-dssi
|
||||
whysynth-dssi
|
||||
xsynth-dssi
|
||||
hexter-dssi
|
||||
|
||||
zynjacku
|
||||
zita-at1
|
||||
zita-rev1
|
||||
|
||||
#sound analasys, none of these are packaged yet
|
||||
#praat bug_id=666656
|
||||
#friture
|
||||
|
||||
#writing & publishing
|
||||
emacs
|
||||
emacs-color-theme
|
||||
vim
|
||||
nano
|
||||
mscore
|
||||
lilypond
|
||||
frescobaldi
|
||||
mup
|
||||
|
||||
#audio utilities
|
||||
jamin
|
||||
lash
|
||||
jack_capture
|
||||
jaaa
|
||||
jmeters
|
||||
qastools
|
||||
arpage
|
||||
realTimeConfigQuickScan
|
||||
rtirq
|
||||
#patchage
|
||||
#ladish #not packaged yet
|
||||
japa
|
||||
radium-compressor
|
||||
|
||||
#streaming
|
||||
idjc
|
||||
|
||||
# fedora jam theming (to be customized)
|
||||
kfaenza-icon-theme
|
||||
fedora-jam-backgrounds
|
||||
fedora-jam-kde-theme
|
||||
|
||||
#Misc. Utils
|
||||
screen
|
||||
shutter
|
||||
-ksnapshot
|
||||
multimedia-menus
|
||||
kernel-tools
|
||||
|
||||
|
||||
#Include Mozilla Firefox and Thunderbird
|
||||
firefox
|
||||
thunderbird
|
||||
|
||||
#remove packages not need
|
||||
#-kdesdk-umbrello
|
||||
#-kdesdk-kcachegrindy
|
||||
|
||||
#-kdesdk-kompare
|
||||
#-kdepim
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
#setup kickoff favorites
|
||||
/bin/mkdir -p /etc/skel/.kde/share/config
|
||||
|
||||
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/qjackctl.desktop,/usr/share/applications/qtractor.desktop,/usr/share/applications/frescobaldi.desktop,/usr/share/applications/kde4/konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop
|
||||
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
||||
|
||||
cat <<EOF >> /etc/skel/.kde/share/config/kickoffrc
|
||||
[Favorites]
|
||||
FavoriteURLs=$JAMFAVORITES
|
||||
EOF
|
||||
|
||||
# Override fedora-live-kde-base.ks settings
|
||||
sed -i /etc/rc.d/init.d/livesys -res"#^(FavoriteURLs=).*#\1${JAMFAVORITESLIVE}#"
|
||||
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
/usr/sbin/usermod -a -G jackuser,audio liveuser
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
# Maintained by the Fedora KDE SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/KDE
|
||||
# mailto:kde@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-kde-packages.ks
|
||||
|
||||
%post
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
DESKTOP="KDE"
|
||||
DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
|
||||
# make oxygen-gtk the default GTK+ theme for root (see #683855, #689070, #808062)
|
||||
cat > /root/.gtkrc-2.0 << EOF
|
||||
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
|
||||
include "/etc/gtk-2.0/gtkrc"
|
||||
gtk-theme-name="oxygen-gtk"
|
||||
EOF
|
||||
mkdir -p /root/.config/gtk-3.0
|
||||
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
||||
[Settings]
|
||||
gtk-theme-name = oxygen-gtk
|
||||
EOF
|
||||
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
mkdir -p /usr/share/apps/kdm/faces
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
|
||||
fi
|
||||
|
||||
# make liveuser use KDE
|
||||
echo "startkde" > /home/liveuser/.xsession
|
||||
chmod a+x /home/liveuser/.xsession
|
||||
chown liveuser:liveuser /home/liveuser/.xsession
|
||||
|
||||
# set up autologin for user liveuser
|
||||
sed -i 's/^AutoUser=.*/AutoUser=liveuser/' /etc/sddm.conf
|
||||
|
||||
# set up user liveuser as default user and preselected user
|
||||
sed -i 's/^LastUser=.*/LastUser=liveuser/' /etc/sddm.conf
|
||||
sed -i 's/^LastSession=.*/LastSession=kde-plasma.desktop/' /etc/sddm.conf
|
||||
|
||||
# add liveinst.desktop to favorites menu
|
||||
mkdir -p /home/liveuser/.kde/share/config/
|
||||
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
|
||||
MENU_EOF
|
||||
|
||||
# show liveinst.desktop on desktop and in menu
|
||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
|
||||
# chmod +x ~/Desktop/liveinst.desktop to disable KDE's security warning
|
||||
chmod +x /usr/share/applications/liveinst.desktop
|
||||
|
||||
# copy over the icons for liveinst to hicolor
|
||||
cp /usr/share/icons/gnome/16x16/apps/system-software-install.png /usr/share/icons/hicolor/16x16/apps/
|
||||
cp /usr/share/icons/gnome/22x22/apps/system-software-install.png /usr/share/icons/hicolor/22x22/apps/
|
||||
cp /usr/share/icons/gnome/24x24/apps/system-software-install.png /usr/share/icons/hicolor/24x24/apps/
|
||||
cp /usr/share/icons/gnome/32x32/apps/system-software-install.png /usr/share/icons/hicolor/32x32/apps/
|
||||
cp /usr/share/icons/gnome/48x48/apps/system-software-install.png /usr/share/icons/hicolor/48x48/apps/
|
||||
cp /usr/share/icons/gnome/256x256/apps/system-software-install.png /usr/share/icons/hicolor/256x256/apps/
|
||||
touch /usr/share/icons/hicolor/
|
||||
|
||||
# Set akonadi backend
|
||||
mkdir -p /home/liveuser/.config/akonadi
|
||||
cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
||||
[%General]
|
||||
Driver=QSQLITE3
|
||||
AKONADI_EOF
|
||||
|
||||
# Disable the update notifications of apper
|
||||
cat > /home/liveuser/.kde/share/config/apper << APPER_EOF
|
||||
[CheckUpdate]
|
||||
autoUpdate=0
|
||||
distroUpgrade=0
|
||||
interval=0
|
||||
APPER_EOF
|
||||
|
||||
# Disable some kded modules
|
||||
# apperd: http://bugzilla.redhat.com/948099
|
||||
cat > /home/liveuser/.kde/share/config/kdedrc << KDEDRC_EOF
|
||||
[Module-apperd]
|
||||
autoload=false
|
||||
KDEDRC_EOF
|
||||
|
||||
# Disable baloo
|
||||
cat > /home/liveuser/.kde/share/config/baloofilerc << BALOO_EOF
|
||||
[Basic Settings]
|
||||
Indexing-Enabled=false
|
||||
BALOO_EOF
|
||||
|
||||
# Disable kres-migrator
|
||||
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||
[Migration]
|
||||
Enabled=false
|
||||
KRES_EOF
|
||||
|
||||
# Disable nepomuk
|
||||
cat > /home/liveuser/.kde/share/config/nepomukserverrc << NEPOMUK_EOF
|
||||
[Basic Settings]
|
||||
Start Nepomuk=false
|
||||
|
||||
[Service-nepomukfileindexer]
|
||||
autostart=false
|
||||
NEPOMUK_EOF
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
# small hack to enable plasma-netbook workspace on boot
|
||||
if strstr "\`cat /proc/cmdline\`" netbook ; then
|
||||
mv /usr/share/autostart/plasma-desktop.desktop /usr/share/autostart/plasma-netbook.desktop
|
||||
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
|
||||
fi
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,69 +0,0 @@
|
||||
# fedora-live-kde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
|
||||
# see fedora-livecd-kde.ks for the default 1 GiB version
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||
# - Fedora KDE SIG, http://fedoraproject.org/wiki/SIGs/KDE, kde@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-kde-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# DVD payload
|
||||
part / --size=8192
|
||||
|
||||
|
||||
%packages
|
||||
# ship KDE wallpapers instead of GNOME ones
|
||||
-desktop-backgrounds-basic
|
||||
kde-wallpapers
|
||||
|
||||
# Additional packages that are not default in kde-desktop but useful
|
||||
k3b # ~15 megs
|
||||
calligra
|
||||
#kdeartwork # only include some parts of kdeartwork
|
||||
#twinkle # (~10 megs)
|
||||
fuse
|
||||
liveusb-creator
|
||||
#pavucontrol # pavucontrol has duplicate functionality with kmix
|
||||
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
|
||||
|
||||
# kdeedu apps
|
||||
blinken
|
||||
kalzium
|
||||
kanagram
|
||||
kgeography
|
||||
khangman
|
||||
kiten
|
||||
klettres
|
||||
ktouch
|
||||
kturtle
|
||||
kwordquiz
|
||||
parley
|
||||
step
|
||||
marble
|
||||
kstars
|
||||
kalgebra
|
||||
kbruch
|
||||
kig
|
||||
kmplot
|
||||
rocs
|
||||
cantor
|
||||
|
||||
# Cantor backends
|
||||
cantor-R # Cantor R backend, built against R-core at compile time
|
||||
maxima # runtime dependency of the Cantor Maxima backend
|
||||
octave # runtime dependency of the Cantor Octave backend
|
||||
|
||||
# KDE 4 translations
|
||||
kde-l10n-*
|
||||
calligra-l10n-*
|
||||
|
||||
## avoid serious bugs by omitting broken stuff
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
%end
|
||||
@@ -1,44 +0,0 @@
|
||||
# Maintained by the Fedora Desktop SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-mate-packages.ks
|
||||
|
||||
part / --size 4096
|
||||
|
||||
%post
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
fi
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
|
||||
# set MATE as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=mate/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,23 +0,0 @@
|
||||
# Common packages removed from comps
|
||||
# For F14, these removals should be moved to comps itself
|
||||
|
||||
%packages
|
||||
|
||||
# save some space
|
||||
-mpage
|
||||
-sox
|
||||
-hplip
|
||||
-hpijs
|
||||
-numactl
|
||||
-isdn4k-utils
|
||||
-autofs
|
||||
# smartcards won't really work on the livecd.
|
||||
-coolkey
|
||||
-wget
|
||||
|
||||
# scanning takes quite a bit of space :/
|
||||
-xsane
|
||||
-xsane-gimp
|
||||
-sane-backends
|
||||
|
||||
%end
|
||||
@@ -1,69 +0,0 @@
|
||||
# Maintained by the Fedora Workstation WG:
|
||||
# http://fedoraproject.org/wiki/Workstation
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
part / --size 6144
|
||||
|
||||
%post
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# disable updates plugin
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# need to move it to anaconda.desktop to make shell happy
|
||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
|
||||
FOE
|
||||
|
||||
# Make the welcome screen show up
|
||||
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
||||
mkdir -p ~liveuser/.config/autostart
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||
fi
|
||||
fi
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up auto-login
|
||||
cat > /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
AutomaticLoginEnable=True
|
||||
AutomaticLogin=liveuser
|
||||
FOE
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
67
fedora-livecd-broffice.org.ks
Normal file
67
fedora-livecd-broffice.org.ks
Normal file
@@ -0,0 +1,67 @@
|
||||
# fedora-livecd-broffice.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Igor Pires Soares <igor at projetofedora.org>
|
||||
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_BR.UTF-8
|
||||
keyboard br-abnt2
|
||||
timezone America/Sao_Paulo
|
||||
|
||||
%packages
|
||||
@brazilian-support
|
||||
hunspell-pt
|
||||
|
||||
|
||||
# To avoid double functionality we will drop abiword and gnumeric and put BrOffice.org in
|
||||
-abiword
|
||||
-gnumeric
|
||||
-gimp-*
|
||||
broffice.org-writer
|
||||
broffice.org-calc
|
||||
broffice.org-impress
|
||||
broffice.org-draw
|
||||
|
||||
|
||||
# We won't use these Asian fonts anyway
|
||||
-lklug-fonts
|
||||
-abyssinica-fonts
|
||||
-jomolhari-fonts
|
||||
-lohit-fonts-*
|
||||
-thaifonts-scalable
|
||||
-kacst-fonts
|
||||
-paktype-fonts
|
||||
-baekmuk-*
|
||||
-cjkunifonts-*
|
||||
-VLGothic-fonts
|
||||
-padauk-fonts
|
||||
-khmeros-fonts-base
|
||||
-un-core-fonts-*
|
||||
-smc-fonts-meera
|
||||
|
||||
# Assure we won't get these Asian input methods
|
||||
-libchewing
|
||||
-anthy
|
||||
-kasumi
|
||||
-scim-chewing
|
||||
-scim-pinyin
|
||||
|
||||
# Saving space in order to get BrOffice.org in
|
||||
-gnome-utils
|
||||
-gnome-games-*
|
||||
-gnome-doc-utils-stylesheets
|
||||
-gnome-phone-manager
|
||||
-planner
|
||||
-scim-python*
|
||||
-dasher
|
||||
-system-config-language
|
||||
-evince-dvi
|
||||
-evince-djvu
|
||||
-ekiga
|
||||
-f-spot
|
||||
-cheese
|
||||
|
||||
%end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
@@ -12,9 +12,6 @@ timezone Europe/Zurich
|
||||
%packages
|
||||
-gnome-blog
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
@@ -12,9 +12,6 @@ timezone Europe/Berlin
|
||||
%packages
|
||||
-gnome-blog
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
|
||||
%post
|
||||
117
fedora-livecd-desktop-default.ks
Normal file
117
fedora-livecd-desktop-default.ks
Normal file
@@ -0,0 +1,117 @@
|
||||
# fedora-livecd-desktop-default.ks
|
||||
#
|
||||
# Includes all languages with a default of en_US locale settings
|
||||
#
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
|
||||
%packages
|
||||
@albanian-support
|
||||
@arabic-support
|
||||
@assamese-support
|
||||
@basque-support
|
||||
@belarusian-support
|
||||
@bengali-support
|
||||
@brazilian-support
|
||||
@british-support
|
||||
@bulgarian-support
|
||||
@catalan-support
|
||||
@chinese-support
|
||||
@czech-support
|
||||
@danish-support
|
||||
@dutch-support
|
||||
@estonian-support
|
||||
@finnish-support
|
||||
@french-support
|
||||
@galician-support
|
||||
@georgian-support
|
||||
@german-support
|
||||
@greek-support
|
||||
@gujarati-support
|
||||
@hebrew-support
|
||||
@hindi-support
|
||||
@hungarian-support
|
||||
@indonesian-support
|
||||
@italian-support
|
||||
@japanese-support
|
||||
@kannada-support
|
||||
@korean-support
|
||||
@latvian-support
|
||||
@lithuanian-support
|
||||
@macedonian-support
|
||||
@malayalam-support
|
||||
@marathi-support
|
||||
@nepali-support
|
||||
@norwegian-support
|
||||
@oriya-support
|
||||
@persian-support
|
||||
@polish-support
|
||||
@portuguese-support
|
||||
@punjabi-support
|
||||
@romanian-support
|
||||
@russian-support
|
||||
@serbian-support
|
||||
@slovak-support
|
||||
@slovenian-support
|
||||
@spanish-support
|
||||
@swedish-support
|
||||
@tamil-support
|
||||
@telugu-support
|
||||
@thai-support
|
||||
@turkish-support
|
||||
@ukrainian-support
|
||||
@vietnamese-support
|
||||
@welsh-support
|
||||
|
||||
# The following locales have less than 50% translation coverage for the core
|
||||
# GNOME stack, as found at http://l10n.gnome.org/languages/
|
||||
|
||||
#@afrikaans-support
|
||||
#@armenian-support
|
||||
#@bhutanese-support
|
||||
#@bosnian-support
|
||||
#@breton-support
|
||||
#@croatian-support
|
||||
#@esperanto-support
|
||||
#@ethiopic-support
|
||||
#@faeroese-support
|
||||
#@filipino-support
|
||||
#@gaelic-support
|
||||
#@icelandic-support
|
||||
#@inuktitut-support
|
||||
#@irish-support
|
||||
#@khmer-support
|
||||
#@lao-support
|
||||
#@low-saxon-support
|
||||
#@malay-support
|
||||
#@maori-support
|
||||
#@mongolian-support
|
||||
#@northern-sami-support
|
||||
#@northern-sotho-support
|
||||
#@samoan-support
|
||||
#@sinhala-support
|
||||
#@somali-support
|
||||
#@southern-ndebele-support
|
||||
#@southern-sotho-support
|
||||
#@swati-support
|
||||
#@tagalog-support
|
||||
#@tibetan-support
|
||||
#@tonga-support
|
||||
#@tsonga-support
|
||||
#@tswana-support
|
||||
#@urdu-support
|
||||
#@venda-support
|
||||
#@walloon-support
|
||||
#@xhosa-support
|
||||
#@zulu-support
|
||||
|
||||
# These fonts are only used in the commented-out locales above
|
||||
-lklug-fonts
|
||||
-abyssinica-fonts
|
||||
-jomolhari-fonts
|
||||
|
||||
%end
|
||||
11
fedora-livecd-desktop-en_US.ks
Normal file
11
fedora-livecd-desktop-en_US.ks
Normal file
@@ -0,0 +1,11 @@
|
||||
# fedora-livecd-desktop-en_US.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - UNKNOWN
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang nl_NL.UTF-8
|
||||
keyboard us
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Igor Pires Soares <igor at projetofedora.org>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_BR.UTF-8
|
||||
keyboard br-abnt2
|
||||
@@ -11,9 +11,6 @@ timezone America/Sao_Paulo
|
||||
|
||||
%packages
|
||||
@brazilian-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,112 +1,82 @@
|
||||
# Desktop with customizations to fit in a CD (package removals, etc.)
|
||||
# Maintained by the Fedora Desktop SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
# mailto:fedora-desktop-list@redhat.com
|
||||
|
||||
%include fedora-live-desktop.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
# reduce the office suite in size
|
||||
-planner
|
||||
-libreoffice-xsltfilter
|
||||
-libreoffice-pyuno
|
||||
-libreoffice-emailmerge
|
||||
-libreoffice-math
|
||||
@games
|
||||
@graphical-internet
|
||||
@graphics
|
||||
@sound-and-video
|
||||
@gnome-desktop
|
||||
nss-mdns
|
||||
NetworkManager-vpnc
|
||||
NetworkManager-openvpn
|
||||
# we don't include @office so that we don't get OOo. but some nice bits
|
||||
abiword
|
||||
#gnumeric
|
||||
#planner
|
||||
#inkscape
|
||||
|
||||
# remove some other applications
|
||||
-gnome-boxes
|
||||
-gnome-dictionary
|
||||
# avoid weird case where we pull in more festival stuff than we need
|
||||
festival
|
||||
festvox-slt-arctic-hts
|
||||
|
||||
# remove input method things we don't need
|
||||
-ibus-typing-booster
|
||||
-imsettings
|
||||
-imsettings-gsettings
|
||||
|
||||
# Drop the Java plugin
|
||||
-icedtea-web
|
||||
-java-1.8.0-openjdk
|
||||
|
||||
# Drop things that pull in perl
|
||||
-linux-atm
|
||||
|
||||
# No printing
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
|
||||
# we don't want prelink
|
||||
-prelink
|
||||
|
||||
# Dictionaries are big
|
||||
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
|
||||
# strong preference to giving it a go on #fedora-desktop.
|
||||
# also see http://bugzilla.gnome.org/681084
|
||||
# dictionaries are big
|
||||
-aspell-*
|
||||
-man-pages*
|
||||
-hunspell-*
|
||||
-man-pages-*
|
||||
-scim-tables-*
|
||||
-wqy-bitmap-fonts
|
||||
-dejavu-fonts-experimental
|
||||
-words
|
||||
|
||||
# Help and art and fonts can be big, too
|
||||
# more fun with space saving
|
||||
-scim-lang-chinese
|
||||
-scim-python*
|
||||
scim-chewing
|
||||
scim-pinyin
|
||||
|
||||
# save some space
|
||||
-gnome-user-docs
|
||||
-gimp-help
|
||||
-gimp-help-browser
|
||||
-evolution-help
|
||||
-desktop-backgrounds-basic
|
||||
-*backgrounds-extras
|
||||
-stix-fonts
|
||||
|
||||
# Legacy and cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-quota
|
||||
-nano
|
||||
-minicom
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-telnet
|
||||
-nfs-utils
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-rpcbind
|
||||
-gnome-games
|
||||
-gnome-games-help
|
||||
totem-gstreamer
|
||||
-totem-xine
|
||||
-nss_db
|
||||
-vino
|
||||
-isdn4k-utils
|
||||
-dasher
|
||||
-evince-dvi
|
||||
-evince-djvu
|
||||
# not needed for gnome
|
||||
-acpid
|
||||
-ntsysv
|
||||
-rmt
|
||||
-talk
|
||||
-lftp
|
||||
-tcpdump
|
||||
-dump
|
||||
|
||||
# Drop some system-config things
|
||||
-system-config-language
|
||||
-system-config-rootpassword
|
||||
-system-config-services
|
||||
-policycoreutils-gui
|
||||
|
||||
# These things are cut purely for space reasons
|
||||
-aisleriot
|
||||
-brasero
|
||||
-brasero-nautilus
|
||||
-bijiben
|
||||
-gnome-system-log
|
||||
-deja-dup
|
||||
-eog
|
||||
-gnu-free-mono-fonts
|
||||
-gnu-free-sans-fonts
|
||||
-gnu-free-serif-fonts
|
||||
-uboot-tools
|
||||
-dtc
|
||||
|
||||
# Without gnu freefonts, the lack of Malayalam coverage is
|
||||
# a problem in anaconda (#977764)
|
||||
lohit-malayalam-fonts
|
||||
# these pull in excessive dependencies
|
||||
-ekiga
|
||||
-tomboy
|
||||
-f-spot
|
||||
|
||||
# hack to deal with conditionals + multiarch blargh
|
||||
-scim-bridge-gtk.i386
|
||||
%end
|
||||
|
||||
%post
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# disable screensaver locking
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
|
||||
# set up timed auto-login for after 60 seconds
|
||||
cat >> /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
TimedLoginEnable=true
|
||||
TimedLogin=liveuser
|
||||
TimedLoginDelay=60
|
||||
FOE
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
149
fedora-livecd-education-math.ks
Normal file
149
fedora-livecd-education-math.ks
Normal file
@@ -0,0 +1,149 @@
|
||||
# Fedora Education Math
|
||||
#
|
||||
# Filename:
|
||||
# fedora-livecd-education-math.ks
|
||||
# Description:
|
||||
# Fedora Live Spin including mainly software for educational & mathematical purposes
|
||||
# Maintainers:
|
||||
# Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# Fedora Education SIG
|
||||
# Acknowledgements:
|
||||
# Rex Dieter
|
||||
# Thorsten Leemhuis
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
|
||||
# KDE packages
|
||||
desktop-backgrounds-basic
|
||||
guidance-power-manager
|
||||
kdebase
|
||||
kdegraphics
|
||||
kdemultimedia
|
||||
kdeutils
|
||||
# koffice-kpresenter
|
||||
# koffice-kspread
|
||||
# koffice-kword
|
||||
kde-settings-pulseaudio
|
||||
NetworkManager-gnome
|
||||
|
||||
# additional office packages
|
||||
# koffice pulls in kdelibs3
|
||||
abiword
|
||||
gnumeric
|
||||
|
||||
# mathematical apps selected by the SIG
|
||||
kdeedu-math
|
||||
qalculate-gtk
|
||||
wxMaxima
|
||||
octave
|
||||
gnuplot
|
||||
Macaulay2
|
||||
orpie
|
||||
|
||||
# some extras
|
||||
fuse
|
||||
# pavucontrol
|
||||
|
||||
# additional fonts
|
||||
# @fonts
|
||||
# fonts-ISO8859-2
|
||||
# cjkunifonts-ukai
|
||||
# madan-fonts
|
||||
# fonts-KOI8-R
|
||||
# fonts-KOI8-R-100dpi
|
||||
# tibetan-machine-uni-fonts
|
||||
-abyssinica-fonts
|
||||
-cjkunifonts-uming
|
||||
-baekmuk-ttf-fonts-gulim
|
||||
-dejavu-fonts-experimental
|
||||
-jomolhari-fonts
|
||||
-kacst-fonts
|
||||
-paktype-fonts
|
||||
-lklug-fonts
|
||||
-lohit-fonts-*
|
||||
-thaifonts-scalable
|
||||
-VLGothic-fonts
|
||||
|
||||
# FIXME/TODO: recheck the removals here
|
||||
# try to remove some packages from livecd-fedora-base-desktop.ks
|
||||
-scim*
|
||||
-gdm
|
||||
-authconfig-gtk
|
||||
-m17n*
|
||||
-PolicyKit-gnome
|
||||
-gnome-doc-utils-stylesheets
|
||||
-anthy
|
||||
-kasumi
|
||||
-pygtkglext
|
||||
-python-devel
|
||||
-libchewing
|
||||
|
||||
# save some space (from @base)
|
||||
-make
|
||||
-nss_db
|
||||
-autofs
|
||||
|
||||
# -@dial-up
|
||||
-isdn4k-utils
|
||||
-lrzsz
|
||||
-rp-pppoe
|
||||
-minicom
|
||||
-wvdial
|
||||
|
||||
# misc
|
||||
-comps-extras
|
||||
-gutenprint
|
||||
-gutenprint-foomatic
|
||||
-jwhois
|
||||
-rdist
|
||||
-rdate
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
DESKTOP="KDE"
|
||||
DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
mkdir -p /usr/share/apps/kdm/faces
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
|
||||
fi
|
||||
|
||||
# make fedora user use KDE
|
||||
echo "startkde" > /home/liveuser/.xsession
|
||||
chmod a+x /home/liveuser/.xsession
|
||||
chown liveuser:liveuser /home/liveuser/.xsession
|
||||
|
||||
# set up autologin for user fedora
|
||||
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# set up user fedora as default user and preselected user
|
||||
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# add apps to favorites menu
|
||||
mkdir -p /home/liveuser/.kde/share/config/
|
||||
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/liveinst.desktop
|
||||
MENU_EOF
|
||||
chown -R liveuser:liveuser /home/liveuser/.kde/
|
||||
|
||||
# show liveinst.desktop on and in menu
|
||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
|
||||
# workaround to start nm-applet automatically
|
||||
cp /etc/xdg/autostart/nm-applet.desktop /usr/share/autostart/
|
||||
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
@@ -11,9 +11,7 @@ timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
50
fedora-livecd-kde-de_DE.ks
Normal file
50
fedora-livecd-kde-de_DE.ks
Normal file
@@ -0,0 +1,50 @@
|
||||
# fedora-livecd-kde-de_DE.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <ml@deadbabylon.de>
|
||||
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
timezone Europe/Berlin
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
|
||||
# don't use kpackagekit until it's translated
|
||||
-kpackagekit
|
||||
gnome-packagekit
|
||||
|
||||
# don't install unnecessary input methods
|
||||
-scim*
|
||||
-m17n*
|
||||
-iok
|
||||
|
||||
# don't install unnecessary fonts
|
||||
-abyssinica-fonts
|
||||
-cjkunifonts-uming
|
||||
-jomolhari-fonts
|
||||
-kacst-fonts
|
||||
-khmeros-fonts-base
|
||||
-lklug-fonts
|
||||
-un-core-fonts-dotum
|
||||
-padauk-fonts
|
||||
-paktype-fonts
|
||||
-smc-fonts-meera
|
||||
-stix-fonts
|
||||
-thaifonts-scalable
|
||||
-VLGothic-fonts
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and
|
||||
# KDE don't use /etc/sysconfig/keyboard.
|
||||
# Replace "de-latin1-nodeadkeys" with the keyboard layout you have used above
|
||||
#mkdir -p /home/liveuser/.kde/env
|
||||
#echo "system-config-keyboard --noui de-latin1-nodeadkeys" > /home/liveuser/.kde/env/keyboard.sh
|
||||
#chmod +x /home/liveuser/.kde/env/keyboard.sh
|
||||
#chown -R liveuser:liveuser /home/liveuser/
|
||||
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,76 +1,146 @@
|
||||
# fedora-livecd-kde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1 GiB version
|
||||
# - Fedora Live Spin with the K Desktop Environment (KDE)
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||
# - Fedora KDE SIG, http://fedoraproject.org/wiki/SIGs/KDE, kde@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-kde-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# DVD payload
|
||||
part / --size=4096
|
||||
# - Fedora KDE SIG
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
|
||||
# make kpackagekit the default on the kde live images
|
||||
kpackagekit
|
||||
-gnome-packagekit
|
||||
|
||||
# make sure /usr/bin/pactl is there (#466544)
|
||||
pulseaudio-utils
|
||||
|
||||
@kde-desktop
|
||||
|
||||
# unwanted packages from @kde-desktop
|
||||
# don't include these for now to fit on a cd
|
||||
-desktop-backgrounds-basic
|
||||
-kdeaccessibility*
|
||||
-scribus # scribus is too big for the live images
|
||||
-kdeartwork-screensavers # screensavers are not needed on live images
|
||||
#-ktorrent # kget has also basic torrent features (~3 megs)
|
||||
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
|
||||
#-amarok # ~23 megs (mysql-embedded etc.)
|
||||
-kipi-plugins # ~8 megs + drags in Marble
|
||||
#-kdeplasma-addons # ~16 megs
|
||||
#-krusader # ~4 megs
|
||||
|
||||
# Additional packages that are not default in kde-desktop but useful
|
||||
k3b # ~15 megs
|
||||
-calligra # don't include whole calligra, just parts of it
|
||||
calligra-words
|
||||
calligra-sheets # ~1 megs
|
||||
calligra-stage # ~3 megs
|
||||
#kdeartwork # only include some parts of kdeartwork
|
||||
#twinkle # (~10 megs)
|
||||
### amarok has duplicate functionality with juk (~10 megs)
|
||||
#-amarok
|
||||
### digikam has duplicate functionality with gwenview (~11 megs)
|
||||
#-digikam
|
||||
### kdeedu is too big for the live images, but include kdeedu-kstars
|
||||
-kdeedu
|
||||
kdeedu-kstars
|
||||
### scribus is too big for the live images
|
||||
-scribus
|
||||
### kget has also basic torrent features (~3 megs)
|
||||
-ktorrent
|
||||
### konqueror is also able to browse ftp shares (~1 megs)
|
||||
#-kftpgrabber*
|
||||
### kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
||||
-kaffeine*
|
||||
### the removal of kdegames will free ~31 megs
|
||||
#-kdegames
|
||||
|
||||
|
||||
# Useful additional KDE3 applications
|
||||
koffice-kword
|
||||
koffice-kspread
|
||||
koffice-kpresenter
|
||||
koffice-filters
|
||||
k3b
|
||||
filelight
|
||||
# twinkle (~10 megs)
|
||||
twinkle
|
||||
|
||||
|
||||
# some extras
|
||||
fuse
|
||||
liveusb-creator
|
||||
# nice to have but pulls in gstreamer (~3 megs)
|
||||
pavucontrol
|
||||
konq-plugins
|
||||
kde-plasma-lancelot
|
||||
# make sure alsaunmute is there
|
||||
alsa-utils
|
||||
|
||||
# only include kdegames-minimal
|
||||
-kdegames
|
||||
kdegames-minimal
|
||||
|
||||
### space issues
|
||||
# additional fonts
|
||||
@fonts
|
||||
#fonts-ISO8859-2
|
||||
#cjkunifonts-ukai
|
||||
#madan-fonts
|
||||
#fonts-KOI8-R
|
||||
#fonts-KOI8-R-100dpi
|
||||
#tibetan-machine-uni-fonts
|
||||
|
||||
# fonts (we make no bones about admitting we're english-only)
|
||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
-nhn-nanum-gothic-fonts # Korean
|
||||
-vlgothic-fonts # Japanese
|
||||
-wqy-zenhei-fonts # simplified Chinese
|
||||
-cjkuni-uming-fonts # traditional Chinese
|
||||
|
||||
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
||||
#-stix-fonts # mathematical symbols
|
||||
# FIXME/TODO: recheck the removals here
|
||||
# try to remove some packages from fedora-live-base.ks
|
||||
-gdm
|
||||
-authconfig-gtk
|
||||
|
||||
# remove input methods to free space
|
||||
-@input-methods
|
||||
-scim*
|
||||
-m17n*
|
||||
-ibus*
|
||||
-iok
|
||||
|
||||
# save some space (from @standard)
|
||||
# save some space (from @base)
|
||||
-make
|
||||
|
||||
# save space (it pulls in gdisk/udisks2/libicu)
|
||||
-gnome-disk-utility
|
||||
|
||||
## avoid serious bugs by omitting broken stuff
|
||||
-nss_db
|
||||
-autofs
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
DESKTOP="KDE"
|
||||
DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
mkdir -p /usr/share/apps/kdm/faces
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
|
||||
fi
|
||||
|
||||
# make liveuser use KDE
|
||||
echo "startkde" > /home/liveuser/.xsession
|
||||
chmod a+x /home/liveuser/.xsession
|
||||
chown liveuser:liveuser /home/liveuser/.xsession
|
||||
|
||||
# set up autologin for user liveuser
|
||||
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# set up user liveuser as default user and preselected user
|
||||
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# add liveinst.desktop to favorites menu
|
||||
mkdir -p /home/liveuser/.kde/share/config/
|
||||
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
|
||||
MENU_EOF
|
||||
|
||||
# show liveinst.desktop on and in menu
|
||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
|
||||
# Disable the update notifications of kpackagekit
|
||||
cat > /home/liveuser/.kde/share/config/KPackageKit << KPACKAGEKIT_EOF
|
||||
[CheckUpdate]
|
||||
autoUpdate=0
|
||||
interval=0
|
||||
|
||||
[Notify]
|
||||
notifyLongTasks=2
|
||||
notifyUpdates=0
|
||||
KPACKAGEKIT_EOF
|
||||
|
||||
# make sure to set the right permissions
|
||||
chown -R liveuser:liveuser /home/liveuser/.kde/
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# fedora-livecd-lxde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the light-weight LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Christoph Wickert <cwickert@fedoraproject.org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-lxde-packages.ks
|
||||
|
||||
%post
|
||||
# LXDE and LXDM configuration
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startlxde
|
||||
DISPLAYMANAGER=/usr/sbin/lxdm
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# disable screensaver locking and make sure gamin gets started
|
||||
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
||||
/usr/libexec/gam_server
|
||||
@lxpanel --profile LXDE
|
||||
@pcmanfm --desktop --profile LXDE
|
||||
/usr/libexec/notification-daemon
|
||||
FOE
|
||||
|
||||
# set up preferred apps
|
||||
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
||||
[Preferred Applications]
|
||||
WebBrowser=firefox.desktop
|
||||
MailClient=sylpheed.desktop
|
||||
FOE
|
||||
|
||||
# set up auto-login for liveuser
|
||||
sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf
|
||||
|
||||
# Show harddisk install on the desktop
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||
|
||||
# create default config for clipit, otherwise it displays a dialog on startup
|
||||
mkdir -p /home/liveuser/.config/clipit
|
||||
cat > /home/liveuser/.config/clipit/clipitrc << FOE
|
||||
[rc]
|
||||
use_copy=true
|
||||
save_uris=true
|
||||
save_history=false
|
||||
statics_show=true
|
||||
single_line=true
|
||||
FOE
|
||||
|
||||
# this goes at the end after all other changes.
|
||||
chown -R liveuser:liveuser /home/liveuser
|
||||
restorecon -R /home/liveuser
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
# Desktop with customizations to fit in a CD (package removals, etc.)
|
||||
# Maintained by the Fedora Desktop SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
||||
# mailto:desktop@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-mate-compiz.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
%packages
|
||||
# First, no office
|
||||
-planner
|
||||
|
||||
# Drop things for size
|
||||
-@3d-printing
|
||||
-brasero
|
||||
-bluez
|
||||
-bluez-cups
|
||||
-@dial-up
|
||||
-dnf
|
||||
-firefox
|
||||
-gnome-bluetooth-libs
|
||||
-gnome-icon-theme-symbolic
|
||||
-gnome-software
|
||||
-gnome-user-docs
|
||||
-@guest-desktop-agents
|
||||
-@libreoffice
|
||||
-@mate-applications
|
||||
-mate-bluetooth
|
||||
-mate-icon-theme-faenza
|
||||
-transmission-gtk
|
||||
|
||||
# Drop oversized fonts that aren't needed
|
||||
-cjkuni-uming-fonts
|
||||
-wqy-zenhei-fonts
|
||||
|
||||
# A web browser would be nice for a live cd
|
||||
midori
|
||||
|
||||
# Drop the Java plugin
|
||||
-icedtea-web
|
||||
-java-1.8.0-openjdk
|
||||
|
||||
# Drop things that pull in perl
|
||||
-linux-atm
|
||||
|
||||
# No printing
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
|
||||
# Dictionaries are big
|
||||
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
|
||||
# strong preference to giving it a go on #fedora-desktop.
|
||||
# also see http://bugzilla.gnome.org/681084
|
||||
-aspell-*
|
||||
-man-pages*
|
||||
-words
|
||||
|
||||
# Help and art can be big, too
|
||||
-gnome-user-docs
|
||||
-evolution-help
|
||||
-desktop-backgrounds-basic
|
||||
-*backgrounds-extras
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-quota
|
||||
-nano
|
||||
-minicom
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-nfs-utils
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-rpcbind
|
||||
-acpid
|
||||
-ntsysv
|
||||
|
||||
# Drop some system-config things
|
||||
-system-config-language
|
||||
-system-config-printer
|
||||
-system-config-rootpassword
|
||||
-system-config-services
|
||||
-policycoreutils-gui
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
%end
|
||||
@@ -1,156 +0,0 @@
|
||||
# Filename:
|
||||
# fedora-livecd-security.ks
|
||||
# Description:
|
||||
# A fully functional live OS based on Fedora for use in security auditing,
|
||||
# forensics research, and penetration testing.
|
||||
# Maintainers:
|
||||
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
||||
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
||||
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
||||
# Acknowledgements:
|
||||
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
|
||||
# many thanks!
|
||||
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
||||
# Luke Macken and Adam Miller for the original OpenBox Security ks and all
|
||||
# the Security Applications!
|
||||
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# spin was failing to compose due to lack of space, so bumping the size.
|
||||
part / --size 10240
|
||||
|
||||
%packages
|
||||
@xfce-desktop
|
||||
@xfce-apps
|
||||
|
||||
# Security tools
|
||||
@security-lab
|
||||
security-menus
|
||||
|
||||
# unlock default keyring. FIXME: Should probably be done in comps
|
||||
gnome-keyring-pam
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-acpid
|
||||
-gimp-help
|
||||
-desktop-backgrounds-basic
|
||||
-realmd # only seems to be used in GNOME
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
-aspell-* # dictionaries are big
|
||||
-gnumeric
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
-stix-fonts
|
||||
-ibus-typing-booster
|
||||
-xfce4-sensors-plugin
|
||||
-man-pages-*
|
||||
|
||||
# drop some system-config things
|
||||
-system-config-rootpassword
|
||||
-policycoreutils-gui
|
||||
|
||||
# exclude some packages to save some space
|
||||
# use './fsl-maintenance.py -l' in your security spin git folder to build
|
||||
-ArpON
|
||||
-aide
|
||||
-binwalk
|
||||
-bkhive
|
||||
-bonesi
|
||||
-bro
|
||||
-cmospwd
|
||||
-dnstop
|
||||
-etherape
|
||||
-hfsutils
|
||||
-httpie
|
||||
-httrack
|
||||
-hydra
|
||||
-kismon
|
||||
-labrea
|
||||
-nebula
|
||||
-netsed
|
||||
-onesixtyone
|
||||
-packETH
|
||||
-pads
|
||||
-pdfcrack
|
||||
-picviz-gui
|
||||
-proxychains
|
||||
-pyrit
|
||||
-raddump
|
||||
-rkhunter
|
||||
-safecopy
|
||||
-samdump2
|
||||
-scalpel
|
||||
-sslstrip
|
||||
-tcpreen
|
||||
-tcpreplay
|
||||
-tripwire
|
||||
-wipe
|
||||
|
||||
# Is not available for OpenVAS-7. No longer supported by upstream.
|
||||
-openvas-client
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# xfce configuration
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startxfce4
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
mkdir -p /home/liveuser/.config/xfce4
|
||||
|
||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||
MailReader=sylpheed-claws
|
||||
FileManager=Thunar
|
||||
WebBrowser=midori
|
||||
FOE
|
||||
|
||||
# disable screensaver locking (#674410)
|
||||
cat >> /home/liveuser/.xscreensaver << FOE
|
||||
mode: off
|
||||
lock: False
|
||||
dpmsEnabled: False
|
||||
FOE
|
||||
|
||||
# deactivate xfconf-migration (#683161)
|
||||
rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :
|
||||
|
||||
# deactivate xfce4-panel first-run dialog (#693569)
|
||||
mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
|
||||
# set Xfce as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Show harddisk install on the desktop
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||
|
||||
# and mark it as executable (new Xfce security feature)
|
||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||
|
||||
# this goes at the end after all other changes.
|
||||
chown -R liveuser:liveuser /home/liveuser
|
||||
restorecon -R /home/liveuser
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,120 +0,0 @@
|
||||
# fedora-livecd-soas.ks
|
||||
#
|
||||
# Description:
|
||||
# - A Sugar environment that you can carry in your pocket
|
||||
#
|
||||
# Maintainers:
|
||||
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-soas-packages.ks
|
||||
|
||||
firewall --enabled --service=mdns,presence
|
||||
|
||||
%post
|
||||
|
||||
# Rebuild initrd for Sugar boot screen
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
/usr/sbin/plymouth-set-default-theme sugar
|
||||
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Get proper release naming in the control panel
|
||||
cat >> /boot/olpc_build << EOF
|
||||
Sugar on a Stick 11 (Unknown)
|
||||
Fedora release 21 (Rawhide)
|
||||
EOF
|
||||
|
||||
# Add our activities to the favorites
|
||||
cat > /usr/share/sugar/data/activities.defaults << EOF
|
||||
org.laptop.WebActivity
|
||||
org.laptop.HelpActivity
|
||||
org.laptop.Chat
|
||||
org.laptop.sugar.ReadActivity
|
||||
org.laptop.sugar.GetBooksActivity
|
||||
org.laptop.AbiWordActivity
|
||||
org.laptop.TurtleArtActivity
|
||||
org.laptop.Calculate
|
||||
org.laptop.Clock
|
||||
org.laptop.ImageViewerActivity
|
||||
org.laptop.Memorize
|
||||
org.laptop.physics
|
||||
org.laptop.Pippy
|
||||
org.laptop.RecordActivity
|
||||
org.laptop.Oficina
|
||||
org.laptop.StopWatchActivity
|
||||
org.laptop.community.Finance
|
||||
org.laptop.community.TypingTurtle
|
||||
org.laptop.sugar.Jukebox
|
||||
org.eq.FotoToon
|
||||
org.gnome.Labyrinth
|
||||
com.laptop.Ruler
|
||||
org.sugarlabs.AbacusActivity
|
||||
org.sugarlabs.IRC
|
||||
org.sugarlabs.InfoSlicer
|
||||
org.sugarlabs.PortfolioActivity
|
||||
org.sugarlabs.VisualMatchActivity
|
||||
com.garycmartin.Moon
|
||||
mulawa.Countries
|
||||
tv.alterna.Clock
|
||||
vu.lux.olpc.Maze
|
||||
vu.lux.olpc.Speak
|
||||
EOF
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/sugar
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Don't use the default system user (in SoaS liveuser) as nick name
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /desktop/sugar/user/default_nick disabled >/dev/null
|
||||
|
||||
# Disable the logout menu item in Sugar
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null
|
||||
|
||||
# Enable Sugar power management
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
|
||||
# set Sugar as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
||||
|
||||
# disable screensaver locking
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
||||
[org.gnome.desktop.screensaver]
|
||||
lock-enabled=false
|
||||
FOE
|
||||
|
||||
# and hide the lock screen option
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
|
||||
[org.gnome.desktop.lockdown]
|
||||
disable-lock-screen=true
|
||||
FOE
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys-late
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys-late
|
||||
/sbin/chkconfig --add livesys-late
|
||||
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -5,72 +5,180 @@
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Rahul Sundaram <sundaram@fedoraproject.org>
|
||||
# - Christoph Wickert <cwickert@fedoraproject.org>
|
||||
# - Christoph Wickert <chris@christoph-wickert.de>
|
||||
# - Kevin Fenzi <kevin@tummy.com>
|
||||
# - Adam Miller <maxamillion@fedoraproject.org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-xfce-packages.ks
|
||||
|
||||
%packages
|
||||
|
||||
# gdm depends on gnome-session but lacks a dependency. Temporary workaround
|
||||
|
||||
gnome-session
|
||||
|
||||
firefox
|
||||
NetworkManager-vpnc
|
||||
NetworkManager-openvpn
|
||||
NetworkManager-gnome
|
||||
NetworkManager-pptp
|
||||
|
||||
#nss-mdns
|
||||
|
||||
# we don't include @office so that we don't get OOo. but some nice bits
|
||||
|
||||
abiword
|
||||
gnumeric
|
||||
|
||||
evince
|
||||
-evince-dvi
|
||||
-evince-djvu
|
||||
|
||||
gimp
|
||||
inkscape
|
||||
|
||||
galculator
|
||||
desktop-backgrounds-compat
|
||||
gnome-screensaver
|
||||
setroubleshoot
|
||||
|
||||
# development
|
||||
geany
|
||||
|
||||
# More Desktop stuff
|
||||
xdg-user-dirs
|
||||
@java
|
||||
totem
|
||||
totem-mozplugin
|
||||
pidgin
|
||||
claws-mail
|
||||
# brasero has more dependencies
|
||||
gnomebaker
|
||||
drivel
|
||||
liferea
|
||||
quodlibet
|
||||
gftp
|
||||
ristretto
|
||||
asunder
|
||||
tracker-search-tool
|
||||
|
||||
gnome-power-manager
|
||||
seahorse
|
||||
transmission
|
||||
cups-pdf
|
||||
bluez-gnome
|
||||
alsa-plugins-pulseaudio
|
||||
pavucontrol
|
||||
|
||||
# Command line
|
||||
ntfs-3g
|
||||
powertop
|
||||
wget
|
||||
irssi
|
||||
mutt
|
||||
yum-utils
|
||||
|
||||
# xfce packages
|
||||
@xfce-desktop
|
||||
gtk-xfce-engine
|
||||
orage
|
||||
thunar-volman
|
||||
xarchiver
|
||||
xfce4-battery-plugin
|
||||
xfce4-clipman-plugin
|
||||
xfce4-cpugraph-plugin
|
||||
xfce4-datetime-plugin
|
||||
xfce4-dict-plugin
|
||||
xfce4-diskperf-plugin
|
||||
xfce4-genmon-plugin
|
||||
#redundant with verve plugin
|
||||
#xfce4-minicmd-plugin
|
||||
xfce4-mount-plugin
|
||||
xfce4-netload-plugin
|
||||
xfce4-notes-plugin
|
||||
xfce4-places-plugin
|
||||
xfce4-quicklauncher-plugin
|
||||
xfce4-screenshooter-plugin
|
||||
xfce4-sensors-plugin
|
||||
xfce4-systemload-plugin
|
||||
xfce4-taskmanager
|
||||
xfce4-volstatus-icon
|
||||
xfce4-verve-plugin
|
||||
# We use NetworkManager-gnome. So this is redundant
|
||||
xfce4-weather-plugin
|
||||
xfce4-websearch-plugin
|
||||
# this one a compatibility layer for GNOME applets and depends on it
|
||||
#xfce4-xfapplet-plugin
|
||||
xfwm4-themes
|
||||
|
||||
# dictionaries are big
|
||||
#-aspell-*
|
||||
#-man-pages-*
|
||||
#-scim-tables-*
|
||||
|
||||
# more fun with space saving
|
||||
#-scim-lang-chinese
|
||||
#scim-chewing
|
||||
#scim-pinyin
|
||||
-gimp-help
|
||||
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-nss_db
|
||||
-sendmail
|
||||
ssmtp
|
||||
-acpid
|
||||
# system-config-printer does printer management better
|
||||
# xfprint has now been made as optional in comps.
|
||||
system-config-printer
|
||||
%end
|
||||
|
||||
%post
|
||||
# xfce configuration
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startxfce4
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
mkdir -p /home/liveuser/.config/tracker
|
||||
|
||||
cat > /home/liveuser/.config/tracker/tracker.cfg <<EOF
|
||||
[Indexing]
|
||||
EnableIndexing=false
|
||||
Language=en
|
||||
EOF
|
||||
|
||||
mkdir -p /root/.config/tracker
|
||||
cat > /root/.config/tracker/tracker.cfg <<EOF
|
||||
[Indexing]
|
||||
EnableIndexing=false
|
||||
Language=en
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
mkdir -p /home/liveuser/.config/xfce4
|
||||
|
||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||
MailReader=sylpheed-claws
|
||||
FileManager=Thunar
|
||||
WebBrowser=midori
|
||||
FOE
|
||||
|
||||
# disable screensaver locking (#674410)
|
||||
cat >> /home/liveuser/.xscreensaver << FOE
|
||||
mode: off
|
||||
lock: False
|
||||
dpmsEnabled: False
|
||||
FOE
|
||||
|
||||
# deactivate xfconf-migration (#683161)
|
||||
rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :
|
||||
|
||||
# deactivate xfce4-panel first-run dialog (#693569)
|
||||
mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
|
||||
# set Xfce as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Show harddisk install on the desktop
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||
|
||||
# and mark it as executable (new Xfce security feature)
|
||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||
|
||||
# this goes at the end after all other changes.
|
||||
chown -R liveuser:liveuser /home/liveuser
|
||||
restorecon -R /home/liveuser
|
||||
|
||||
# disable screensaver locking
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
|
||||
# set up timed auto-login for after 60 seconds
|
||||
cat >> /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
TimedLoginEnable=true
|
||||
TimedLogin=liveuser
|
||||
TimedLoginDelay=60
|
||||
FOE
|
||||
|
||||
EOF
|
||||
|
||||
|
||||
%post
|
||||
|
||||
# remove this session file from gnome-session package to make xfce the default
|
||||
# temporary hack till this file is split up from the package
|
||||
|
||||
rm -rf /usr/share/xsessions/gnome.desktop
|
||||
|
||||
%end
|
||||
|
||||
|
||||
25
fedora-livedvd-developer-de_CH.ks
Normal file
25
fedora-livedvd-developer-de_CH.ks
Normal file
@@ -0,0 +1,25 @@
|
||||
# fedora-livedvd-developer-de_CH.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab a fedoraproject.org>
|
||||
|
||||
%include fedora-livedvd-developer.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
%end
|
||||
|
||||
%post
|
||||
# system-config-keyboard doesn't really work (missing xorg.conf etc)
|
||||
cat >>/etc/X11/xorg.conf << EOF
|
||||
Section "InputDevice"
|
||||
Identifier "Keyboard0"
|
||||
Option "XkbLayout" "ch"
|
||||
Option "XkbVariant" "de_nodeadkeys"
|
||||
EndSection
|
||||
EOF
|
||||
%end
|
||||
14
fedora-livedvd-developer-nl_NL.ks
Normal file
14
fedora-livedvd-developer-nl_NL.ks
Normal file
@@ -0,0 +1,14 @@
|
||||
# fedora-livedvd-developer-nl_NL.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include fedora-livedvd-developer.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
%end
|
||||
14
fedora-livedvd-developer-pt_PT.ks
Normal file
14
fedora-livedvd-developer-pt_PT.ks
Normal file
@@ -0,0 +1,14 @@
|
||||
# fedora-livedvd-developer-pt_PT.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include fedora-livedvd-developer.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
%end
|
||||
115
fedora-livedvd-developer.ks
Normal file
115
fedora-livedvd-developer.ks
Normal file
@@ -0,0 +1,115 @@
|
||||
%include fedora-live-base.ks
|
||||
|
||||
part / --size 6000
|
||||
|
||||
%packages
|
||||
# Libraries
|
||||
@development-libs
|
||||
@gnome-software-development
|
||||
@java-development
|
||||
|
||||
# SCM tools
|
||||
bazaar
|
||||
bzr
|
||||
cogito
|
||||
cvs2cl
|
||||
cvsutils
|
||||
git
|
||||
mercurial
|
||||
monotone
|
||||
quilt
|
||||
|
||||
# IDEs
|
||||
@eclipse
|
||||
anjuta
|
||||
anjuta-docs
|
||||
codeblocks
|
||||
pida
|
||||
|
||||
# General developer tools
|
||||
@authoring-and-publishing
|
||||
@development-tools
|
||||
@editors
|
||||
@system-tools
|
||||
@virtualization
|
||||
ElectricFence
|
||||
alleyoop
|
||||
crash
|
||||
dejagnu
|
||||
dogtail
|
||||
elfutils-devel
|
||||
emacs
|
||||
emacs-el
|
||||
expect
|
||||
frysk-gnome
|
||||
gconf-editor
|
||||
gettext-devel
|
||||
gnuplot
|
||||
hexedit
|
||||
inkscape
|
||||
intltool
|
||||
lynx
|
||||
maven2
|
||||
mutt
|
||||
scons
|
||||
sharutils
|
||||
socat
|
||||
sox
|
||||
tcp_wrappers-devel
|
||||
tcsh
|
||||
texi2html
|
||||
xchat
|
||||
|
||||
# RPM/Fedora-specific tools
|
||||
@buildsys-build
|
||||
createrepo
|
||||
koji
|
||||
livecd-tools
|
||||
mock
|
||||
rpmdevtools
|
||||
rpmlint
|
||||
|
||||
eclipse-demos
|
||||
|
||||
# Should we?
|
||||
#@sql-server
|
||||
#@mysql
|
||||
#@ruby
|
||||
#@web-development
|
||||
#@x-software-development
|
||||
# I think this is going to be too big on x86_64
|
||||
#*-devel
|
||||
%end
|
||||
|
||||
%post
|
||||
# Enable debuginfo repository (useful for frysk, gdb, etc.)
|
||||
awk '
|
||||
BEGIN {
|
||||
debuginfo = 0
|
||||
}
|
||||
/^\[.*\]/ {
|
||||
if (/debuginfo/) {
|
||||
debuginfo = 1
|
||||
} else {
|
||||
debuginfo = 0
|
||||
}
|
||||
print
|
||||
next
|
||||
}
|
||||
/enabled=0/ && debuginfo {
|
||||
print "enabled=1"
|
||||
next
|
||||
}
|
||||
{
|
||||
print
|
||||
next
|
||||
}' < /etc/yum.repos.d/fedora.repo > /etc/yum.repos.d/fedora.repo.tmp
|
||||
mv /etc/yum.repos.d/fedora.repo{.tmp,}
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# Put link to demonstration videos on the desktop
|
||||
pushd /home/liveuser/Desktop
|
||||
ln -s /usr/share/eclipse-demos-0.0.1 "Eclipse demonstration videos"
|
||||
popd
|
||||
EOF
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab a fedoraproject.org>
|
||||
|
||||
%include ../fedora-livedvd-electronic-lab.ks
|
||||
%include fedora-livedvd-electronic-lab.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livedvd-electronic-lab.ks
|
||||
%include fedora-livedvd-electronic-lab.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livedvd-electronic-lab.ks
|
||||
%include fedora-livedvd-electronic-lab.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,59 +1,203 @@
|
||||
# Description : Live DVD image for Fedora/Free Electronic Lab
|
||||
# Description : Live DVD image for Fedora Electronic Lab
|
||||
# last updated: 15 November 2008 - ready for F10 Cambridge.
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Chitlesh Goorah <chitlesh a fedoraproject.org>
|
||||
# - Thibault North <tnorth a fedoraproject.org>
|
||||
# - Thibault North <tnorth a fedoraproject.org>
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
# DVD payload
|
||||
part / --size 10240
|
||||
part / --size=8192
|
||||
|
||||
%packages
|
||||
|
||||
@electronic-lab
|
||||
# KDE basic packages
|
||||
kdesvn
|
||||
yakuake
|
||||
kdebluetooth
|
||||
|
||||
# Support for the Milkymist hardware community
|
||||
@milkymist
|
||||
|
||||
# removing useless application from KDE ks
|
||||
-kdegames
|
||||
-koffice-kword
|
||||
-koffice-kspread
|
||||
-koffice-kpresenter
|
||||
-koffice-filters
|
||||
-kdeedu-kstars
|
||||
|
||||
# some projects based on ghdl and gtkwave needs
|
||||
zlib-devel
|
||||
|
||||
|
||||
# Office
|
||||
dia
|
||||
vym
|
||||
libreoffice-writer
|
||||
libreoffice-calc
|
||||
libreoffice-impress
|
||||
#libreoffice-extendedPDF
|
||||
openoffice.org-writer
|
||||
openoffice.org-math
|
||||
openoffice.org-writer2latex
|
||||
openoffice.org-calc
|
||||
openoffice.org-impress
|
||||
openoffice.org-extendedPDF
|
||||
openoffice.org-ooolatex
|
||||
kile
|
||||
planner
|
||||
graphviz
|
||||
|
||||
|
||||
# debugging tools
|
||||
# some other extra packages
|
||||
ntfsprogs
|
||||
ntfs-3g
|
||||
synaptics
|
||||
setroubleshoot
|
||||
smolt
|
||||
smolt-firstboot
|
||||
syslinux
|
||||
gnupg
|
||||
hal-cups-utils
|
||||
firefox
|
||||
bluez-gnome
|
||||
gnome-bluetooth
|
||||
|
||||
|
||||
# ignore comps.xml and make sure these packages are included
|
||||
make
|
||||
# include default fedora wallpaper
|
||||
desktop-backgrounds-basic
|
||||
fedora-logos
|
||||
wget
|
||||
tkcvs
|
||||
|
||||
|
||||
# vlsi
|
||||
alliance-doc
|
||||
irsim
|
||||
gds2pov
|
||||
magic-doc
|
||||
toped
|
||||
xcircuit
|
||||
qucs
|
||||
netgen
|
||||
pharosc
|
||||
pharosc-alliance-devel
|
||||
pharosc-doc
|
||||
pharosc-magic-devel
|
||||
pharosc-synopsys
|
||||
pharosc-xcircuit
|
||||
sk2py
|
||||
|
||||
# Hardware Description Languages
|
||||
gtkwave
|
||||
iverilog
|
||||
drawtiming
|
||||
ghdl
|
||||
freehdl
|
||||
|
||||
# spice
|
||||
ngspice
|
||||
gnucap
|
||||
gspiceui
|
||||
gwave
|
||||
|
||||
# PCB and schematics
|
||||
geda-gschem
|
||||
geda-examples
|
||||
geda-gsymcheck
|
||||
geda-gattrib
|
||||
geda-utils
|
||||
geda-docs
|
||||
geda-gnetlist
|
||||
gerbv
|
||||
gresistor
|
||||
kicad
|
||||
pcb
|
||||
|
||||
# Micro Programming
|
||||
piklab
|
||||
ktechlab
|
||||
pikloops
|
||||
sdcc
|
||||
|
||||
# Serial Port Terminals
|
||||
gtkterm
|
||||
picocom
|
||||
minicom
|
||||
|
||||
# embedded
|
||||
arm-gp2x-linux*
|
||||
avr-*
|
||||
avrdude
|
||||
dfu-programmer
|
||||
avarice
|
||||
uisp
|
||||
# debugging tools
|
||||
gdb
|
||||
valgrind
|
||||
kdbg
|
||||
wireshark-gnome
|
||||
qemu
|
||||
|
||||
# computing
|
||||
octave
|
||||
octave-forge
|
||||
qtoctave
|
||||
|
||||
# EDA/CAD department
|
||||
perl-Test-Pod
|
||||
perl-Test-Pod-Coverage
|
||||
# Oracle Berkeley database
|
||||
db4-cxx
|
||||
db4-tcl
|
||||
|
||||
# Extra support for compiling SystemC (not yet fedora compatible)
|
||||
compat-gcc-34-c++
|
||||
|
||||
# TCL gui apps through ssh support, e.g modelsim and cadence icfb
|
||||
xorg-x11-fonts-100dpi
|
||||
xorg-x11-fonts-ISO8859-1-100dpi
|
||||
xorg-x11-fonts-ISO8859-9-100dpi
|
||||
xorg-x11-fonts-Type1
|
||||
|
||||
# Removing unnecessary packages from the desktop spin
|
||||
-abiword
|
||||
-@games
|
||||
-gimp
|
||||
-gimp-libs
|
||||
-gimp-data-extras
|
||||
-kdebluetooth
|
||||
-kbluetooth
|
||||
-rdesktop
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
###### Fedora Electronic Lab ####################################################
|
||||
|
||||
# Fedora Electronic Lab:
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
# kill stupid klipper
|
||||
cat > /home/liveuser/.kde/share/config/klipperrc <<KLIPPER_EOF
|
||||
[General]
|
||||
AutoStart=false
|
||||
KLIPPER_EOF
|
||||
|
||||
chown liveuser:liveuser /home/liveuser/.kde/share/config/klipperrc
|
||||
|
||||
cat > /home/liveuser/.kde/share/config/kxkbrc << KXKBRC_EOF
|
||||
[Layout]
|
||||
DisplayNames=us,ch,de,fr
|
||||
IndicatorOnly=false
|
||||
LayoutList=us,ch,de,fr
|
||||
Model=pc104
|
||||
Options=
|
||||
ResetOldOptions=true
|
||||
ShowFlag=true
|
||||
ShowSingle=true
|
||||
SwitchMode=Global
|
||||
Use=true
|
||||
KXKBRC_EOF
|
||||
|
||||
chown liveuser:liveuser /home/liveuser/.kde/share/config/kxkbrc
|
||||
|
||||
# Chitlesh doesn't like the KDE icon on the kicker, but fedora's
|
||||
# icon taken from fedora-logos and applied by kde-settings
|
||||
|
||||
# FEL doesn't need these and boots slowly
|
||||
/sbin/chkconfig sendmail off 2>/dev/null
|
||||
/sbin/chkconfig nfs off 2>/dev/null
|
||||
/sbin/chkconfig nfslock off 2>/dev/null
|
||||
/sbin/chkconfig rpcidmapd off 2>/dev/null
|
||||
/sbin/chkconfig rpcbind off 2>/dev/null
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab a fedoraproject.org>
|
||||
|
||||
%include ../fedora-livedvd-games.ks
|
||||
%include fedora-livedvd-games.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livedvd-games.ks
|
||||
%include fedora-livedvd-games.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livedvd-games.ks
|
||||
%include fedora-livedvd-games.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
@@ -11,7 +11,4 @@ timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,43 +1,35 @@
|
||||
# fedora-livedvd-games.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Bruno Wolff III <bruno@wolff.to>
|
||||
# - Formerly maintained by Rahul Sundaram
|
||||
# - Rahul Sundaram <sundaram a fedoraunity.org>
|
||||
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the games spin
|
||||
part / --size 10240
|
||||
%include fedora-live-base.ks
|
||||
part / --size 8000
|
||||
|
||||
%packages
|
||||
|
||||
# Wine pulls in i386 libraries under x86_86 making that spin too big.
|
||||
# Also the point is to show off Fedora games, not running windows games.
|
||||
|
||||
-wine
|
||||
|
||||
# Remove libreoffice since it just got added to livecd-desktop and
|
||||
# will likely put the games spin over size and it is freeze time.
|
||||
-libreoffice*
|
||||
|
||||
# Allow joysticks and game pads to work
|
||||
joystick-support
|
||||
# Include a desktop environment (#474775)
|
||||
@gnome-desktop
|
||||
|
||||
# games
|
||||
|
||||
# traditional (big)
|
||||
|
||||
#alienarena #Cut for size
|
||||
abuse
|
||||
alienarena
|
||||
armacycles-ad
|
||||
asc
|
||||
asc-music
|
||||
astromenace
|
||||
beneath-a-steel-sky-cd
|
||||
blobAndConquer
|
||||
boswars
|
||||
btanks
|
||||
bzflag
|
||||
#croquet (pending)
|
||||
crossfire-client
|
||||
egoboo
|
||||
extremetuxracer
|
||||
FlightGear
|
||||
flight-of-the-amazon-queen-cd
|
||||
freeciv
|
||||
freecol
|
||||
@@ -45,25 +37,31 @@ freedoom
|
||||
freedroidrpg
|
||||
frozen-bubble
|
||||
gl-117
|
||||
glest
|
||||
glob2
|
||||
lincity-ng
|
||||
tmw
|
||||
manaworld
|
||||
maniadrive
|
||||
maniadrive-music
|
||||
megaglest
|
||||
nethack-vultures
|
||||
netpanzer
|
||||
neverball
|
||||
nexuiz
|
||||
nogravity
|
||||
openarena
|
||||
pinball
|
||||
scorched3d
|
||||
supertux
|
||||
supertuxkart
|
||||
torcs
|
||||
tremulous
|
||||
ultimatestunts
|
||||
vdrift
|
||||
warzone2100
|
||||
wesnoth
|
||||
widelands
|
||||
worminator
|
||||
warmux
|
||||
wormux
|
||||
xmoto
|
||||
|
||||
# traditional (small)
|
||||
@@ -72,37 +70,43 @@ abe
|
||||
alex4
|
||||
ballz
|
||||
blobwars
|
||||
bolzplatz2006
|
||||
bombardier
|
||||
bsd-games
|
||||
cdogs-sdl
|
||||
clanbomber
|
||||
colossus
|
||||
clonekeen
|
||||
foobillard
|
||||
glaxium
|
||||
gnubg
|
||||
gnugo
|
||||
haxima
|
||||
hedgewars
|
||||
kcheckers
|
||||
knights
|
||||
lbrickbuster2
|
||||
liquidwar
|
||||
londonlaw
|
||||
lordsawar
|
||||
lure
|
||||
machineball
|
||||
nazghul-haxima
|
||||
nethack
|
||||
openlierox
|
||||
pachi
|
||||
pioneers
|
||||
quake3
|
||||
quake3-demo
|
||||
quarry
|
||||
Ri-li
|
||||
rogue
|
||||
rott-shareware
|
||||
scorchwentbonkers
|
||||
seahorse-adventures
|
||||
solarwolf
|
||||
sopwith
|
||||
starfighter
|
||||
stormbaancoureur
|
||||
ularn
|
||||
urbanterror
|
||||
vavoom
|
||||
worldofpadman
|
||||
xblast
|
||||
|
||||
# arcade classics(ish) (big)
|
||||
@@ -116,6 +120,9 @@ raidem
|
||||
raidem-music
|
||||
trackballs
|
||||
trackballs-music
|
||||
uqm
|
||||
uqm-content-3domusic
|
||||
uqm-content-voice
|
||||
|
||||
# arcade classics(ish) (small)
|
||||
|
||||
@@ -131,6 +138,7 @@ seahorse-adventures
|
||||
shippy
|
||||
tecnoballz
|
||||
wordwarvi
|
||||
#(xgalaga renamed)
|
||||
xgalaxy
|
||||
zasx
|
||||
|
||||
@@ -139,6 +147,7 @@ zasx
|
||||
amoebax
|
||||
crack-attack
|
||||
crystal-stacker
|
||||
fbg
|
||||
gemdropx
|
||||
gweled
|
||||
|
||||
@@ -150,7 +159,6 @@ pingus
|
||||
# puzzles (small)
|
||||
|
||||
escape
|
||||
gbrainy
|
||||
magicor
|
||||
mirrormagic
|
||||
pipenightdreams
|
||||
@@ -161,7 +169,7 @@ vodovod
|
||||
|
||||
# card games
|
||||
|
||||
#poker2d - dropped from F14 for being orphaned
|
||||
poker2d
|
||||
PySolFC
|
||||
|
||||
# educational/simulation
|
||||
@@ -177,19 +185,15 @@ tuxpaint-stamps
|
||||
tuxtype2
|
||||
|
||||
# kde based games
|
||||
ksirk
|
||||
poker2d-kde
|
||||
taxipilot
|
||||
|
||||
# utilities
|
||||
|
||||
dosbox
|
||||
games-menus
|
||||
|
||||
# Note some stuff I don't want pulled into the games spin.
|
||||
|
||||
# No compilations of games as I want to only include games that at least
|
||||
# someone thought were good within a genre.
|
||||
-kdegames
|
||||
|
||||
# Nothing should be downloading data to play.
|
||||
-autodownloader
|
||||
wget
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -1,140 +0,0 @@
|
||||
# Maintained by the Fedora Robotics SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Robotics
|
||||
# mailto:robotics@lists.fedoraproject.org
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the robotics spin
|
||||
part / --size 10240
|
||||
|
||||
%packages
|
||||
# Start with GNOME
|
||||
@gnome-desktop
|
||||
|
||||
# Add robotics development packages
|
||||
@robotics-suite
|
||||
pcl-devel
|
||||
player-devel
|
||||
stage-devel
|
||||
mrpt-devel
|
||||
|
||||
# Add version control packages
|
||||
git
|
||||
mercurial
|
||||
|
||||
# Remove extra gnome-y things
|
||||
-@graphical-internet
|
||||
-@games
|
||||
-@sound-and-video
|
||||
|
||||
# Add a web browser
|
||||
firefox
|
||||
|
||||
# Remove office suite
|
||||
-libreoffice-*
|
||||
-planner
|
||||
|
||||
# Drop the Java plugin
|
||||
-icedtea-web
|
||||
|
||||
# Drop things that pull in perl
|
||||
-linux-atm
|
||||
|
||||
# No printing
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
|
||||
# Dictionaries are big
|
||||
-aspell-*
|
||||
-hunspell-*
|
||||
-man-pages*
|
||||
-words
|
||||
|
||||
# Help and art can be big, too
|
||||
-gnome-user-docs
|
||||
-evolution-help
|
||||
-desktop-backgrounds-basic
|
||||
-*backgrounds-extras
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-quota
|
||||
-nano
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-nfs-utils
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-rpcbind
|
||||
-acpid
|
||||
-ntsysv
|
||||
|
||||
# Drop some system-config things
|
||||
-system-config-language
|
||||
-system-config-network
|
||||
-system-config-rootpassword
|
||||
-system-config-services
|
||||
-policycoreutils-gui
|
||||
|
||||
%end
|
||||
|
||||
# Rip the post-configuration from the live-desktop, set default shortcuts to IDEs
|
||||
%post
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# disable screensaver locking
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
||||
[org.gnome.desktop.screensaver]
|
||||
lock-enabled=false
|
||||
FOE
|
||||
|
||||
# and hide the lock screen option
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
|
||||
[org.gnome.desktop.lockdown]
|
||||
disable-lock-screen=true
|
||||
FOE
|
||||
|
||||
# disable updates plugin
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# need to move it to anaconda.desktop to make shell happy
|
||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'eclipse.desktop', 'arduino.desktop', 'gnome-terminal.desktop','nautilus.desktop', 'anaconda.desktop']
|
||||
FOE
|
||||
|
||||
fi
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up auto-login
|
||||
cat > /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
AutomaticLoginEnable=True
|
||||
AutomaticLogin=liveuser
|
||||
FOE
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
|
||||
EOF
|
||||
%end
|
||||
@@ -1,173 +0,0 @@
|
||||
#fedora-livedvd-scientific-kde.ks
|
||||
# With KDE Desktop
|
||||
|
||||
# Fedora Scientific: For researchers in Science and Engineering
|
||||
# Fedora-Scientific aims to create a Fedora which has the generic
|
||||
# toolset for the researcher
|
||||
# Web: https://fedoraproject.org/wiki/Scientific_Spin
|
||||
# Web: http://spins.fedoraproject.org/scientific-kde/
|
||||
|
||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||
|
||||
%include fedora-live-kde.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||
part / --size 12288
|
||||
|
||||
%packages
|
||||
|
||||
# Installing the default/mandatory packages from engineering & scientific
|
||||
@engineering-and-scientific
|
||||
|
||||
# scilab
|
||||
scilab
|
||||
scilab-devel
|
||||
scilab-doc
|
||||
|
||||
# sagemath
|
||||
# BZ #1006230 should fix this
|
||||
#sagemath
|
||||
#sagemath-notebook
|
||||
|
||||
#Devel tools
|
||||
|
||||
#Install the mandatory packages from dev-tools and dev-libs
|
||||
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
|
||||
@development-tools
|
||||
@development-libs
|
||||
@c-development
|
||||
@rpm-development-tools
|
||||
#others, not included
|
||||
# C++ libraries
|
||||
blitz-devel
|
||||
armadillo-devel
|
||||
|
||||
# Misc. related utils
|
||||
ddd
|
||||
valgrind
|
||||
|
||||
#python 2 tools/libraries not included from the groups
|
||||
python-ipython
|
||||
python-ipython-console
|
||||
python-ipython-notebook
|
||||
sympy
|
||||
python-networkx
|
||||
|
||||
#python 3 and tools/libraries not included from the groups
|
||||
python3
|
||||
python3-matplotlib
|
||||
python3-scipy
|
||||
python3-numpy
|
||||
python3-ipython
|
||||
python3-ipython-console
|
||||
python3-ipython-notebook
|
||||
python3-networkx
|
||||
|
||||
# matplotlib backends
|
||||
python-matplotlib-qt4
|
||||
python-matplotlib-tk
|
||||
python3-matplotlib-qt4
|
||||
python3-matplotlib-tk
|
||||
|
||||
# Include Java development tools
|
||||
@java-development
|
||||
apache-commons-math
|
||||
|
||||
#fortran compiler
|
||||
gcc-gfortran
|
||||
|
||||
# GUI for R
|
||||
rkward
|
||||
|
||||
# GUI for Octave
|
||||
qtoctave
|
||||
|
||||
# IDEs for the IDE folks
|
||||
@eclipse
|
||||
spyder
|
||||
|
||||
#writing & publishing
|
||||
emacs
|
||||
emacs-color-theme
|
||||
vim
|
||||
scribus
|
||||
#scite
|
||||
lyx
|
||||
kile
|
||||
|
||||
#Presentation, Bibliography & Document arrangement
|
||||
#tools
|
||||
BibTool
|
||||
pdfshuffler
|
||||
|
||||
# Parallel/Distributed computing libraries/tools
|
||||
openmpi
|
||||
openmpi-devel
|
||||
valgrind-openmpi
|
||||
pvm
|
||||
pvm-gui #will install 'pvm' as well
|
||||
libgomp
|
||||
python-pp
|
||||
mpi4py-openmpi
|
||||
python3-mpi4py-openmpi
|
||||
|
||||
#Version control- a GUI for each as well
|
||||
|
||||
# Installing rapidsvn will also install subversion package
|
||||
rapidsvn
|
||||
git
|
||||
git-gui
|
||||
# Mercurial
|
||||
mercurial
|
||||
mercurial-hgk
|
||||
|
||||
#Backup Utilities
|
||||
backintime-kde
|
||||
|
||||
#needs to install this specifically because of some conflict between openmpi
|
||||
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
||||
libotf
|
||||
|
||||
#root
|
||||
root
|
||||
root-gui-fitpanel
|
||||
root-python
|
||||
|
||||
#Multiple jobs/clustering system
|
||||
# torque
|
||||
# torque-server
|
||||
# torque-scheduler
|
||||
# torque-gui
|
||||
# torque-libs
|
||||
# torque-mom
|
||||
# python-pbs
|
||||
|
||||
#Drawing, Picture viewing tools, Visualization tools
|
||||
dia
|
||||
inkscape
|
||||
xzgv
|
||||
gimp
|
||||
ggobi
|
||||
ggobi-devel
|
||||
g3data
|
||||
Mayavi
|
||||
|
||||
#Misc. Utils
|
||||
screen
|
||||
tmux
|
||||
rlwrap
|
||||
hexchat
|
||||
shutter
|
||||
fig2ps
|
||||
bibtex2html
|
||||
hevea
|
||||
|
||||
#Include Mozilla Firefox
|
||||
firefox
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,64 +0,0 @@
|
||||
# fedora-livecd-lxde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the light-weight LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Christoph Wickert <cwickert@fedoraproject.org>
|
||||
|
||||
%packages
|
||||
### LXDE desktop
|
||||
@lxde-desktop
|
||||
@lxde-apps
|
||||
@lxde-media
|
||||
@lxde-office
|
||||
@networkmanager-submodules
|
||||
|
||||
# FIXME: can be omitted once comps is updated
|
||||
midori
|
||||
|
||||
# pam-fprint causes a segfault in LXDM when enabled
|
||||
-fprintd-pam
|
||||
|
||||
|
||||
# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
|
||||
-polkit-gnome
|
||||
-polkit-kde
|
||||
|
||||
# make sure xfce4-notifyd is not pulled in
|
||||
notification-daemon
|
||||
-xfce4-notifyd
|
||||
|
||||
# make sure xfwm4 is not pulled in for firstboot
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
|
||||
metacity
|
||||
|
||||
|
||||
# dictionaries are big
|
||||
#-man-pages-*
|
||||
#-words
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-acpid
|
||||
-gimp-help
|
||||
-desktop-backgrounds-basic
|
||||
-realmd # only seems to be used in GNOME
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
-stix-fonts
|
||||
-ibus-typing-booster
|
||||
-xscreensaver-extras
|
||||
#-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
|
||||
|
||||
# drop some system-config things
|
||||
#-system-config-language
|
||||
-system-config-network
|
||||
-system-config-rootpassword
|
||||
#-system-config-services
|
||||
-policycoreutils-gui
|
||||
-gnome-disk-utility
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
%packages
|
||||
-realmd # only seems to be used in GNOME
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
-ConsoleKit # ConsoleKit is deprecated
|
||||
-ConsoleKit-x11 # ConsoleKit is deprecated
|
||||
firefox
|
||||
@mate
|
||||
compiz
|
||||
compiz-plugins-main
|
||||
compiz-plugins-extra
|
||||
compiz-manager
|
||||
compizconfig-python
|
||||
compiz-plugins-unsupported
|
||||
compiz-bcop
|
||||
compiz-mate
|
||||
libcompizconfig
|
||||
compiz-plugins-main
|
||||
ccsm
|
||||
emerald-themes
|
||||
emerald
|
||||
fusion-icon
|
||||
fusion-icon-gtk
|
||||
@libreoffice
|
||||
@networkmanager-submodules
|
||||
|
||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||
# desktop image at some point. We won't touch this one for now.
|
||||
nss-mdns
|
||||
|
||||
# This one needs to be kicked out of @standard
|
||||
-smartmontools
|
||||
%end
|
||||
@@ -1,3 +0,0 @@
|
||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
|
||||
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
||||
@@ -1 +0,0 @@
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||
@@ -1,9 +0,0 @@
|
||||
# Include the appropriate repo definitions
|
||||
|
||||
# Exactly one of the following should be uncommented
|
||||
|
||||
# For the master branch the following should be uncommented
|
||||
%include fedora-repo-rawhide.ks
|
||||
|
||||
# For non-master branches the following should be uncommented
|
||||
# %include fedora-repo-not-rawhide.ks
|
||||
@@ -1,77 +0,0 @@
|
||||
# fedora-livecd-soas.ks
|
||||
#
|
||||
# Description:
|
||||
# - A Sugar environment that you can carry in your pocket
|
||||
#
|
||||
# Maintainers:
|
||||
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
||||
|
||||
|
||||
%packages
|
||||
-@fonts
|
||||
-@dial-up
|
||||
-@multimedia
|
||||
-@printing
|
||||
-foomatic
|
||||
-@gnome-desktop
|
||||
-yp-tools
|
||||
-ypbind
|
||||
-rdate
|
||||
-rdist
|
||||
-icedtea-web
|
||||
-firefox
|
||||
-glx-utils
|
||||
-nmap-ncat
|
||||
-PackageKit
|
||||
-libfprint
|
||||
-realmd
|
||||
-eekboard-libs
|
||||
-open-vm-tools*
|
||||
|
||||
# == Core Sugar Platform ==
|
||||
@sugar-desktop
|
||||
-sugar-ruler
|
||||
sugar-cp-updater
|
||||
lightdm
|
||||
lightdm-gtk
|
||||
|
||||
# Write breaks unless we do this (we don't need it anyway)
|
||||
# enable for testing in the F17 dev cycle
|
||||
@input-methods
|
||||
|
||||
# Needed for wifi, bluetooth and WWAN connection support
|
||||
@networkmanager-submodules
|
||||
|
||||
# == Platform Components ==
|
||||
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
|
||||
alsa-plugins-pulseaudio
|
||||
alsa-utils
|
||||
gstreamer1-plugins-base
|
||||
gstreamer1-plugins-good
|
||||
gstreamer1-plugins-bad-free
|
||||
gstreamer-plugins-espeak
|
||||
pulseaudio
|
||||
pulseaudio-utils
|
||||
|
||||
# explicitly remove openbox and hopefully deal with what firstboot wants
|
||||
-openbox
|
||||
|
||||
# remove deps that come from god knows where
|
||||
-sane-backends
|
||||
-sane-backends-drivers-scanners
|
||||
|
||||
# Usefulness for DSL connections as per:
|
||||
# http://bugs.sugarlabs.org/ticket/1951
|
||||
rp-pppoe
|
||||
# Useful for SoaS duplication from:
|
||||
# http://bugs.sugarlabs.org/ticket/74
|
||||
livecd-tools
|
||||
|
||||
# Get the Sugar boot screen
|
||||
-plymouth-system-theme
|
||||
-plymouth-theme-charge
|
||||
sugar-logos
|
||||
|
||||
%end
|
||||
@@ -1,72 +0,0 @@
|
||||
# Kickstart file to create a small "base" Fedora image install suitable
|
||||
# for use as e.g. an application server.
|
||||
#
|
||||
# Maintainer: fedora-cloud-list@fedoraproject.org
|
||||
#
|
||||
# REQUIRED variables:
|
||||
# @@PUBLIC_KEY@@ - ssh public key
|
||||
#
|
||||
# You must search for all required variables and replace them.
|
||||
# Example usage:
|
||||
# sed -e s,@@PUBLIC_KEY@@,"$(cat ~/.ssh/authorized_keys)", fedora-virt-server.ks.in > my-fedora-server.ks
|
||||
|
||||
lang C
|
||||
keyboard us
|
||||
timezone --utc GMT/Zulu
|
||||
auth --useshadow --enablemd5
|
||||
firewall --service=ssh
|
||||
bootloader --timeout=1 --append="acpi=force"
|
||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||
services --enabled=network
|
||||
|
||||
## IMPORTANT ##
|
||||
## EDIT HERE ##
|
||||
# ROOT PASSWORD:
|
||||
# Setting a root password is NOT RECOMMENDED, especially if your
|
||||
# server will be accessible to the public internet. This is
|
||||
# because of the rise of automated ssh password guessing attacks.
|
||||
# You should instead (if you don't have one already)
|
||||
# generate a public ssh key:
|
||||
# http://sial.org/howto/openssh/publickey-auth/
|
||||
#
|
||||
# See comment below in %post for authorizing your public
|
||||
# key for the root account.
|
||||
|
||||
rootpw ""
|
||||
|
||||
# However, if you choose instead to make a password,
|
||||
# you will need to replace the above line with one like
|
||||
# rootpw --iscrypted @@ROOT_PASSWORD_CRYPTED@@
|
||||
# If you do neither of these things, you will not be able to log
|
||||
# into your machine.
|
||||
|
||||
clearpart --all --initlabel
|
||||
part / --size=550 --grow --fstype=ext4
|
||||
# You may change this if you don't want swap
|
||||
part swap --recommended
|
||||
|
||||
%packages
|
||||
@standard
|
||||
%end
|
||||
|
||||
#
|
||||
# Add custom post scripts after the base post.
|
||||
#
|
||||
%post
|
||||
|
||||
## EDIT HERE ##
|
||||
cd /root
|
||||
if ! test -d .ssh; then
|
||||
mkdir --mode=700 .ssh
|
||||
fi
|
||||
cat >> .ssh/authorized_keys << END_AUTHORIZED_KEYS
|
||||
@@PUBLIC_KEY@@
|
||||
END_AUTHORIZED_KEYS
|
||||
chmod 600 .ssh/authorized_keys
|
||||
if -x /usr/sbin/selinuxenabled && /usr/sbin/selinuxenabled; then
|
||||
chcon -R -h -t home_ssh_t .ssh
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
reboot
|
||||
@@ -1,70 +0,0 @@
|
||||
%packages
|
||||
@firefox
|
||||
@gnome-desktop
|
||||
@libreoffice
|
||||
@networkmanager-submodules
|
||||
|
||||
#QT
|
||||
qt
|
||||
qt-settings
|
||||
qt-x11
|
||||
qt5-qtbase
|
||||
qt5-qtbase-gui
|
||||
qt5-qtdeclarative
|
||||
qt5-qtxmlpatterns
|
||||
|
||||
devassistant
|
||||
scl-utils
|
||||
|
||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||
# desktop image at some point. We won't touch this one for now.
|
||||
nss-mdns
|
||||
|
||||
# This one needs to be kicked out of @standard
|
||||
-smartmontools
|
||||
|
||||
# We use gnome-control-center's printer and input sources panels instead
|
||||
-system-config-printer
|
||||
-im-chooser
|
||||
|
||||
-aisleriot
|
||||
-baobab
|
||||
-biosdevname
|
||||
-coolkey
|
||||
-deja-dup
|
||||
-dtc
|
||||
-dump
|
||||
-ed
|
||||
-finger
|
||||
-ftp
|
||||
-gc
|
||||
-gfs2-utils
|
||||
-gnu-free-fonts-common
|
||||
-gnu-free-mono-fonts
|
||||
-gnu-free-sans-fonts
|
||||
-gnu-free-serif-fonts
|
||||
-gtk2-immodule-xim
|
||||
-gtk3-immodule-xim
|
||||
-gtkmm24
|
||||
-guile
|
||||
-imsettings*
|
||||
-irda-utils
|
||||
-irqbalance
|
||||
-isdn4k-utils
|
||||
-kernel-modules-extra
|
||||
-lftp
|
||||
-linux-atm
|
||||
-minicom
|
||||
-nano
|
||||
-ntsysv
|
||||
-numactl
|
||||
-reiserfs-utils
|
||||
-rsh
|
||||
-tagsoup
|
||||
-talk
|
||||
-telnet
|
||||
-uboot-tools
|
||||
-xl2tpd
|
||||
-NetworkManager-l2tp
|
||||
|
||||
%end
|
||||
@@ -1,47 +0,0 @@
|
||||
# fedora-livecd-xfce.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the light-weight XFCE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Rahul Sundaram <sundaram@fedoraproject.org>
|
||||
# - Christoph Wickert <cwickert@fedoraproject.org>
|
||||
# - Kevin Fenzi <kevin@tummy.com>
|
||||
# - Adam Miller <maxamillion@fedoraproject.org>
|
||||
|
||||
|
||||
%packages
|
||||
|
||||
@networkmanager-submodules
|
||||
@xfce-desktop
|
||||
@xfce-apps
|
||||
@xfce-extra-plugins
|
||||
@xfce-media
|
||||
@xfce-office
|
||||
|
||||
# unlock default keyring. FIXME: Should probably be done in comps
|
||||
gnome-keyring-pam
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-acpid
|
||||
-gimp-help
|
||||
-desktop-backgrounds-basic
|
||||
-realmd # only seems to be used in GNOME
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
-aspell-* # dictionaries are big
|
||||
-gnumeric
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
-stix-fonts
|
||||
-ibus-typing-booster
|
||||
-xfce4-sensors-plugin
|
||||
#-man-pages-*
|
||||
|
||||
# drop some system-config things
|
||||
-system-config-network
|
||||
-system-config-rootpassword
|
||||
#-system-config-services
|
||||
-policycoreutils-gui
|
||||
|
||||
%end
|
||||
1
install-sh
Symbolic link
1
install-sh
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/share/automake-1.10/install-sh
|
||||
15
l10n/README
15
l10n/README
@@ -1,15 +0,0 @@
|
||||
== NOTICE ==
|
||||
|
||||
These kickstarts are localized versions of the custom or official Fedora
|
||||
Spins.
|
||||
|
||||
Kickstarts in this directory need to %include ../*.ks, or ../custom/*.ks
|
||||
|
||||
Note: when composing localized kickstarts on Fedora 17 and later, you must
|
||||
use yum-langpacks to ensure you get the proper packages. To do so:
|
||||
|
||||
1) Use livecd-tools-17.9/18.4 or later
|
||||
2) Have yum-langpacks installed, and configured for the language you're
|
||||
composing (either in /etc/yum/pluginconf.d/langpacks.conf or via
|
||||
$LANG/$LANGUAGE)
|
||||
3) Use the '-p' option to livecd-creator to enable plugins.
|
||||
@@ -1,34 +0,0 @@
|
||||
# fedora-livecd-desktop-fr_FR.ks
|
||||
#
|
||||
# Description:
|
||||
# - French Fedora Live Spin with the Gnome Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
|
||||
lang fr_FR.UTF-8
|
||||
keyboard fr-latin9
|
||||
timezone Europe/Paris
|
||||
|
||||
%packages
|
||||
@french-support
|
||||
# exclude input methods:
|
||||
-m17n*
|
||||
-scim*
|
||||
-ibus*
|
||||
-iok
|
||||
%end
|
||||
|
||||
%post
|
||||
# system-config-keyboard doesn't really work (missing xorg.conf etc)
|
||||
cat >>/etc/X11/xorg.conf << EOF
|
||||
Section "InputDevice"
|
||||
Identifier "Keyboard0"
|
||||
Driver "kbd"
|
||||
Option "XkbLayout" "fr-latin9"
|
||||
EndSection
|
||||
EOF
|
||||
%end
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# fedora-livecd-desktop-ru_RU.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||
|
||||
%include ../fedora-livecd-desktop.ks
|
||||
|
||||
lang ru_RU.UTF-8
|
||||
keyboard ru
|
||||
timezone Europe/Moscow
|
||||
|
||||
%packages
|
||||
@russian-support
|
||||
hunspell-ru
|
||||
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,41 +0,0 @@
|
||||
# fedora-livecd-kde-de_DE.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
timezone Europe/Berlin
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
|
||||
# don't install unnecessary input methods
|
||||
-scim*
|
||||
-m17n*
|
||||
-iok
|
||||
|
||||
# don't install unnecessary fonts
|
||||
-abyssinica-fonts
|
||||
-cjkuni*fonts*
|
||||
-jomolhari*fonts*
|
||||
-kacst*fonts*
|
||||
-khmeros*fonts*
|
||||
-lklug*fonts*
|
||||
-lohit*fonts*
|
||||
-padauk*fonts*
|
||||
-paktype*fonts*
|
||||
-smc*fonts*
|
||||
-stix*fonts*
|
||||
-thai*fonts*
|
||||
-un-core-fonts-dotum
|
||||
-vlgothic*fonts*
|
||||
|
||||
# remove some packages to free needed space
|
||||
-kdeartwork*
|
||||
-kftpgrabber
|
||||
-kdeplasma-addons
|
||||
|
||||
%end
|
||||
@@ -1,33 +0,0 @@
|
||||
# fedora-livecd-kde-fr_FR.ks
|
||||
#
|
||||
# Description:
|
||||
# - French Fedora Live Spin with the KDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
|
||||
lang fr_FR.UTF-8
|
||||
keyboard fr-latin9
|
||||
timezone Europe/Paris
|
||||
|
||||
%packages
|
||||
@french-support
|
||||
# exclude input methods:
|
||||
-m17n*
|
||||
-scim*
|
||||
-ibus*
|
||||
-iok
|
||||
%end
|
||||
|
||||
%post
|
||||
# set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and
|
||||
# KDE don't use /etc/sysconfig/keyboard.
|
||||
# Replace "fr-latin9" with the keyboard layout you have used above
|
||||
mkdir -p /home/liveuser/.kde/env
|
||||
echo "system-config-keyboard --noui fr-latin9" > /home/liveuser/.kde/env/keyboard.sh
|
||||
chmod +x /home/liveuser/.kde/env/keyboard.sh
|
||||
chown -R liveuser:liveuser /home/liveuser/.kde/env/
|
||||
%end
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# fedora-livecd-kde-ru_RU.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
|
||||
lang ru_RU.UTF-8
|
||||
keyboard ru
|
||||
timezone Europe/Moscow
|
||||
|
||||
%packages
|
||||
@russian-support
|
||||
hunspell-ru
|
||||
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,22 +0,0 @@
|
||||
# fedora-livecd-lxde-de_CH.ks
|
||||
#
|
||||
# Description:
|
||||
# - Swiss German Fedora Live Spin with the light-weight LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-lxde.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
|
||||
# exclude input methods
|
||||
-ibus*
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,22 +0,0 @@
|
||||
# fedora-livecd-lxde-de_DE.ks
|
||||
#
|
||||
# Description:
|
||||
# - German Fedora Live Spin with the light-weight LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Christoph Wickert <cwickert@fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-lxde.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
timezone Europe/Berlin
|
||||
|
||||
%packages
|
||||
@german-support
|
||||
|
||||
# exclude input methods
|
||||
-ibus*
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,34 +0,0 @@
|
||||
# fedora-livecd-lxde-fr_FR.ks
|
||||
#
|
||||
# Description:
|
||||
# - French Fedora Live Spin with the LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-lxde.ks
|
||||
|
||||
lang fr_FR.UTF-8
|
||||
keyboard fr-latin9
|
||||
timezone Europe/Paris
|
||||
|
||||
%packages
|
||||
@french-support
|
||||
# exclude input methods:
|
||||
-m17n*
|
||||
-scim*
|
||||
-ibus*
|
||||
-iok
|
||||
%end
|
||||
|
||||
%post
|
||||
# system-config-keyboard doesn't really work (missing xorg.conf etc)
|
||||
cat >>/etc/X11/xorg.conf << EOF
|
||||
Section "InputDevice"
|
||||
Identifier "Keyboard0"
|
||||
Driver "kbd"
|
||||
Option "XkbLayout" "fr-latin9"
|
||||
EndSection
|
||||
EOF
|
||||
%end
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
# fedora-livecd-lxde-ru_RU.ks
|
||||
#
|
||||
# Description:
|
||||
# - German Fedora Live Spin with the light-weight LXDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||
|
||||
%include ../fedora-livecd-lxde.ks
|
||||
|
||||
lang ru_RU.UTF-8
|
||||
keyboard ru
|
||||
timezone Europe/Moscow
|
||||
|
||||
%packages
|
||||
@russian-support
|
||||
hunspell-ru
|
||||
|
||||
# exclude input methods
|
||||
-ibus*
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user