mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
13 Commits
f31
...
0.11.4.fc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7ae23d07f | ||
|
|
82849f7f15 | ||
|
|
a6755187bc | ||
|
|
bc87e4a62c | ||
|
|
dcfc14f75b | ||
|
|
62f2938847 | ||
|
|
a569c1455e | ||
|
|
d6dada676b | ||
|
|
c12ab51657 | ||
|
|
733e51d9b5 | ||
|
|
9f42048e37 | ||
|
|
9d59f81cd2 | ||
|
|
db39e2d912 |
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>.
|
||||
36
Makefile
36
Makefile
@@ -1,36 +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
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/snippets
|
||||
install -m 644 snippets/* $(DATADIR)/$(name)/snippets
|
||||
|
||||
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
|
||||
133
Makefile.am
Normal file
133
Makefile.am
Normal file
@@ -0,0 +1,133 @@
|
||||
# Automake Automagic
|
||||
|
||||
kickstartdir = $(pkgdatadir)/
|
||||
kickstart_DATA = \
|
||||
fedora-aos.ks \
|
||||
fedora-install-fedora.ks \
|
||||
fedora-live-base.ks \
|
||||
fedora-livecd-broffice.org.ks \
|
||||
fedora-livecd-desktop.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.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-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/.
|
||||
10
README
Normal file
10
README
Normal file
@@ -0,0 +1,10 @@
|
||||
The master branch is where development takes place:
|
||||
- it may contain kickstart files that are broken, or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Board (trademark approval), or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Spins SIG
|
||||
|
||||
The release specific branches contain spin concepts that:
|
||||
- are approved (both by Board and Spin SIG)
|
||||
- maintained for the remainder of the release cycle
|
||||
31
README.md
31
README.md
@@ -1,31 +0,0 @@
|
||||
# fedora-kickstarts #
|
||||
|
||||
This project is used to manage the Fedora kickstart files used in composing Fedora release images.
|
||||
|
||||
The master branch is used by rawhide and each release branch is used by that release.
|
||||
|
||||
All changes should be made via the PR workflow.
|
||||
|
||||
This project is packaged in Fedora as the spin-kickstarts package allowing users to see
|
||||
and modify the kickstart files for their local needs.
|
||||
|
||||
## To make a release ##
|
||||
|
||||
git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
|
||||
cd fedora-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
|
||||
|
||||
# bug reports #
|
||||
|
||||
Bugs should be reported to the spin-kickstarts bugzilla component:
|
||||
|
||||
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=spin-kickstarts
|
||||
16
configure.ac
Normal file
16
configure.ac
Normal file
@@ -0,0 +1,16 @@
|
||||
AC_INIT([spin-kickstarts], 0.11.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-live-workstation.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-live-workstation.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/00-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
|
||||
109
fedora-aos.ks
Normal file
109
fedora-aos.ks
Normal file
@@ -0,0 +1,109 @@
|
||||
# Kickstart file to build the appliance operating
|
||||
# system for fedora.
|
||||
# This is based on the work at http://www.thincrust.net
|
||||
lang C
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
auth --useshadow --enablemd5
|
||||
selinux --permissive
|
||||
firewall --disabled
|
||||
bootloader --timeout=1 --append="acpi=force"
|
||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||
services --enabled=network
|
||||
|
||||
# Uncomment the next line
|
||||
# to make the root password be thincrust
|
||||
# By default the root password is emptied
|
||||
#rootpw --iscrypted $1$uw6MV$m6VtUWPed4SqgoW6fKfTZ/
|
||||
|
||||
#
|
||||
# Partition Information. Change this as necessary
|
||||
# This information is used by appliance-tools but
|
||||
# not by the livecd tools.
|
||||
#
|
||||
part / --size 550 --fstype ext3 --ondisk sda
|
||||
|
||||
#
|
||||
# Repositories
|
||||
#
|
||||
# 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-11&arch=$basearch
|
||||
# To include updates, use the following "repo" (enabled by default)
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&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=f11 --baseurl=http://localrepo/fedora/releases/11/Everything/$basearch/os/
|
||||
#repo --name=f11-updates --baseurl=http://localrepo/fedora/updates/11/$basearch/
|
||||
|
||||
#
|
||||
# Add all the packages after the base packages
|
||||
#
|
||||
%packages --excludedocs --nobase
|
||||
bash
|
||||
kernel
|
||||
grub
|
||||
e2fsprogs
|
||||
passwd
|
||||
policycoreutils
|
||||
chkconfig
|
||||
rootfiles
|
||||
yum
|
||||
vim-minimal
|
||||
acpid
|
||||
#needed to disable selinux
|
||||
lokkit
|
||||
|
||||
#Allow for dhcp access
|
||||
dhclient
|
||||
iputils
|
||||
|
||||
#
|
||||
# Packages to Remove
|
||||
#
|
||||
|
||||
# no need for kudzu if the hardware doesn't change
|
||||
-kudzu
|
||||
-prelink
|
||||
-setserial
|
||||
-ed
|
||||
|
||||
# Remove the authconfig pieces
|
||||
-authconfig
|
||||
-rhpl
|
||||
-wireless-tools
|
||||
|
||||
# Remove the kbd bits
|
||||
-kbd
|
||||
-usermode
|
||||
|
||||
# these are all kind of overkill but get pulled in by mkinitrd ordering
|
||||
-mkinitrd
|
||||
-kpartx
|
||||
-dmraid
|
||||
-mdadm
|
||||
-lvm2
|
||||
-tar
|
||||
|
||||
# selinux toolchain of policycoreutils, libsemanage, ustr
|
||||
-policycoreutils
|
||||
-checkpolicy
|
||||
-selinux-policy*
|
||||
-libselinux-python
|
||||
-libselinux
|
||||
|
||||
# Things it would be nice to loose
|
||||
-fedora-logos
|
||||
generic-logos
|
||||
-fedora-release-notes
|
||||
%end
|
||||
|
||||
#
|
||||
# Add custom post scripts after the base post.
|
||||
#
|
||||
%post
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
lang en_US.UTF-8
|
||||
#keyboard us
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns,ssh
|
||||
|
||||
bootloader --location=mbr
|
||||
|
||||
part /boot/efi --size=80 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext4 --asprimary
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
%packages
|
||||
@core
|
||||
@standard
|
||||
@hardware-support
|
||||
zram
|
||||
|
||||
kernel
|
||||
# remove this in %post
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
# install tools needed to manage and boot arm systems
|
||||
@arm-tools
|
||||
-uboot-images-armv8
|
||||
rng-tools
|
||||
chrony
|
||||
extlinux-bootloader
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
initial-setup-gui
|
||||
-iwl*
|
||||
-ipw*
|
||||
-usb_modeswitch
|
||||
#lets resize / on first boot
|
||||
# dracut-modules-growroot
|
||||
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
glibc-all-langpacks
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
basearch=armhfp
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
echo "Packages within this ARM disk image"
|
||||
rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# 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
|
||||
|
||||
dnf -y remove dracut-config-generic
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
@@ -1,9 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-kde-common.ks
|
||||
|
||||
part / --size=6300 --fstype ext4
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,9 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-lxde-common.ks
|
||||
|
||||
part / --size=4000 --fstype ext4
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,14 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-lxqt-common.ks
|
||||
|
||||
part / --size=4400 --fstype ext4 --asprimary
|
||||
|
||||
%packages
|
||||
# trojita not available on non-x86 platforms
|
||||
-trojita
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,9 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-mate-common.ks
|
||||
|
||||
part / --size=7168 --fstype ext4
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,8 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-minimal-common.ks
|
||||
|
||||
part / --size=1400 --fstype ext4
|
||||
|
||||
%packages
|
||||
-xkeyboard-config
|
||||
%end
|
||||
@@ -1,8 +0,0 @@
|
||||
# Maintained by the Fedora Python SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Python
|
||||
# mailto:python-devel@lists.fedoraproject.org
|
||||
|
||||
# The ARM Workstion based Python Classroom Lab
|
||||
|
||||
%include fedora-arm-workstation.ks
|
||||
%include fedora-python-classroom-gnome-common.ks
|
||||
@@ -1,29 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
|
||||
# server defaults to xfs for / so lets do so on arm also
|
||||
part / --size=2500 --fstype xfs
|
||||
|
||||
%packages
|
||||
# install the default groups for the server environment since installing the environment is not working
|
||||
@server-product
|
||||
@standard
|
||||
@headless-management
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
@container-management
|
||||
@domain-client
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
%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 .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-soas-common.ks
|
||||
|
||||
part / --size=3300 --fstype ext4 --asprimary
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,19 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-workstation-common.ks
|
||||
|
||||
part / --size=6200 --fstype ext4
|
||||
|
||||
%packages
|
||||
-initial-setup
|
||||
-initial-setup-gui
|
||||
-libvirt*
|
||||
-gnome-boxes
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=256MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
%end
|
||||
@@ -1,17 +0,0 @@
|
||||
%packages
|
||||
@base-x
|
||||
@fonts
|
||||
@input-methods
|
||||
@multimedia
|
||||
@printing
|
||||
epiphany
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
|
||||
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
|
||||
|
||||
%end
|
||||
@@ -1,9 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-xfce-common.ks
|
||||
|
||||
part / --size=4700 --fstype ext4
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,20 +0,0 @@
|
||||
# fedora-cinnamon-common.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora package set for the Cinnamon Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Dan Book <grinnz@grinnz.com>
|
||||
|
||||
%packages
|
||||
|
||||
@networkmanager-submodules
|
||||
@cinnamon-desktop
|
||||
@libreoffice
|
||||
parole
|
||||
exaile
|
||||
|
||||
# extra backgrounds
|
||||
f31-backgrounds-extras-gnome
|
||||
|
||||
%end
|
||||
@@ -1,36 +0,0 @@
|
||||
# PXE-to-Live Atomic: PXE boot directly into a running Atomic Host
|
||||
# https://fedoraproject.org/wiki/Changes/AtomicHost
|
||||
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone America/New_York
|
||||
zerombr
|
||||
clearpart --all --initlabel
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
bootloader --timeout=1
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
# We are only able to install atomic with separate /boot partition currently
|
||||
part / --fstype="ext4" --size=6000
|
||||
part /boot --size=500 --fstype="ext4"
|
||||
shutdown
|
||||
services --disabled=docker-storage-setup
|
||||
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
||||
|
||||
%post
|
||||
|
||||
# Ensure the root password is locked, we use cloud-init
|
||||
passwd -l root
|
||||
userdel -r none
|
||||
|
||||
# We copy content of separate /boot partition to root part when building live squashfs image,
|
||||
# and we don't want systemd to try to mount it when pxe booting
|
||||
cat /dev/null > /etc/fstab
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
%end
|
||||
@@ -1,63 +0,0 @@
|
||||
# Like the Cloud Base image, but tuned for vagrant. Enable
|
||||
# the vagrant user, disable cloud-init.
|
||||
|
||||
%include fedora-cloud-base.ks
|
||||
|
||||
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
# So, to be clear, this gaping security hole is an integral part of how
|
||||
# Vagrant works - These images are _not_ supposed to be run in any public-
|
||||
# Internet facing way - They are for use on developer setups, almost always
|
||||
# with NAT
|
||||
user --name=vagrant --password=vagrant
|
||||
|
||||
# Suggestion from @purpleidea that most/many vagrant boxes also set root PW
|
||||
# to "vagrant" for ease of use. Again, see comments above.
|
||||
rootpw vagrant
|
||||
|
||||
# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that
|
||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
||||
# platforms (virtualbox and kvm)
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
|
||||
|
||||
%packages
|
||||
# The default koji Vagrantfile configuration uses rsync to sync files between
|
||||
# the vagrant host and the guest. It uses yum to verify that rsync is present
|
||||
# and/or install it if it is not. It will fail without adding the yum compat
|
||||
# layer for dnf
|
||||
# TODO: Teach vagrant about dnf
|
||||
dnf-yum
|
||||
# rsync gets installed when the Vagrant box is first launched on the
|
||||
# users setup. This can actually take a bit of time. Just fold it
|
||||
# in to the base box disk image
|
||||
rsync
|
||||
# Add in sshfs for vagrant-sshfs plugin
|
||||
fuse-sshfs
|
||||
%end
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Work around cloud-init being both disabled and enabled; need
|
||||
# to refactor to a common base.
|
||||
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
||||
|
||||
# Vagrant setup
|
||||
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
||||
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
|
||||
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
|
||||
mkdir -m 0700 -p ~vagrant/.ssh
|
||||
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
|
||||
EOKEYS
|
||||
chmod 600 ~vagrant/.ssh/authorized_keys
|
||||
chown -R vagrant:vagrant ~vagrant/.ssh/
|
||||
|
||||
# Further suggestion from @purpleidea (James Shubin) - extend key to root users as well
|
||||
mkdir -m 0700 -p /root/.ssh
|
||||
cp /home/vagrant/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||
chmod 600 /root/.ssh/authorized_keys
|
||||
chown -R root:root /root/.ssh
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,265 +0,0 @@
|
||||
# This is a basic Fedora cloud 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 Fedora 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 ImageFactory (in Koji).
|
||||
#
|
||||
# To do a local build, you'll need to install ImageFactory. See
|
||||
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
|
||||
#
|
||||
# For a TDL file, I store one here:
|
||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||
# (Koji generates one internally...what we really want is Koji to publish it statically)
|
||||
#
|
||||
# Once you have imagefactory and imagefactory-plugins installed, run:
|
||||
#
|
||||
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||
# tempfile=$(mktemp --suffix=.ks)
|
||||
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
|
||||
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
|
||||
#
|
||||
|
||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
|
||||
firewall --disabled
|
||||
|
||||
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images.
|
||||
bootloader --timeout=1 --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
autopart --noboot --nohome --noswap --nolvm
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
reboot
|
||||
|
||||
# Package list.
|
||||
# FIXME: instLangs does not work, so there's a hack below
|
||||
# (see https://bugzilla.redhat.com/show_bug.cgi?id=1051816)
|
||||
# FIXME: instLangs bug has been fixed but now having instLangs
|
||||
# with an arg causes no langs to get installed because of BZ1262040
|
||||
# which yields the errors in BZ1261249. For now fix by not using
|
||||
# --instLangs at all
|
||||
#%packages --instLangs=en
|
||||
%packages
|
||||
|
||||
kernel-core
|
||||
@^cloud-server-environment
|
||||
# Need to pull in the udev subpackage
|
||||
systemd-udev
|
||||
|
||||
# after move away from grub2 - let's add 'which' back
|
||||
which
|
||||
|
||||
# rescue mode generally isn't useful in the cloud context
|
||||
-dracut-config-rescue
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
# Need to also add back plymouth in order to mask failure of
|
||||
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
|
||||
#-plymouth
|
||||
-iprutils
|
||||
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
|
||||
# systemd-vconsole-setup.service on boot. Comment out for now
|
||||
#-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
# No need for plymouth. Also means anaconda won't put rhgb/quiet
|
||||
# on kernel command line
|
||||
-plymouth
|
||||
|
||||
%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
|
||||
|
||||
# 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 .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is pulled in
|
||||
# in install/image building.
|
||||
echo "Removing firewalld."
|
||||
# FIXME! clean_requirements_on_remove is the default with DNF, but may
|
||||
# not work when package was installed by Anaconda instead of command line.
|
||||
# Also -- check if this is still even needed with new anaconda -- disabled
|
||||
# firewall should _not_ pull in this package.
|
||||
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y erase "firewalld*"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
dnf -C -y erase authconfig
|
||||
|
||||
# instlang hack. (Note! See bug referenced above package list)
|
||||
find /usr/share/locale -mindepth 1 -maxdepth 1 -type d -not -name en_US -exec rm -rf {} +
|
||||
localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archive
|
||||
# this will kill a live system (since it's memory mapped) but should be safe offline
|
||||
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
|
||||
build-locale-archive
|
||||
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
|
||||
|
||||
|
||||
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.
|
||||
# and https://bugzilla.redhat.com/show_bug.cgi?id=1204612
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
DEVTIMEOUT=10
|
||||
EOF
|
||||
|
||||
# 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/systemd/random-seed
|
||||
|
||||
echo "Cleaning old dnf repodata."
|
||||
# FIXME: clear history?
|
||||
dnf clean all
|
||||
truncate -c -s 0 /var/log/dnf.log
|
||||
truncate -c -s 0 /var/log/dnf.rpm.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
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*
|
||||
|
||||
# FIXME: is this still needed?
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
# ignore return code because UEFI systems with vfat filesystems
|
||||
# that don't support selinux will give us errors
|
||||
/usr/sbin/fixfiles -R -a restore || true
|
||||
|
||||
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.)"
|
||||
|
||||
# When we build the image with oz, dracut is used
|
||||
# and sets up a ifcfg-en<whatever> for the device. We don't
|
||||
# want to use this, we use eth0 so it is always the same.
|
||||
# So we remove all these ifcfg-en<whatever> devices so
|
||||
# The 'network' service can come up cleanly.
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
# Anaconda is writing an /etc/resolv.conf from the install environment.
|
||||
# The system should start out with an empty file, otherwise cloud-init
|
||||
# will try to use this information and may error:
|
||||
# https://bugs.launchpad.net/cloud-init/+bug/1670052
|
||||
truncate -s 0 /etc/resolv.conf
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,221 +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 --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=sshd,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
|
||||
@cloud-server
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# rescue mode generally isn't useful in the cloud context
|
||||
-dracut-config-rescue
|
||||
|
||||
# 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
|
||||
|
||||
# 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 .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
dnf -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."
|
||||
dnf -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/systemd/random-seed
|
||||
|
||||
echo "Cleaning old dnf repodata."
|
||||
dnf history new
|
||||
dnf clean all
|
||||
truncate -c -s 0 /var/log/dnf.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
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*
|
||||
|
||||
# This is a temporary workaround for
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
||||
# where sfdisk seems to be messing up the mbr.
|
||||
# Long-term fix is to address this in anaconda directly and remove this.
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/dnf
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
|
||||
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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,215 +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 --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=sshd,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
|
||||
@cloud-server
|
||||
|
||||
# rescue mode generally isn't useful in the cloud context
|
||||
-dracut-config-rescue
|
||||
|
||||
# Needed initially, but removed below.
|
||||
firewalld
|
||||
|
||||
# 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
|
||||
|
||||
# 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 .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
dnf -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."
|
||||
dnf -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/systemd/random-seed
|
||||
|
||||
echo "Cleaning old dnf repodata."
|
||||
dnf history new
|
||||
dnf clean all
|
||||
truncate -c -s 0 /var/log/dnf.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
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*
|
||||
|
||||
|
||||
# This is a temporary workaround for
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
||||
# where sfdisk seems to be messing up the mbr.
|
||||
# Long-term fix is to address this in anaconda directly and remove this.
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
|
||||
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/dnf
|
||||
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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
||||
# This base is a stripped back Fedora image without python3/dnf.
|
||||
# If you need that use the standard base image.
|
||||
|
||||
%include fedora-container-common.ks
|
||||
|
||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
||||
microdnf
|
||||
|
||||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
# remove some random help txt files
|
||||
rm -fv usr/share/gnupg/help*.txt
|
||||
|
||||
# Pruning random things
|
||||
rm usr/lib/rpm/rpm.daily
|
||||
rm -rfv usr/lib64/nss/unsupported-tools/ # unsupported
|
||||
|
||||
# Statically linked crap
|
||||
rm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}
|
||||
ln usr/bin/ln usr/sbin/sln
|
||||
|
||||
# Remove some dnf info
|
||||
rm -rfv /var/lib/dnf
|
||||
|
||||
# don't need icons
|
||||
rm -rfv /usr/share/icons/*
|
||||
|
||||
#some random not-that-useful binaries
|
||||
rm -fv /usr/bin/pinky
|
||||
|
||||
# we lose presets by removing /usr/lib/systemd but we do not care
|
||||
rm -rfv /usr/lib/systemd
|
||||
|
||||
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
|
||||
rm -fv /etc/localtime
|
||||
mv /usr/share/zoneinfo/UTC /etc/localtime
|
||||
rm -rfv /usr/share/zoneinfo
|
||||
|
||||
# Final pruning
|
||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
||||
|
||||
%end
|
||||
|
||||
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
|
||||
set -eux
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
||||
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||
# This unmounts /run (tmpfs) and then recreates the files
|
||||
# in the /run directory on the root filesystem of the container
|
||||
# NOTE: run this in nochroot because "umount" does not exist in chroot
|
||||
umount /mnt/sysimage/run
|
||||
# The file that specifies the /run/lock tmpfile is
|
||||
# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd
|
||||
# rpm that isn't included in this image. We'll create the /run/lock
|
||||
# file here manually with the settings from legacy.conf
|
||||
# NOTE: chroot to run "install" because it is not in anaconda env
|
||||
chroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root
|
||||
|
||||
|
||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
|
||||
# NOTE: run this in nochroot because "find" does not exist in chroot
|
||||
KEEPLANG=en_US
|
||||
for dir in locale i18n; do
|
||||
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
|
||||
done
|
||||
|
||||
%end
|
||||
@@ -1,65 +0,0 @@
|
||||
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
||||
# This base is a standard Fedora image with python3 and dnf
|
||||
|
||||
%include fedora-container-common.ks
|
||||
|
||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
||||
rootfiles
|
||||
# https://communityblog.fedoraproject.org/modularity-dead-long-live-modularity/
|
||||
fedora-repos-modular
|
||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
||||
vim-minimal
|
||||
dnf
|
||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||
sssd-client
|
||||
sudo
|
||||
-glibc-langpack-en
|
||||
-cracklib-dicts
|
||||
-langpacks-en
|
||||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
# remove some extraneous files
|
||||
rm -rf /var/cache/dnf/*
|
||||
rm -rf /tmp/*
|
||||
|
||||
# https://pagure.io/atomic-wg/issue/308
|
||||
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
|
||||
systemctl disable dnf-makecache.timer
|
||||
|
||||
#Mask mount units and getty service so that we don't get login prompt
|
||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
||||
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||
# This unmounts /run (tmpfs) and then recreates the files
|
||||
# in the /run directory on the root filesystem of the container
|
||||
#
|
||||
# We ignore the return code of the systemd-tmpfiles command because
|
||||
# at this point we have already removed the /etc/machine-id and all
|
||||
# tmpfiles lines with %m in them will fail and cause a bad return
|
||||
# code. Example failure:
|
||||
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
||||
#
|
||||
umount /run
|
||||
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
||||
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||
|
||||
# Final pruning
|
||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
||||
|
||||
%end
|
||||
|
||||
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
|
||||
set -eux
|
||||
|
||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
|
||||
# NOTE: run this in nochroot because "find" does not exist in chroot
|
||||
KEEPLANG=en_US
|
||||
for dir in locale i18n; do
|
||||
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
|
||||
done
|
||||
|
||||
%end
|
||||
@@ -1,80 +0,0 @@
|
||||
# This is the common bits between Fedora Container base image.
|
||||
#
|
||||
# To keep this image minimal it only installs English language. You need to change
|
||||
# dnf configuration in order to enable other languages.
|
||||
#
|
||||
# ## Hacking on this image ###
|
||||
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
|
||||
# but you can run imagefactory locally too.
|
||||
#
|
||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||
#
|
||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
||||
#
|
||||
# ksflatten -c fedora-container-base[-minimal].ks -o fedora-container-base-test.ks
|
||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-container-base-test.ks docker
|
||||
#
|
||||
|
||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||
bootloader --disabled
|
||||
timezone --isUtc --nontp Etc/UTC
|
||||
rootpw --lock --iscrypted locked
|
||||
keyboard us
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
reboot
|
||||
|
||||
# boot partitions are irrelevant as the final docker image is a tarball
|
||||
zerombr
|
||||
clearpart --all
|
||||
autopart --noboot --nohome --noswap --nolvm
|
||||
|
||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
||||
fedora-release-container
|
||||
bash
|
||||
coreutils
|
||||
glibc-minimal-langpack
|
||||
libcrypt
|
||||
rpm
|
||||
shadow-utils
|
||||
sssd-client
|
||||
util-linux
|
||||
#needed by Anaconda https://bugzilla.redhat.com/show_bug.cgi?id=1744115
|
||||
systemd
|
||||
-kernel
|
||||
-dosfstools
|
||||
-e2fsprogs
|
||||
-fuse-libs
|
||||
-gnupg2-smime
|
||||
-libss # used by e2fsprogs
|
||||
-pinentry
|
||||
-shared-mime-info
|
||||
-trousers
|
||||
-xkeyboard-config
|
||||
-grubby
|
||||
|
||||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
set -eux
|
||||
|
||||
# Set install langs macro so that new rpms that get installed will
|
||||
# only install langs that we limit it to.
|
||||
LANG="en_US"
|
||||
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1727489
|
||||
echo 'LANG="C.UTF-8"' > /etc/locale.conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
|
||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
@@ -1,88 +0,0 @@
|
||||
# fedora-disk-base.ks
|
||||
#
|
||||
# Defines the basics for all kickstarts in the fedora-live branch
|
||||
# Does not include package selection (other then mandatory)
|
||||
# Does not include localization packages or configuration
|
||||
#
|
||||
# Does includes "default" language configuration (kickstarts including
|
||||
# this template can override these settings)
|
||||
|
||||
text
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
rootpw --lock --iscrypted locked
|
||||
shutdown
|
||||
|
||||
bootloader --timeout=1
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=msdos
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
%packages
|
||||
@core
|
||||
@standard
|
||||
@hardware-support
|
||||
zram
|
||||
|
||||
kernel
|
||||
# remove this in %post
|
||||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
# install tools needed to manage and boot arm systems
|
||||
@arm-tools
|
||||
-uboot-images-armv7
|
||||
rng-tools
|
||||
chrony
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
# Intel wireless firmware assumed never of use for disk images
|
||||
-iwl*
|
||||
-ipw*
|
||||
-usb_modeswitch
|
||||
-generic-release*
|
||||
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
glibc-all-langpacks
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
echo "Packages within this disk image"
|
||||
rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# The enp1s0 interface is a left over from the imagefactory install, clean this up
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-enp1s0
|
||||
|
||||
dnf -y remove dracut-config-generic
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
@@ -1,10 +0,0 @@
|
||||
%include fedora-disk-base.ks
|
||||
%include fedora-minimal-common.ks
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||
|
||||
autopart --type=plain --noswap
|
||||
|
||||
%packages
|
||||
-xkeyboard-config
|
||||
%end
|
||||
@@ -1,33 +0,0 @@
|
||||
%include fedora-disk-base.ks
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||
|
||||
autopart --noswap
|
||||
|
||||
%packages
|
||||
# install the default groups for the server environment since installing the environment is not working
|
||||
@server-product
|
||||
@standard
|
||||
@core
|
||||
@headless-management
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
@container-management
|
||||
@domain-client
|
||||
@guest-agents
|
||||
@server-hardware-support
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
%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 .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
%include fedora-disk-base.ks
|
||||
%include fedora-disk-xbase.ks
|
||||
%include fedora-workstation-common.ks
|
||||
|
||||
bootloader --append="cma=256MB"
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||
|
||||
autopart --type=plain --noswap
|
||||
|
||||
%packages
|
||||
-initial-setup
|
||||
-initial-setup-gui
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,21 +0,0 @@
|
||||
%packages
|
||||
@base-x
|
||||
@fonts
|
||||
@input-methods
|
||||
@multimedia
|
||||
@printing
|
||||
-@guest-desktop-agents
|
||||
|
||||
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
||||
aajohan-comfortaa-fonts
|
||||
|
||||
# anaconda needs the locales available to run for different locales
|
||||
glibc-all-langpacks
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
|
||||
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
|
||||
|
||||
%end
|
||||
@@ -1,17 +0,0 @@
|
||||
%include fedora-disk-base.ks
|
||||
%include fedora-disk-xbase.ks
|
||||
%include fedora-xfce-common.ks
|
||||
|
||||
bootloader --append="cma=192MB"
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||
|
||||
autopart --type=plain --noswap
|
||||
|
||||
%packages
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
178
fedora-install-fedora.ks
Normal file
178
fedora-install-fedora.ks
Normal file
@@ -0,0 +1,178 @@
|
||||
# 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=release --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude java-1.5.0-gcj-javadoc --exclude btanks --exclude GConf2-dbus --exclude bluez-gnome
|
||||
repo --name=release-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11-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*
|
||||
# Desktop Packages
|
||||
@kde-desktop
|
||||
echo-icon-theme
|
||||
tracker
|
||||
swfdec
|
||||
nspluginwrapper
|
||||
liferea
|
||||
esc
|
||||
thunderbird
|
||||
@dial-up
|
||||
# apps
|
||||
@eclipse
|
||||
joe
|
||||
emacs
|
||||
k3b
|
||||
@system-tools
|
||||
mc
|
||||
wireshark-gnome
|
||||
# Devel packages
|
||||
@development-libs
|
||||
@development-tools
|
||||
@fedora-packager
|
||||
@gnome-software-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
|
||||
# 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-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*
|
||||
-frysk
|
||||
-*gcj*
|
||||
%end
|
||||
105
fedora-iot.ks
105
fedora-iot.ks
@@ -1,105 +0,0 @@
|
||||
# This is the kickstart for Fedora IoT disk images.
|
||||
|
||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
|
||||
bootloader --timeout=1 --append="net.ifnames=0 modprobe.blacklist=vc4"
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
||||
|
||||
# tell Initial Setup to run in the reconfig mode
|
||||
firstboot --reconfig --enable
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=msdos
|
||||
autopart --nohome --noswap --type=plain
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
# Pull from the ostree repo that was created during the compose
|
||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/stable/${basearch}/iot
|
||||
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
# Find the architecture we are on
|
||||
arch=$(uname -m)
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||
if [[ $arch == "aarch64" ]]; then
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
else
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
||||
# We want consumers of this image to track the two week releases.
|
||||
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/stable/${arch}/iot"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${arch}/iot"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --delete
|
||||
|
||||
# delete/add the remote with new options to enable gpg verification
|
||||
# and to point them at the cdn url
|
||||
ostree remote delete fedora-iot
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/ --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
|
||||
|
||||
# We're getting a stray console= from somewhere, work around it
|
||||
rpm-ostree kargs --delete=console=tty0
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
|
||||
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
|
||||
cp /etc/skel/.bash* /var/roothome
|
||||
|
||||
# Remove any persistent NIC rules generated by udev
|
||||
rm -vf /etc/udev/rules.d/*persistent-net*.rules
|
||||
# And ensure that we will do DHCP on eth0 on startup
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
echo "Packages within this iot 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 "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.)"
|
||||
|
||||
# For trac ticket https://pagure.io/atomic-wg/issue/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
# Anaconda is writing an /etc/resolv.conf from the install environment.
|
||||
# The system should start out with an empty file, otherwise cloud-init
|
||||
# will try to use this information and may error:
|
||||
# https://bugs.launchpad.net/cloud-init/+bug/1670052
|
||||
truncate -s 0 /etc/resolv.conf
|
||||
|
||||
%end
|
||||
@@ -1,59 +0,0 @@
|
||||
|
||||
%packages
|
||||
@firefox
|
||||
@kde-apps
|
||||
@kde-desktop
|
||||
@kde-media
|
||||
@kde-office
|
||||
@networkmanager-submodules
|
||||
fedora-release-kde
|
||||
|
||||
### The KDE-Desktop
|
||||
|
||||
### Browser
|
||||
falkon
|
||||
|
||||
### 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-connector-c
|
||||
mariadb-server
|
||||
|
||||
# minimal localization support - allows installing the kde-l10n-* packages
|
||||
system-config-language
|
||||
kde-l10n
|
||||
|
||||
# unwanted packages from @kde-desktop
|
||||
# don't include these for now to fit on a cd
|
||||
-desktop-backgrounds-basic
|
||||
-kdeaccessibility*
|
||||
#-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-* groups, but useful
|
||||
k3b # ~15 megs
|
||||
#kdeartwork # only include some parts of kdeartwork
|
||||
fuse
|
||||
mediawriter
|
||||
|
||||
### space issues
|
||||
|
||||
# admin-tools
|
||||
-gnome-disk-utility
|
||||
# kcm_clock still lacks some features, so keep system-config-date around
|
||||
#-system-config-date
|
||||
# prefer kcm_systemd
|
||||
-system-config-services
|
||||
# prefer/use kusers
|
||||
-system-config-users
|
||||
|
||||
## avoid serious bugs by omitting broken stuff
|
||||
|
||||
%end
|
||||
@@ -1,8 +0,0 @@
|
||||
# remove input methods to free space
|
||||
%packages
|
||||
-@input-methods
|
||||
-scim*
|
||||
-iok
|
||||
%end
|
||||
|
||||
|
||||
@@ -1,143 +0,0 @@
|
||||
#fedora-live-astronomy-kde.ks
|
||||
# With KDE Desktop
|
||||
|
||||
# Fedora Astronomy: For astronomers and astrophysicists
|
||||
# Fedora-Astronomy aims to create a Fedora which has the generic
|
||||
# toolset for the astronomer
|
||||
#
|
||||
# Web: https://fedoraproject.org/wiki/SIGs/Astronomy/AstroSpin
|
||||
#
|
||||
# Partly based on Scientific KDE Spin
|
||||
# https://fedoraproject.org/wiki/Scientific_Spin
|
||||
#
|
||||
|
||||
# Maintainer: Christian Dersch <lupinix@fedoraproject.org>
|
||||
# https://fedoraproject.org/wiki/User:Lupinix
|
||||
|
||||
%include fedora-live-kde-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the astronomy spin
|
||||
part / --size 14500
|
||||
|
||||
%packages
|
||||
|
||||
# Installing the default/mandatory packages from engineering & scientific
|
||||
@engineering-and-scientific
|
||||
|
||||
# Basic development
|
||||
@development-tools
|
||||
@c-development
|
||||
|
||||
# astronomical data analysis
|
||||
astrometry
|
||||
astrometry-tycho2
|
||||
cdsclient
|
||||
fpack
|
||||
gcx
|
||||
psfex
|
||||
saoimage
|
||||
scamp
|
||||
sextractor
|
||||
siril
|
||||
skyviewer
|
||||
swarp
|
||||
wcstools
|
||||
|
||||
# Observatory: KStars + INDI drivers
|
||||
indi-aagcloudwatcher
|
||||
indi-apogee
|
||||
indi-eqmod
|
||||
indi-gphoto
|
||||
indi-sx
|
||||
indistarter
|
||||
kstars
|
||||
|
||||
# misc. astronomy
|
||||
celestia
|
||||
stellarium
|
||||
virtualplanet
|
||||
|
||||
# Some astro environment stuff
|
||||
astronomy-menus
|
||||
astronomy-menus-toplevel
|
||||
|
||||
#python 3 and tools/libraries not included from the groups
|
||||
python3
|
||||
python3-tools
|
||||
python3-matplotlib
|
||||
python3-scipy
|
||||
python3-numpy
|
||||
python3-ipython
|
||||
python3-ipython-console
|
||||
python3-ipython-notebook
|
||||
python3-sympy
|
||||
python3-networkx
|
||||
python3-pandas
|
||||
python3-pillow
|
||||
python3-seaborn
|
||||
python3-statsmodels
|
||||
python3-scikit-learn
|
||||
python3-scikit-image
|
||||
# Python 3 astronomy
|
||||
astropy-tools
|
||||
ginga
|
||||
python3-astropy
|
||||
python3-astroML
|
||||
python3-astroML-addons
|
||||
python3-astroquery
|
||||
python3-astroscrappy
|
||||
python3-APLpy
|
||||
python3-ATpy
|
||||
python3-ccdproc
|
||||
python3-fitsio
|
||||
python3-gatspy
|
||||
python3-photutils
|
||||
python3-pyvo
|
||||
python3-reproject
|
||||
python3-sep
|
||||
python3-wcsaxes
|
||||
|
||||
# matplotlib backends
|
||||
python3-matplotlib-qt4
|
||||
python3-matplotlib-qt5
|
||||
python3-matplotlib-tk
|
||||
|
||||
|
||||
# Python IDE very useful for scientific use
|
||||
python3-spyder
|
||||
|
||||
#Version control- a GUI for each as well
|
||||
|
||||
# Installing rapidsvn will also install subversion package
|
||||
rapidsvn
|
||||
git
|
||||
git-gui
|
||||
|
||||
#Drawing, Picture viewing tools, Visualization tools
|
||||
dia
|
||||
gimp
|
||||
kst
|
||||
kst-docs
|
||||
kst-fits
|
||||
LabPlot
|
||||
|
||||
#Misc. Utils
|
||||
# icedtea-web to have webstart useful for VO tools
|
||||
icedtea-web
|
||||
ImageMagick
|
||||
kate
|
||||
kate-plugins
|
||||
rlwrap
|
||||
screen
|
||||
plasma-applet-redshift-control
|
||||
|
||||
# Omit KDE 4 translations for now: https://bugzilla.redhat.com/show_bug.cgi?id=1197940
|
||||
-kde-l10n-*
|
||||
-calligra-l10n-*
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -10,63 +10,82 @@
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
auth --useshadow --passalgo=sha512
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
xconfig --startxonboot
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 5120 --fstype ext4
|
||||
services --enabled=NetworkManager,ModemManager --disabled=sshd
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
rootpw --lock --iscrypted locked
|
||||
shutdown
|
||||
part / --size 3072 --fstype ext4
|
||||
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-11&arch=$basearch
|
||||
# To include updates, use the following "repo" (enabled by default)
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&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=f11 --baseurl=http://localrepo/fedora/releases/11/Everything/$basearch/os/
|
||||
#repo --name=f11-updates --baseurl=http://localrepo/fedora/updates/11/$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
|
||||
kernel-modules
|
||||
kernel-modules-extra
|
||||
memtest86+
|
||||
|
||||
# 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+
|
||||
@x86-baremetal-tools # memtest86+ is included
|
||||
#firstaidkit-plugin-all
|
||||
|
||||
# The point of a live image is to install
|
||||
# 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-install-env-deps
|
||||
anaconda-live
|
||||
@anaconda-tools
|
||||
isomd5sum
|
||||
|
||||
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
||||
aajohan-comfortaa-fonts
|
||||
|
||||
# Without this, initramfs generation during live image creation fails: #1242586
|
||||
dracut-live
|
||||
# syslinux is in @x86-baremetal-tools
|
||||
|
||||
# anaconda needs the locales available to run for different locales
|
||||
glibc-all-langpacks
|
||||
|
||||
# no longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
# make sure debuginfo doesn't end up on the live image
|
||||
-*debuginfo
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -78,13 +97,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 chronyd
|
||||
### 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
|
||||
|
||||
@@ -97,14 +113,19 @@ exists() {
|
||||
\$*
|
||||
}
|
||||
|
||||
touch /.liveimg-configured
|
||||
|
||||
# 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
|
||||
|
||||
livedir="LiveOS"
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##rd.live.dir=}
|
||||
continue
|
||||
fi
|
||||
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##live_dir=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -115,8 +136,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/\${livedir}/swap.img ] ; then
|
||||
action "Enabling swap file" swapon /mnt/live/\${livedir}/swap.img
|
||||
fi
|
||||
|
||||
mountPersistentHome() {
|
||||
@@ -131,15 +152,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"
|
||||
@@ -159,14 +180,15 @@ findPersistentHome() {
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
|
||||
homedev=\${arg##persistenthome=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
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/\${livedir}/home.img ]; then
|
||||
homedev=/mnt/live/\${livedir}/home.img
|
||||
fi
|
||||
|
||||
# if we have a persistent /home, then we want to go ahead and mount it
|
||||
@@ -174,58 +196,74 @@ if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; the
|
||||
action "Mounting persistent /home" mountPersistentHome
|
||||
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 /tmp /var/tmp >/dev/null 2>&1
|
||||
|
||||
if [ -n "\$configdone" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# add liveuser user with no passwd
|
||||
# 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
|
||||
|
||||
# turn off abrtd on a live image
|
||||
systemctl --no-reload disable abrtd.service 2> /dev/null || :
|
||||
systemctl stop abrtd.service 2> /dev/null || :
|
||||
# Stopgap fix for RH #217966; should be fixed in HAL instead
|
||||
touch /media/.hal-mtab
|
||||
|
||||
# Don't sync the system clock when running live (RHBZ #1018162)
|
||||
sed -i 's/rtcsync//' /etc/chrony.conf
|
||||
# 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
|
||||
|
||||
# Mark things as configured
|
||||
touch /.liveimg-configured
|
||||
|
||||
# add static hostname to work around xauth bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||
# the hostname must be something else than 'localhost'
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||
hostnamectl set-hostname "localhost-live"
|
||||
# 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
|
||||
echo "Please remove the CD from your drive and press Enter to finish restarting"
|
||||
read -t 30 < /dev/console
|
||||
FOE
|
||||
chmod +x /sbin/halt.local
|
||||
fi
|
||||
|
||||
EOF
|
||||
|
||||
@@ -240,7 +278,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
|
||||
|
||||
@@ -255,14 +293,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
|
||||
@@ -275,16 +369,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
|
||||
@@ -293,74 +386,28 @@ 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
|
||||
|
||||
# make it so that we don't do writing to the overlay for things which
|
||||
# are just tmpdirs/caches
|
||||
# note https://bugzilla.redhat.com/show_bug.cgi?id=1135475
|
||||
cat >> /etc/fstab << EOF
|
||||
vartmp /var/tmp tmpfs defaults 0 0
|
||||
EOF
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
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/initrd*
|
||||
# make sure there aren't core files lying around
|
||||
rm -f /core*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# convince readahead not to collect
|
||||
# FIXME: for systemd
|
||||
|
||||
echo 'File created by kickstart. See systemd-update-done.service(8).' \
|
||||
| tee /etc/.updated >/var/.updated
|
||||
|
||||
# Drop the rescue kernel and initramfs, we don't need them on the live media itself.
|
||||
# See bug 1317709
|
||||
rm -f /boot/*-rescue*
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
%post --nochroot
|
||||
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||
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
|
||||
# For livecd-creator builds
|
||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||
|
||||
# For lorax/livemedia-creator builds
|
||||
sed -i '
|
||||
/## make boot.iso/ i\
|
||||
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
|
||||
<% f = "usr/bin/livecd-iso-to-disk" %>\
|
||||
%if exists(f):\
|
||||
install ${f} ${LIVEDIR}/${f|basename}\
|
||||
%endif\
|
||||
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
|
||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# fedora-live-cinnamon.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the Cinnamon Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Dan Book <grinnz@grinnz.com>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-cinnamon-common.ks
|
||||
|
||||
part / --size=8192
|
||||
|
||||
%post
|
||||
# cinnamon configuration
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/cinnamon-session
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
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 Cinnamon as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# no updater applet in live environment
|
||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
||||
|
||||
# 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
|
||||
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,97 +0,0 @@
|
||||
# fedora-design-suite.ks
|
||||
# Based on Live Workstation
|
||||
# Description:
|
||||
# - A collection of applications targeted towards professional visual designers
|
||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||
# Maintainer:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Credit to Sebastian Dziallas for initiating the project
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
|
||||
# Size partition
|
||||
part / --size 14336
|
||||
|
||||
%packages
|
||||
# Switch to groups for design suite
|
||||
@design-suite
|
||||
|
||||
# Provides backup application
|
||||
deja-dup
|
||||
deja-dup-nautilus
|
||||
|
||||
# Add extra gnome applications
|
||||
gnome-books
|
||||
gnome-calendar
|
||||
gnome-photos
|
||||
gnome-shell-extension-pomodoro
|
||||
gnome-todo
|
||||
|
||||
# Add cosmetic for gnome-terminal
|
||||
powerline
|
||||
powerline-fonts
|
||||
|
||||
# Extra wallpapers
|
||||
f31-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
-eog
|
||||
-rdesktop
|
||||
|
||||
# temporarily removing conflicting application
|
||||
-mypaint
|
||||
-sparkleshare
|
||||
|
||||
%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', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
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 https://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
|
||||
|
||||
# Add information about Fedora Design Suite
|
||||
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
||||
[Desktop Entry]
|
||||
Name=Design Suite Info
|
||||
GenericName=About Design Suite
|
||||
Comment=Wiki page of Design Suite
|
||||
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite
|
||||
Type=Application
|
||||
Icon=applications-internet
|
||||
Categories=Documentation;
|
||||
FOE
|
||||
chmod a+x /usr/share/applications/fedora-design-suite.desktop
|
||||
|
||||
# Add information about Fedora Design Team
|
||||
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
||||
[Desktop Entry]
|
||||
Name=Design Team Info
|
||||
GenericName=About Design Team
|
||||
Comment=Wiki page of Design Team
|
||||
Exec=xdg-open https://fedoraproject.org/wiki/Design
|
||||
Type=Application
|
||||
Icon=applications-internet
|
||||
Categories=Documentation;
|
||||
FOE
|
||||
chmod a+x /usr/share/applications/fedora-design-team.desktop
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
%end
|
||||
@@ -1,196 +0,0 @@
|
||||
# fedora-live-games.ks
|
||||
#
|
||||
# Maintainer:
|
||||
# - Darryl T. Agostinelli <dagostinelli@gmail.com>
|
||||
# https://fedoraproject.org/wiki/User:Dagostinelli
|
||||
#
|
||||
# Former Maintainers:
|
||||
# - Bruno Wolff III <bruno@wolff.to>
|
||||
# https://fedoraproject.org/wiki/User:Bruno
|
||||
#
|
||||
# - Rahul Sundaram <sundaram@fedoraproject.org>
|
||||
# https://fedoraproject.org/wiki/User:Sundaram
|
||||
#
|
||||
|
||||
%include fedora-live-xfce.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the games spin
|
||||
part / --size 14336
|
||||
|
||||
%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*
|
||||
|
||||
# Extra screensavers isn't much help for the games spin
|
||||
-xscreensaver-extras
|
||||
|
||||
# Allow joysticks and game pads to work
|
||||
joystick-support
|
||||
|
||||
# games
|
||||
|
||||
# traditional (big)
|
||||
|
||||
#alienarena #Cut for size
|
||||
armacycles-ad
|
||||
asc
|
||||
asc-music
|
||||
astromenace
|
||||
# beneath-a-steel-sky-cd scummvm games cut for size
|
||||
boswars
|
||||
bzflag
|
||||
crossfire-client
|
||||
extremetuxracer
|
||||
# flight-of-the-amazon-queen-cd scummvm games cut for size
|
||||
freeciv
|
||||
freecol
|
||||
freedoom
|
||||
freedroidrpg
|
||||
frozen-bubble
|
||||
gl-117
|
||||
# glob2 - currently broken
|
||||
lincity-ng
|
||||
tmw
|
||||
#maniadrive - currently broken
|
||||
#maniadrive-music - has been retired
|
||||
megaglest
|
||||
nethack-vultures
|
||||
netpanzer
|
||||
neverball
|
||||
nogravity
|
||||
#pinball # Would pull in fluid-soundfont-lite-patches
|
||||
scorched3d
|
||||
# supertux # Crashing
|
||||
supertuxkart
|
||||
ultimatestunts
|
||||
warzone2100
|
||||
wesnoth
|
||||
# worminator # Would pull in fluid-soundfont-lite-patches
|
||||
warmux
|
||||
xmoto
|
||||
|
||||
# traditional (small)
|
||||
|
||||
abe
|
||||
# alex4 # Would pull in fluid-soundfont-lite-patches
|
||||
# ballz # Would pull in fluid-soundfont-lite-patches
|
||||
blobwars
|
||||
bombardier
|
||||
cdogs-sdl
|
||||
clanbomber
|
||||
colossus
|
||||
foobillard
|
||||
glaxium
|
||||
gnubg
|
||||
gnugo
|
||||
haxima
|
||||
hedgewars
|
||||
kcheckers
|
||||
knights
|
||||
lbrickbuster2
|
||||
# liquidwar # Would pull in fluid-soundfont-lite-patches
|
||||
lordsawar
|
||||
# lure scummvm games cut for size
|
||||
# machineball # Would pull in fluid-soundfont-lite-patches
|
||||
nethack
|
||||
openlierox
|
||||
pachi
|
||||
pioneers
|
||||
quarry
|
||||
# Ri-li cut for size
|
||||
# rogue # recently abandoned. Someone picked it up. Waiting for approval.
|
||||
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
|
||||
seahorse-adventures
|
||||
solarwolf
|
||||
sopwith
|
||||
stormbaancoureur
|
||||
ularn
|
||||
xblast
|
||||
|
||||
# arcade classics(ish) (big)
|
||||
|
||||
auriferous
|
||||
alienblaster
|
||||
# duel3 # Would pull in fluid-soundfont-lite-patches
|
||||
powermanga
|
||||
# raidem # Would pull in fluid-soundfont-lite-patches
|
||||
# raidem-music # Would pull in fluid-soundfont-lite-patches
|
||||
trackballs
|
||||
trackballs-music
|
||||
|
||||
# arcade classics(ish) (small)
|
||||
|
||||
ballbuster
|
||||
CriticalMass
|
||||
dd2
|
||||
KoboDeluxe
|
||||
# lacewing # Would pull in fluid-soundfont-lite-patches
|
||||
Maelstrom
|
||||
methane
|
||||
njam
|
||||
seahorse-adventures
|
||||
shippy
|
||||
tecnoballz
|
||||
wordwarvi
|
||||
xgalaxy
|
||||
# zasx # Would pull in fluid-soundfont-lite-patches
|
||||
|
||||
# falling blocks games (small)
|
||||
|
||||
amoebax
|
||||
crack-attack
|
||||
# crystal-stacker # Would pull in fluid-soundfont-lite-patches
|
||||
gemdropx
|
||||
gweled
|
||||
|
||||
# puzzles (big)
|
||||
enigma
|
||||
fillets-ng
|
||||
pingus
|
||||
|
||||
# puzzles (small)
|
||||
|
||||
# gbrainy Removed for space - only game that pulls in mono
|
||||
magicor
|
||||
mirrormagic
|
||||
pipenightdreams
|
||||
pipepanic
|
||||
pychess
|
||||
rocksndiamonds
|
||||
vodovod
|
||||
|
||||
# card games
|
||||
|
||||
#poker2d - dropped from F14 for being orphaned
|
||||
PySolFC
|
||||
|
||||
# educational/simulation
|
||||
|
||||
bygfoot
|
||||
celestia
|
||||
planets
|
||||
tuxpaint
|
||||
tuxpaint-stamps
|
||||
tuxtype2
|
||||
|
||||
# kde based games
|
||||
taxipilot
|
||||
|
||||
# compilations (we are avoiding compilations, rare exceptions)
|
||||
bsd-games
|
||||
|
||||
# utilities
|
||||
|
||||
games-menus
|
||||
|
||||
# Nothing should be downloading data to play.
|
||||
-autodownloader
|
||||
|
||||
%end
|
||||
@@ -1,218 +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-live-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
|
||||
ffado
|
||||
|
||||
#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
|
||||
ardour5
|
||||
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-tap-plugins
|
||||
ladspa-vco-plugins
|
||||
|
||||
#lv2 plugins
|
||||
lv2
|
||||
lv2-avw-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
|
||||
|
||||
# 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/.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/org.kde.konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/pavucontrol.desktop,/usr/share/applications/kde4/kfmclient_html.desktop,/usr/share/applications/kde4/Kontact.desktop,/usr/share/applications/kde4/ktp-contactlist.desktop
|
||||
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
||||
|
||||
cat <<EOF >> /etc/skel/.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,86 +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-common.ks
|
||||
|
||||
%post
|
||||
|
||||
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||
cat > /root/.gtkrc-2.0 << EOF
|
||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||
include "/etc/gtk-2.0/gtkrc"
|
||||
gtk-theme-name="Adwaita"
|
||||
EOF
|
||||
mkdir -p /root/.config/gtk-3.0
|
||||
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
||||
[Settings]
|
||||
gtk-theme-name = Adwaita
|
||||
EOF
|
||||
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
# set up autologin for user liveuser
|
||||
if [ -f /etc/sddm.conf ]; then
|
||||
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||
sed -i 's/^#Session=.*/Session=plasma.desktop/' /etc/sddm.conf
|
||||
else
|
||||
cat > /etc/sddm.conf << SDDM_EOF
|
||||
[Autologin]
|
||||
User=liveuser
|
||||
Session=plasma.desktop
|
||||
SDDM_EOF
|
||||
fi
|
||||
|
||||
# add liveinst.desktop to favorites menu
|
||||
mkdir -p /home/liveuser/.config/
|
||||
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/firefox.desktop,/usr/share/applications/org.kde.dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/org.kde.konsole.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
|
||||
# set executable bit disable KDE security warning
|
||||
chmod +x /usr/share/applications/liveinst.desktop
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
|
||||
|
||||
# Set akonadi backend
|
||||
mkdir -p /home/liveuser/.config/akonadi
|
||||
cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
||||
[%General]
|
||||
Driver=QSQLITE3
|
||||
AKONADI_EOF
|
||||
|
||||
# Disable plasma-pk-updates (bz #1436873 and 1206760)
|
||||
echo "Removing plasma-pk-updates package."
|
||||
rpm -e plasma-pk-updates
|
||||
|
||||
# Disable baloo
|
||||
cat > /home/liveuser/.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 kwallet migrator
|
||||
cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
||||
[Migration]
|
||||
alreadyMigrated=true
|
||||
KWALLET_EOL
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,18 +0,0 @@
|
||||
# fedora-livecd-kde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1.4 GB 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
|
||||
%include fedora-kde-minimization.ks
|
||||
|
||||
# DVD payload
|
||||
part / --size=6500
|
||||
|
||||
%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>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-lxde-common.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,51 +0,0 @@
|
||||
# fedora-live-lxqt.ks
|
||||
#
|
||||
# Description:
|
||||
# – Fedora Live Spin with the LXQt desktop environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# – Christian Dersch <lupinix@fedoraproject.org>
|
||||
#
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-lxqt-common.ks
|
||||
|
||||
%post
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
# set up autologin for user liveuser
|
||||
if [ -f /etc/sddm.conf ]; then
|
||||
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||
sed -i 's/^#Session=.*/Session=lxqt.desktop/' /etc/sddm.conf
|
||||
else
|
||||
cat > /etc/sddm.conf << SDDM_EOF
|
||||
[Autologin]
|
||||
User=liveuser
|
||||
Session=lxqt.desktop
|
||||
SDDM_EOF
|
||||
fi
|
||||
|
||||
# show liveinst.desktop on desktop and in menu
|
||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
|
||||
|
||||
# set up preferred apps
|
||||
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
||||
[Preferred Applications]
|
||||
WebBrowser=qupzilla.desktop
|
||||
FOE
|
||||
|
||||
# no updater applet in live environment
|
||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,51 +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-base.ks
|
||||
%include fedora-mate-common.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
part / --size 7168
|
||||
|
||||
%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
|
||||
|
||||
# and mark it as executable
|
||||
chmod +x /home/liveuser/Desktop/liveinst.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
|
||||
|
||||
# no updater applet in live environment
|
||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -1,16 +0,0 @@
|
||||
# Common packages removed from comps
|
||||
# For F14, these removals should be moved to comps itself
|
||||
|
||||
%packages
|
||||
|
||||
# save some space
|
||||
-mpage
|
||||
-hplip
|
||||
-isdn4k-utils
|
||||
|
||||
# scanning takes quite a bit of space :/
|
||||
-xsane
|
||||
-xsane-gimp
|
||||
-sane-backends
|
||||
|
||||
%end
|
||||
@@ -1,11 +0,0 @@
|
||||
# Maintained by the Fedora Python SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Python
|
||||
# mailto:python-devel@lists.fedoraproject.org
|
||||
|
||||
# The Workstion based Python Classroom Lab
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
%include fedora-python-classroom-gnome-common.ks
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1695796
|
||||
part / --size 7168
|
||||
@@ -1,142 +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 10752
|
||||
|
||||
%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
|
||||
-@dial-up
|
||||
-@input-methods
|
||||
-@standard
|
||||
|
||||
# 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 or scanning
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
-sane-backends-drivers-scanners
|
||||
-libsane-hpaio
|
||||
|
||||
# Dictionaries are big
|
||||
-aspell-*
|
||||
-man-pages*
|
||||
-words
|
||||
|
||||
# Help and art can be big, too
|
||||
-gnome-user-docs
|
||||
-gnome-getting-started-docs
|
||||
-evolution-help
|
||||
-desktop-backgrounds-basic
|
||||
-*backgrounds-extras
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-nano
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-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', 'org.qt-project.qtcreator.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,20 +0,0 @@
|
||||
# Fedora Scientific 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://labs.fedoraproject.org/en/scientific/
|
||||
|
||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||
|
||||
%include fedora-live-kde-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-scientific-common.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||
part / --size 14500
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
@@ -1,148 +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>
|
||||
# Acknowledgements:
|
||||
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
|
||||
# many thanks, especially to Christoph Wickert!
|
||||
# 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
|
||||
-PackageKit* # we switched to dnfdragora, 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
|
||||
-proxychains
|
||||
-pyrit
|
||||
-raddump
|
||||
-rkhunter
|
||||
-safecopy
|
||||
-samdump2
|
||||
-scalpel
|
||||
-sslstrip
|
||||
-tcpreen
|
||||
-tcpreplay
|
||||
-tripwire
|
||||
-wipe
|
||||
-zmap
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# xfce configuration
|
||||
|
||||
# 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,48 +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>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-soas-common.ks
|
||||
|
||||
%post
|
||||
|
||||
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
|
||||
@@ -1,96 +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-common.ks
|
||||
#
|
||||
# Disable this for now as packagekit is causing compose failures
|
||||
# by leaving a gpg-agent around holding /dev/null open.
|
||||
#
|
||||
#include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
part / --size 6656
|
||||
|
||||
%post
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
# disable gnome-software automatically downloading updates
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
|
||||
# don't autostart gnome-software session service
|
||||
rm -f /etc/xdg/autostart/gnome-software-service.desktop
|
||||
|
||||
# disable the gnome-software shell search provider
|
||||
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
|
||||
DefaultDisabled=true
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
||||
# suppress anaconda spokes redundant with gnome-initial-setup
|
||||
cat >> /etc/sysconfig/anaconda << FOE
|
||||
[NetworkSpoke]
|
||||
visited=1
|
||||
|
||||
[PasswordSpoke]
|
||||
visited=1
|
||||
|
||||
[UserSpoke]
|
||||
visited=1
|
||||
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', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.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
|
||||
|
||||
# Copy Anaconda branding in place
|
||||
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||
cp -a /usr/share/lorax/product/* /
|
||||
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,76 +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>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-xfce-common.ks
|
||||
|
||||
%post
|
||||
# xfce configuration
|
||||
|
||||
# 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=firefox
|
||||
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
|
||||
|
||||
# no updater applet in live environment
|
||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.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
|
||||
|
||||
68
fedora-livecd-broffice.org.ks
Normal file
68
fedora-livecd-broffice.org.ks
Normal file
@@ -0,0 +1,68 @@
|
||||
# fedora-livecd-broffice.ks
|
||||
#
|
||||
# Description:
|
||||
# - Provides the legal brand "BrOffice.org" for OpenOffice.org in Brazil
|
||||
#
|
||||
# Maintainer:
|
||||
# - Igor Pires Soares <igor at fedoraproject.org>
|
||||
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_BR.UTF-8
|
||||
keyboard br-abnt2
|
||||
timezone America/Sao_Paulo
|
||||
|
||||
|
||||
%packages --instLangs en_US:pt_BR
|
||||
|
||||
# L10n packages
|
||||
@brazilian-support
|
||||
hunspell-pt
|
||||
|
||||
# To avoid double functionality we will drop abiword and gnumeric and include BrOffice.org
|
||||
-abiword
|
||||
-gnumeric
|
||||
-planner
|
||||
broffice.org-*
|
||||
|
||||
# Include some desktop packages
|
||||
@java
|
||||
totem-xine
|
||||
vino
|
||||
gnome-games
|
||||
system-config-display
|
||||
brasero
|
||||
bitstream-vera-*
|
||||
|
||||
# We won't use these Asian fonts
|
||||
-lklug-fonts
|
||||
-abyssinica-fonts
|
||||
-jomolhari-fonts
|
||||
-lohit-*
|
||||
-kacst-fonts
|
||||
-paktype-fonts
|
||||
-baekmuk-*
|
||||
-vlgothic-fonts-*
|
||||
-padauk-fonts
|
||||
-un-*
|
||||
-samyak-fonts-*
|
||||
-sarai-fonts
|
||||
-stix-fonts
|
||||
-cjkuni-*
|
||||
-hanazono-fonts
|
||||
-thai-*
|
||||
-smc-meera-fonts
|
||||
|
||||
# remove input methods
|
||||
-@input-methods
|
||||
-m17n*
|
||||
-scim*
|
||||
-iok
|
||||
-anthy
|
||||
-kasumi
|
||||
-libchewing
|
||||
-ibus-*
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# fedora-live-workstation-de_CH.ks
|
||||
# fedora-livecd-desktop-de_CH.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
@@ -11,7 +11,7 @@ timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
-gnome-blog
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -1,9 +1,9 @@
|
||||
# fedora-live-workstation-de_DE.ks
|
||||
# fedora-livecd-desktop-de_DE.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
@@ -11,7 +11,7 @@ timezone Europe/Berlin
|
||||
|
||||
%packages
|
||||
-gnome-blog
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
16
fedora-livecd-desktop-en_US.ks
Normal file
16
fedora-livecd-desktop-en_US.ks
Normal file
@@ -0,0 +1,16 @@
|
||||
# fedora-livecd-desktop-en_US.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - UNKNOWN
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
|
||||
%packages
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
%end
|
||||
@@ -1,16 +1,16 @@
|
||||
# fedora-live-workstation-nl_NL.ks
|
||||
# fedora-livecd-desktop-nl_NL.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang nl_NL.UTF-8
|
||||
keyboard us
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
langpacks-nl
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -1,16 +1,16 @@
|
||||
# fedora-live-workstation-pt_BR.ks
|
||||
# fedora-livecd-desktop-pt_BR.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Igor Pires Soares <igor at projetofedora.org>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_BR.UTF-8
|
||||
keyboard br-abnt2
|
||||
timezone America/Sao_Paulo
|
||||
|
||||
%packages
|
||||
langpacks-pt_BR
|
||||
@brazilian-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -1,16 +1,16 @@
|
||||
# fedora-live-workstation-pt_PT.ks
|
||||
# fedora-livecd-desktop-pt_PT.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
langpacks-pt
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
70
fedora-livecd-desktop.ks
Normal file
70
fedora-livecd-desktop.ks
Normal file
@@ -0,0 +1,70 @@
|
||||
# Maintained by the Fedora Desktop SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
||||
# mailto:fedora-desktop-list@redhat.com
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
@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
|
||||
|
||||
# avoid weird case where we pull in more festival stuff than we need
|
||||
festival
|
||||
festvox-slt-arctic-hts
|
||||
|
||||
# dictionaries are big
|
||||
-aspell-*
|
||||
-hunspell-*
|
||||
-man-pages-*
|
||||
-words
|
||||
|
||||
# save some space
|
||||
-gnome-user-docs
|
||||
-gimp-help
|
||||
-gimp-help-browser
|
||||
-evolution-help
|
||||
-gnome-games
|
||||
-gnome-games-help
|
||||
totem-gstreamer
|
||||
-totem-xine
|
||||
-nss_db
|
||||
-vino
|
||||
-isdn4k-utils
|
||||
-dasher
|
||||
-evince-dvi
|
||||
-evince-djvu
|
||||
# not needed for gnome
|
||||
-acpid
|
||||
|
||||
# these pull in excessive dependencies
|
||||
-ekiga
|
||||
-tomboy
|
||||
-f-spot
|
||||
%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
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
106
fedora-livecd-education.ks
Normal file
106
fedora-livecd-education.ks
Normal file
@@ -0,0 +1,106 @@
|
||||
# fedora-livecd-education.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin including mainly software for educational purposes
|
||||
#
|
||||
# Maintainers:
|
||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# - Fedora Education SIG
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
# please don't forget to adjust the instLangs argument
|
||||
# if you are going to create a localized spin
|
||||
%packages --excludedocs --instLangs en_US
|
||||
|
||||
# desktop environments
|
||||
@sugar-desktop
|
||||
@xfce-desktop
|
||||
|
||||
# education
|
||||
avogadro
|
||||
kdeedu
|
||||
|
||||
# internet
|
||||
alpine
|
||||
empathy
|
||||
firefox
|
||||
|
||||
# office
|
||||
abiword
|
||||
gnumeric
|
||||
evince
|
||||
|
||||
# graphics
|
||||
blender
|
||||
inkscape
|
||||
gimp
|
||||
mirage
|
||||
|
||||
# audio & video
|
||||
totem
|
||||
totem-gstreamer
|
||||
totem-mozplugin
|
||||
-totem-xine
|
||||
-xine-lib
|
||||
|
||||
# others
|
||||
geany
|
||||
gnash-plugin
|
||||
|
||||
# system
|
||||
alsa-plugins-pulseaudio
|
||||
desktop-backgrounds-compat
|
||||
gnome-power-manager
|
||||
liveusb-creator
|
||||
NetworkManager-gnome
|
||||
pavucontrol
|
||||
setroubleshoot
|
||||
xdg-user-dirs
|
||||
|
||||
# remove imsettings-xfce for now until it gets re-written
|
||||
-imsettings-xfce
|
||||
|
||||
# dictionaries are big
|
||||
-aspell-*
|
||||
-hunspell-*
|
||||
-man-pages-*
|
||||
-words
|
||||
|
||||
# exclude input methods
|
||||
-scim*
|
||||
-m17n*
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-nss_db
|
||||
-sendmail
|
||||
ssmtp
|
||||
-acpid
|
||||
-isdn4k-utils
|
||||
-gimp-help
|
||||
-gimp-help-browser
|
||||
|
||||
%post
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startxfce4
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
chown -R liveuser:liveuser /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
|
||||
|
||||
%end
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
timezone Europe/Berlin
|
||||
|
||||
%packages
|
||||
langpacks-de
|
||||
@german-support
|
||||
|
||||
# don't install unnecessary input methods
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-kde.ks
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
langpacks-nl
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
langpacks-pt
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
138
fedora-livecd-kde.ks
Normal file
138
fedora-livecd-kde.ks
Normal file
@@ -0,0 +1,138 @@
|
||||
# fedora-livecd-kde.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the K Desktop Environment (KDE)
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||
# - Fedora KDE SIG
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
|
||||
### The KDE-Desktop
|
||||
|
||||
@kde-desktop
|
||||
|
||||
# unwanted packages from @kde-desktop
|
||||
# don't include these for now to fit on a cd
|
||||
-amarok # amarok has duplicate functionality with juk (~13 megs)
|
||||
-digikam # digikam has duplicate functionality with gwenview (~11 megs)
|
||||
-kdeedu* # kdeedu is too big for the live images, but include kdeedu-kstars
|
||||
-scribus # scribus is too big for the live images
|
||||
-ktorrent # kget has also basic torrent features (~3 megs)
|
||||
-kftpgrabber* # konqueror is also able to browse ftp shares (~1 megs)
|
||||
-kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
||||
#-kdegames # the removal of kdegames will free ~35 megs
|
||||
-kdeartwork-screensavers # screensavers are not needed on live images
|
||||
-kipi-plugins # ~8 megs
|
||||
#-konq-plugins # ~2 megs
|
||||
#-kdeplasma-addons # ~5 megs
|
||||
|
||||
# Additional packages that are not default in kde-desktop but useful
|
||||
koffice-kword
|
||||
koffice-kspread # ~1 megs
|
||||
koffice-kpresenter # ~3 megs
|
||||
koffice-filters
|
||||
kdeartwork # only include some parts of kdeartwork
|
||||
k3b
|
||||
filelight # ~400kb
|
||||
#twinkle # (~10 megs)
|
||||
fuse
|
||||
liveusb-creator
|
||||
#pavucontrol # nice to have but pulls in gstreamer (~3 megs)
|
||||
|
||||
|
||||
### fixes and space issues
|
||||
|
||||
# make kpackagekit the default on the kde live images
|
||||
kpackagekit
|
||||
-gnome-packagekit
|
||||
|
||||
# use system-config-printer-kde instead of system-config-printer
|
||||
-system-config-printer
|
||||
system-config-printer-kde
|
||||
|
||||
# make sure alsaunmute is there
|
||||
alsa-utils
|
||||
|
||||
# remove input methods to free space
|
||||
-scim*
|
||||
-m17n*
|
||||
-ibus*
|
||||
|
||||
# save some space (from @base)
|
||||
-make
|
||||
-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 desktop 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
|
||||
|
||||
# Disable nepomuk
|
||||
cat > /home/liveuser/.kde/share/config/nepomukserverrc << NEPOMUK_EOF
|
||||
[Basic Settings]
|
||||
Start Nepomuk=false
|
||||
|
||||
[Service-nepomukstrigiservice]
|
||||
autostart=false
|
||||
NEPOMUK_EOF
|
||||
|
||||
# make sure to set the right permissions
|
||||
chown -R liveuser:liveuser /home/liveuser/.kde/
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-live-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-live-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
langpacks-nl
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-live-xfce.ks
|
||||
%include fedora-livecd-xfce.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
langpacks-pt
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
177
fedora-livecd-xfce.ks
Normal file
177
fedora-livecd-xfce.ks
Normal file
@@ -0,0 +1,177 @@
|
||||
# fedora-livecd-xfce.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Live Spin with the light-weight XFCE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Rahul Sundaram <sundaram@fedoraproject.org>
|
||||
# - Christoph Wickert <chris@christoph-wickert.de>
|
||||
# - Kevin Fenzi <kevin@tummy.com>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
|
||||
%packages
|
||||
|
||||
firefox
|
||||
NetworkManager-vpnc
|
||||
NetworkManager-openvpn
|
||||
NetworkManager-gnome
|
||||
NetworkManager-pptp
|
||||
|
||||
cheese
|
||||
|
||||
# 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
|
||||
liferea
|
||||
quodlibet
|
||||
gftp
|
||||
ristretto
|
||||
asunder
|
||||
tracker-search-tool
|
||||
|
||||
xfce4-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
|
||||
gigolo
|
||||
xarchiver
|
||||
xfce4-battery-plugin
|
||||
xfce4-clipman-plugin
|
||||
xfce4-cpugraph-plugin
|
||||
xfce4-datetime-plugin
|
||||
xfce4-dict-plugin
|
||||
xfce4-diskperf-plugin
|
||||
xfce4-genmon-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
|
||||
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-*
|
||||
|
||||
# more fun with space saving
|
||||
-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
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startxfce4
|
||||
EOF
|
||||
|
||||
mkdir -p /home/liveuser/.config/xfce4
|
||||
|
||||
cat > /home/liveuser/.config/xfce4/helpers.rc <<EOF
|
||||
MailReader=sylpheed-claws
|
||||
EOF
|
||||
|
||||
mkdir -p /root/.config/xfce4
|
||||
|
||||
cat > /root/.config/xfce4/helpers.rc <<EOF
|
||||
MailReader=sylpheed-claws
|
||||
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
|
||||
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
|
||||
|
||||
%end
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
langpacks-nl
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
langpacks-pt
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
134
fedora-livedvd-electronic-lab.ks
Normal file
134
fedora-livedvd-electronic-lab.ks
Normal file
@@ -0,0 +1,134 @@
|
||||
# Description : Live DVD image for Fedora Electronic Lab
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Chitlesh Goorah <chitlesh a fedoraproject.org>
|
||||
# - Thibault North <tnorth a fedoraproject.org>
|
||||
|
||||
%include fedora-livecd-kde.ks
|
||||
|
||||
# DVD payload
|
||||
part / --size=8192
|
||||
|
||||
%packages
|
||||
|
||||
@electronic-lab
|
||||
|
||||
|
||||
# Embedded design
|
||||
eclipse-cdt
|
||||
eclipse-cdt-sdk
|
||||
eclipse-egit
|
||||
eclipse-epic
|
||||
eclipse-rcp
|
||||
eclipse-subclipse
|
||||
doxygen
|
||||
splint
|
||||
|
||||
# KDE basic packages
|
||||
kdesvn
|
||||
kdesdk
|
||||
yakuake
|
||||
kdebluetooth
|
||||
|
||||
|
||||
# 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
|
||||
openoffice.org-writer
|
||||
openoffice.org-math
|
||||
openoffice.org-writer2latex
|
||||
openoffice.org-calc
|
||||
openoffice.org-impress
|
||||
openoffice.org-extendedPDF
|
||||
openoffice.org-ooolatex
|
||||
kile
|
||||
tetex-IEEEtran
|
||||
planner
|
||||
graphviz
|
||||
|
||||
|
||||
# some other extra packages
|
||||
firefox
|
||||
make
|
||||
wget
|
||||
tkcvs
|
||||
|
||||
|
||||
# debugging tools
|
||||
gdb
|
||||
valgrind
|
||||
kdbg
|
||||
wireshark-gnome
|
||||
qemu
|
||||
|
||||
|
||||
# EDA/CAD department
|
||||
db4-cxx
|
||||
db4-tcl
|
||||
perl-Test-Pod
|
||||
perl-Test-Pod-Coverage
|
||||
|
||||
|
||||
# Extra support for compiling SystemC (not fedora compatible)
|
||||
compat-gcc-34-c++
|
||||
|
||||
|
||||
%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,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab a fedoraproject.org>
|
||||
|
||||
%include ../fedora-livedvd-games.ks
|
||||
%include fedora-livedvd-games.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1
|
||||
timezone Europe/Zurich
|
||||
|
||||
%packages
|
||||
langpacks-de
|
||||
@german-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livedvd-games.ks
|
||||
%include fedora-livedvd-games.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
timezone Europe/Amsterdam
|
||||
|
||||
%packages
|
||||
langpacks-nl
|
||||
@dutch-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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
|
||||
timezone Europe/Lisbon
|
||||
|
||||
%packages
|
||||
langpacks-pt
|
||||
@portuguese-support
|
||||
# exclude input methods
|
||||
-m17n*
|
||||
-scim*
|
||||
182
fedora-livedvd-games.ks
Normal file
182
fedora-livedvd-games.ks
Normal file
@@ -0,0 +1,182 @@
|
||||
# fedora-livedvd-games.ks
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Bruno Wolff III <bruno@wolff.to>
|
||||
# - Formerly maintained by Rahul Sundaram
|
||||
|
||||
%include fedora-livecd-desktop.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the games spin
|
||||
part / --size 10240
|
||||
|
||||
%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
|
||||
|
||||
# games
|
||||
|
||||
# traditional (big)
|
||||
|
||||
abuse
|
||||
alienarena
|
||||
armacycles-ad
|
||||
asc
|
||||
asc-music
|
||||
astromenace
|
||||
beneath-a-steel-sky-cd
|
||||
blobAndConquer
|
||||
boswars
|
||||
bzflag
|
||||
crossfire-client
|
||||
egoboo
|
||||
extremetuxracer
|
||||
FlightGear
|
||||
flight-of-the-amazon-queen-cd
|
||||
freeciv
|
||||
freecol
|
||||
freedoom
|
||||
freedroidrpg
|
||||
frozen-bubble
|
||||
gl-117
|
||||
glest
|
||||
glob2
|
||||
lincity-ng
|
||||
manaworld
|
||||
maniadrive
|
||||
maniadrive-music
|
||||
nethack-vultures
|
||||
netpanzer
|
||||
neverball
|
||||
nogravity
|
||||
# openarena (cut because of size, may be restored later if larger iso's allowed)
|
||||
pinball
|
||||
scorched3d
|
||||
supertux
|
||||
supertuxkart
|
||||
torcs
|
||||
tremulous
|
||||
ultimatestunts
|
||||
warzone2100
|
||||
wesnoth
|
||||
widelands
|
||||
worminator
|
||||
wormux
|
||||
xmoto
|
||||
|
||||
# traditional (small)
|
||||
|
||||
abe
|
||||
alex4
|
||||
ballz
|
||||
blobwars
|
||||
bombardier
|
||||
cdogs-sdl
|
||||
clanbomber
|
||||
foobillard
|
||||
glaxium
|
||||
gnubg
|
||||
gnugo
|
||||
hedgewars
|
||||
lbrickbuster2
|
||||
liquidwar
|
||||
londonlaw
|
||||
lure
|
||||
machineball
|
||||
nazghul-haxima
|
||||
nethack
|
||||
openlierox
|
||||
pachi
|
||||
pioneers
|
||||
quarry
|
||||
Ri-li
|
||||
rogue
|
||||
scorchwentbonkers
|
||||
seahorse-adventures
|
||||
solarwolf
|
||||
sopwith
|
||||
stormbaancoureur
|
||||
ularn
|
||||
xblast
|
||||
|
||||
# arcade classics(ish) (big)
|
||||
|
||||
auriferous
|
||||
alienblaster
|
||||
duel3
|
||||
lmarbles
|
||||
powermanga
|
||||
raidem
|
||||
raidem-music
|
||||
trackballs
|
||||
trackballs-music
|
||||
|
||||
# arcade classics(ish) (small)
|
||||
|
||||
ballbuster
|
||||
CriticalMass
|
||||
dd2
|
||||
KoboDeluxe
|
||||
lacewing
|
||||
Maelstrom
|
||||
methane
|
||||
njam
|
||||
seahorse-adventures
|
||||
shippy
|
||||
tecnoballz
|
||||
wordwarvi
|
||||
xgalaxy
|
||||
zasx
|
||||
|
||||
# falling blocks games (small)
|
||||
|
||||
amoebax
|
||||
crack-attack
|
||||
crystal-stacker
|
||||
fbg
|
||||
gemdropx
|
||||
gweled
|
||||
|
||||
# puzzles (big)
|
||||
enigma
|
||||
fillets-ng
|
||||
pingus
|
||||
|
||||
# puzzles (small)
|
||||
|
||||
escape
|
||||
magicor
|
||||
mirrormagic
|
||||
pipenightdreams
|
||||
pipepanic
|
||||
pychess
|
||||
rocksndiamonds
|
||||
vodovod
|
||||
|
||||
# card games
|
||||
|
||||
poker2d
|
||||
PySolFC
|
||||
|
||||
# educational/simulation
|
||||
|
||||
bygfoot
|
||||
celestia
|
||||
childsplay
|
||||
gcompris
|
||||
planets
|
||||
stellarium
|
||||
tuxpaint
|
||||
tuxpaint-stamps
|
||||
tuxtype2
|
||||
|
||||
# kde based games
|
||||
taxipilot
|
||||
|
||||
# utilities
|
||||
|
||||
games-menus
|
||||
|
||||
%end
|
||||
@@ -1,63 +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
|
||||
-PackageKit* # we switched to dnfdragora, 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,57 +0,0 @@
|
||||
# fedora-lxqt-common.ks
|
||||
#
|
||||
# Description:
|
||||
# – Fedora Live Spin with the LXQt desktop environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# – Christian Dersch <lupinix@fedoraproject.org>
|
||||
# – Zamir SUN <zsun@fedoraproject.org>
|
||||
#
|
||||
|
||||
%packages
|
||||
@lxqt
|
||||
@lxqt-apps
|
||||
@lxqt-media
|
||||
@networkmanager-submodules
|
||||
|
||||
# for nm applet
|
||||
gnome-keyring
|
||||
|
||||
|
||||
# l10n
|
||||
@lxqt-l10n
|
||||
lximage-qt-l10n
|
||||
obconf-qt-l10n
|
||||
pavucontrol-qt-l10n
|
||||
|
||||
# MP3
|
||||
gstreamer1-plugin-mpg123
|
||||
|
||||
# Text Editor
|
||||
enki
|
||||
|
||||
# remove unneeded stuff to get a lightweight system
|
||||
# fonts (we make no bones about admitting we're english-only)
|
||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
-naver-nanum-gothic-fonts # Korean
|
||||
-vlgothic-fonts # Japanese
|
||||
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
||||
-adobe-source-han-sans-tw-fonts # traditional Chinese
|
||||
|
||||
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
||||
#-stix-fonts # mathematical symbols
|
||||
|
||||
# remove input methods to free space
|
||||
-@input-methods
|
||||
-scim*
|
||||
-m17n*
|
||||
# Temporary include ibus to workaround RHBZ 1633225
|
||||
# -ibus*
|
||||
-iok
|
||||
|
||||
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132
|
||||
# Why is this not pulled in by anaconda???
|
||||
storaged
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
%packages
|
||||
@mate
|
||||
compiz
|
||||
compiz-plugins-main
|
||||
compiz-plugins-extra
|
||||
compiz-manager
|
||||
compizconfig-python
|
||||
compiz-plugins-experimental
|
||||
libcompizconfig
|
||||
compiz-plugins-main
|
||||
ccsm
|
||||
simple-ccsm
|
||||
emerald-themes
|
||||
emerald
|
||||
fusion-icon
|
||||
@networkmanager-submodules
|
||||
|
||||
# some apps from mate-applications
|
||||
caja-actions
|
||||
mate-disk-usage-analyzer
|
||||
|
||||
# blacklist applications which breaks mate-desktop
|
||||
-audacious
|
||||
|
||||
# office
|
||||
@libreoffice
|
||||
|
||||
# dsl tools
|
||||
rp-pppoe
|
||||
|
||||
# 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
|
||||
|
||||
# Drop things for size
|
||||
-@3d-printing
|
||||
-brasero
|
||||
-fedora-icon-theme
|
||||
-gnome-icon-theme
|
||||
-gnome-icon-theme-symbolic
|
||||
-gnome-software
|
||||
-gnome-user-docs
|
||||
|
||||
-@mate-applications
|
||||
-mate-icon-theme-faenza
|
||||
|
||||
# Help and art can be big, too
|
||||
-gnome-user-docs
|
||||
-evolution-help
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-telnet
|
||||
|
||||
%end
|
||||
@@ -1,23 +0,0 @@
|
||||
%packages
|
||||
-@standard
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
-glibc-all-langpacks
|
||||
# recommended by iproute, we don't want it in minimal
|
||||
-iproute-tc
|
||||
# recommended by gnutls, we don't want it in minimal
|
||||
-trousers
|
||||
glibc-langpack-en
|
||||
iw
|
||||
NetworkManager-wifi
|
||||
%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 .
|
||||
|
||||
%end
|
||||
@@ -1,27 +0,0 @@
|
||||
%include fedora-arm-base.ks
|
||||
|
||||
# server defaults to xfs for / so lets do so on arm also
|
||||
part / --size=2500 --fstype xfs
|
||||
|
||||
%packages
|
||||
# install the default groups for the server evironment since installing the environment is not working
|
||||
@server-product
|
||||
@standard
|
||||
@headless-management
|
||||
@container-management
|
||||
@domain-client
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
fedora-modular-release
|
||||
%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 .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
text
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone US/Eastern
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
# Disabled for modular compose (for now)
|
||||
#firewall --enabled --service=mdns
|
||||
# Disabled for modular compose (for now)
|
||||
#services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
rootpw --lock --iscrypted locked
|
||||
shutdown
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=msdos
|
||||
autopart --type=plain
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
%packages --excludedocs --excludeWeakdeps --nocore
|
||||
bash
|
||||
fedora-modular-release
|
||||
filesystem
|
||||
coreutils-single
|
||||
util-linux
|
||||
rpm
|
||||
shadow-utils
|
||||
microdnf
|
||||
glibc-minimal-langpack
|
||||
grubby
|
||||
kernel
|
||||
libcrypt
|
||||
sssd-client
|
||||
dhcp-client
|
||||
-fedora-logos
|
||||
-coreutils
|
||||
-dosfstools
|
||||
-e2fsprogs
|
||||
-fuse-libs
|
||||
-gnupg2-smime
|
||||
-libss # used by e2fsprogs
|
||||
-libusbx
|
||||
-pinentry
|
||||
-shared-mime-info
|
||||
-trousers
|
||||
-xkeyboard-config
|
||||
-dracut
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
echo "Packages within this disk image"
|
||||
rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
@@ -1,26 +0,0 @@
|
||||
# Maintained by the Fedora Python SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Python
|
||||
# mailto:python-devel@lists.fedoraproject.org
|
||||
|
||||
# Common packages of all Python Classroom images
|
||||
|
||||
%packages
|
||||
@python-classroom
|
||||
@python-science
|
||||
nano
|
||||
openssh-clients
|
||||
vim-enhanced
|
||||
wget
|
||||
|
||||
# Remove Pythons possibly recommended by tox
|
||||
-python2
|
||||
-python26
|
||||
-python27
|
||||
-python33
|
||||
-python34
|
||||
-python35
|
||||
-python36
|
||||
-python38
|
||||
-pypy
|
||||
|
||||
%end
|
||||
@@ -1,102 +0,0 @@
|
||||
# Maintained by the Fedora Python SIG:
|
||||
# http://fedoraproject.org/wiki/SIGs/Python
|
||||
# mailto:python-devel@lists.fedoraproject.org
|
||||
|
||||
# GNOME part of Python Classroom images
|
||||
|
||||
%include fedora-python-classroom-common.ks
|
||||
|
||||
%packages
|
||||
emacs
|
||||
python3-matplotlib-tk
|
||||
python3-pillow-tk
|
||||
|
||||
# Remove extra gnome-y things
|
||||
-@graphical-internet
|
||||
-@games
|
||||
-@sound-and-video
|
||||
-@multimedia
|
||||
-dleyna*
|
||||
-gnome-boxes
|
||||
-gnome-calendar
|
||||
-gnome-clocks
|
||||
-gnome-contacts
|
||||
-gnome-disk-utility
|
||||
-gnome-documents
|
||||
-gnome-font-viewer
|
||||
-gnome-maps
|
||||
-gnome-photos
|
||||
-gnome-weather
|
||||
-grilo-plugins
|
||||
-cheese
|
||||
-totem
|
||||
-totem-nautilus
|
||||
|
||||
# This is no longer workstation
|
||||
-@workstation-product
|
||||
|
||||
# Add a web browser
|
||||
@firefox
|
||||
|
||||
# Remove office suite
|
||||
-@libreoffice
|
||||
-libreoffice-*
|
||||
-planner
|
||||
|
||||
# Drop the Java plugin and Java
|
||||
-icedtea-web
|
||||
-java*
|
||||
|
||||
# No printing
|
||||
-@printing
|
||||
-foomatic-db-ppds
|
||||
-foomatic
|
||||
|
||||
# Dictionaries are big
|
||||
-aspell-*
|
||||
-words
|
||||
|
||||
# Help and art can be big, too
|
||||
-gnome-user-docs
|
||||
-gnome-getting-started-docs
|
||||
-desktop-backgrounds-basic
|
||||
-*backgrounds-extras
|
||||
|
||||
# Legacy cmdline things we don't want
|
||||
-krb5-auth-dialog
|
||||
-krb5-workstation
|
||||
-pam_krb5
|
||||
-quota
|
||||
-dos2unix
|
||||
-finger
|
||||
-ftp
|
||||
-jwhois
|
||||
-mtr
|
||||
-pinfo
|
||||
-rsh
|
||||
-nfs-utils
|
||||
-ypbind
|
||||
-yp-tools
|
||||
-rpcbind
|
||||
-acpid
|
||||
-ntsysv
|
||||
|
||||
# Don't need this
|
||||
-linux-atm
|
||||
|
||||
# Drop some system-config things
|
||||
-system-config-language
|
||||
-system-config-network
|
||||
-system-config-rootpassword
|
||||
-system-config-services
|
||||
-policycoreutils-gui
|
||||
|
||||
%end
|
||||
|
||||
|
||||
%post
|
||||
|
||||
#Override the favorite desktop application in Dash
|
||||
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys
|
||||
|
||||
%end
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user