Compare commits

...

198 Commits

Author SHA1 Message Date
Matthew Miller
44dd601bc4 put experimental cloud spin back to same as base cloud spin exept for i18n/docs 2014-07-11 11:54:19 -04:00
Matthew Miller
b5c6a9265b fedora-release-cloud in cloud images 2014-07-11 11:01:56 -04:00
Miloslav Trmač
65190cd71f Server: Drop some langpack packages that don’t have a major server use 2014-07-10 20:32:08 +02:00
Miloslav Trmač
4e610f4fae Server: Add more “uservisible” groups 2014-07-10 20:29:54 +02:00
Miloslav Trmač
ec2dce353f Server: Add more infrastructure-server groups 2014-07-10 20:29:31 +02:00
Miloslav Trmač
f2e4d2629e Server: Don’t ship any desktop 2014-07-10 20:29:04 +02:00
Jens Petersen
ba1430e757 exclude -imsetting* otherwise qt pulls in imsettings-qt causing trouble
see https://bugzilla.redhat.com/show_bug.cgi?id=1116291
2014-07-09 15:07:58 +09:00
Matthew Miller
398ba1441b use hd0,0 in the grub.conf since we're switching to full-disk images instead of single partition 2014-07-08 14:50:29 -04:00
Stephen Gallagher
dbeebcaca1 Add container-management and headless-management to Fedora Server
Also replace usages of @jbossas with @javaenterprise as it has been
renamed in comps.xml
2014-07-08 14:30:31 -04:00
Miloslav Trmač
d81d7e30c5 Server: Add provisional openlmi entry 2014-07-08 19:40:13 +02:00
Miloslav Trmač
c2c9381978 Server: Drop explicit bind-* references, these packages are in comps 2014-07-08 19:40:00 +02:00
Miloslav Trmač
6b5a6951c8 Server: Exclude some of the large desktops 2014-07-08 19:39:40 +02:00
Miloslav Trmač
1eaff68343 Server: Allow wildfly dependencies.
The disabling of java-1.8.0-openjdk seems like an artifact of the
1.7/1.8 duality and no longer applies.

Also allow other wildfly dependencies: jruby, and generic-jms-ra.
2014-07-08 15:05:17 +02:00
Miloslav Trmač
a505605420 Server: Add packages that we ultimately want in comps 2014-07-08 14:50:06 +02:00
Miloslav Trmač
7f9d8fbe7a Server: Add groups required for the server environments in comps 2014-07-08 12:17:24 +02:00
Miloslav Trmač
ae95c23f2f Server: Drop GUI/workstation-focused groups 2014-07-07 22:00:17 +02:00
Matthew Miller
e60fa6ff31 name of net-renaming systemd file changed; changed to match
put network back to "unpredicatable" so that predictable eth0 is the default
on all images regardless of virtualized hardware
2014-07-07 11:36:15 -04:00
Adam Williamson
7426bd8c0f add networkmanager-submodules package group to appropriate package lists 2014-06-27 09:09:51 -07:00
Matthew Miller
0edba30722 experimental cloud image -- go back to cloud-init, since no one is currently working on developing min-cloud-agent 2014-06-27 01:21:57 -04:00
Kevin Fenzi
84abe1643c java-1.7.0-openjdk is retired now. 2014-06-25 16:17:51 -06:00
Bruno Wolff III
4c741afb8e Games: Put back openlierox now that it builds again 2014-06-24 07:05:08 -05:00
Bruno Wolff III
01183e9516 Games: Add gbrainy based on recommendation 2014-06-24 06:47:32 -05:00
Bruno Wolff III
f18156010c Remove removal references to packages that no longer exist 2014-06-24 06:43:31 -05:00
Dennis Gilmore
426bd4e1e7 x should now just start so lets remove the xorg snippet 2014-06-20 08:51:14 -05:00
Matthew Miller
841a2908f4 Revert "Revert "use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5""
Yesterday was not a good day for doing things without double-checking. I
reverted this on the wrong branch. It *should* be here on this one. So, I'm
re-reverting. Awesome.

This reverts commit c90a8409a4.
2014-06-19 08:29:32 -04:00
Matthew Miller
c90a8409a4 Revert "use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5"
Dennis says to not to. :)

This reverts commit 604f71d449.
2014-06-18 11:16:17 -04:00
Matthew Miller
604f71d449 use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5 2014-06-18 10:55:41 -04:00
Matthew Miller
48da3aacb7 use --extlinux instead of extlinux 2014-06-18 09:22:34 -04:00
Matthew Miller
dba6e97afe use persistent journal in experimental cloud image 2014-06-18 09:06:37 -04:00
Matthew Miller
88e267d5b7 install only US english to keep size down (experimental cloud image only) 2014-06-17 09:20:07 -04:00
Matthew Miller
596e4a84f7 excludedocs (in the "experimental" cloud image only for now) 2014-06-17 09:17:23 -04:00
Matthew Miller
6d305f2685 don't need grub2 package in cloud images (as we are using extlinux) 2014-06-17 08:58:26 -04:00
Fabian Affolter
a641c933b9 exclude openvas-client 2014-06-13 15:59:22 +02:00
Matthew Miller
c42bafdd9b use cmdline instead of text for experimental cloud kickstart 2014-06-13 08:54:46 -04:00
Dennis Gilmore
2b7bfc67a5 make sure authoconfig is installed so anaconda does not puke 2014-06-12 17:37:18 -05:00
Fabian Affolter
b9f6e8b3e1 update exl. pkg list 2014-06-05 14:39:06 +02:00
Kalev Lember
f844fe2791 Disable gnome-software automatic updates downloading
The gnome-settings-daemon updates plugin is gone and update downloading
is handled by gnome-software instead. Adapt the live image schema
overrides for the changes.
2014-06-03 13:25:11 +02:00
Kalev Lember
c42ccad987 workstation: Add back the HighContrast cache removal
It was lost in the desktop -> workstation conversion.
2014-06-03 13:18:14 +02:00
Matthew Miller
e8e1e59fb0 don't include and remove firewalld -- anaconda can now handle that 2014-06-02 14:51:48 -04:00
Matthew Miller
26cce5f5dc experimental cloud spin: use min-cloud-agent instead of cloud-init 2014-06-02 14:48:31 -04:00
Matthew Miller
a272436f45 the future Fedora Atomic, although this is currently just regular. it will diverge soon 2014-06-02 12:04:23 -04:00
Matthew Miller
6cc4bb9b19 add cloud big data kickstart (currently same as the base) 2014-06-02 11:48:17 -04:00
Matthew Miller
f8d6e01d07 experimental cloud kickstart, initially based on cloud-base 2014-06-02 11:21:24 -04:00
Dennis Gilmore
e8bbd2f00b CLOUD: fix up the kickstart to make the world happy 2014-05-30 08:30:17 -05:00
Dennis Gilmore
d4b5366a57 Revert "try using cmdline instead of text for cloud installs"
This reverts commit 1f37a24e7a.
2014-05-22 17:04:29 -05:00
Dennis Gilmore
e1778df1fe cloud: try using ens3 for network dev 2014-05-22 16:34:32 -05:00
Dennis Gilmore
1f37a24e7a try using cmdline instead of text for cloud installs 2014-05-22 16:22:26 -05:00
Dennis Gilmore
dd1f2890a0 try creating and deleting a user 2014-05-20 13:40:23 -05:00
Dennis Gilmore
e41164127e attempt to use teh same network name as is used in my local vm 2014-05-20 13:01:06 -05:00
Dennis Gilmore
57a518fdea install only kernel-core into the cloud image 2014-05-20 12:44:28 -05:00
Matthias Clasen
42b2c22ddc Workstation: Add scl-utils 2014-05-12 10:32:58 -04:00
Dennis Gilmore
5d35678eb9 remove --nobase from installer kickstarts 2014-05-09 23:56:19 -05:00
Dennis Gilmore
a5f3d45341 try to tell anaconda to use the device witha link 2014-05-07 17:44:14 -05:00
Dennis Gilmore
39725ad62a force text mode for installs. dont specify the network device. 2014-05-06 15:38:49 -05:00
Dennis Gilmore
8c34b5ffa9 ARM: kickstart cleanups
remove vfat kickstarts, we are going to use u-boot in raw space
without needing two sets of images with different partitioning we
can remove the seperate partitioning snippets and put the
partitioning in base.
2014-05-06 12:31:06 -05:00
Dennis Gilmore
b8472d7f87 include the workstation packages on the arm workstation image.
ensure that initial-setup and initail-setup-gui are not on the image as
gnome has its ownsetup tool
2014-05-06 12:27:01 -05:00
Josh Boyer
54415d973c Add initial Fedora Workstation live kickstarts 2014-05-06 10:08:41 -04:00
Amit Saha
cfb0130681 Scientific: Comment out sagemath 2014-05-06 23:33:46 +10:00
Dennis Gilmore
c847f5b78f cloud: set / to 3g due to anaconda requirements, remove unneeded files 2014-05-01 16:19:37 -05:00
Matthew Miller
d998406bae make dhclient keep retrying on failure. rh bug https://bugzilla.redhat.com/show_bug.cgi?id=1011013 2014-04-22 10:26:06 -04:00
Dennis Gilmore
2e8e82a93d install uboot-images-armv7 rather than the old individual u-boto images
don't install initial-setup-gui on the minimal text only image
2014-04-21 16:07:44 -05:00
Dennis Gilmore
d8f9852e47 remove @dial-up and @standard from the minimal arm image 2014-04-12 08:49:27 -05:00
Rex Dieter
09a1dd5807 kde: disable baloo for live user 2014-04-08 21:40:27 -05:00
Kevin Kofler
ccd8c30b88 fedora-live-base.ks: do not hardcode fedora-release in %post
Do not hardcode the fedora-release package name in the %post scriptlet
(in the place that imports the Fedora RPM GPG key). Instead, use
"--whatprovides system-release", which is strictly equivalent if
fedora-release is used, but also works when the *-release package is
named differently.

This makes live easier for remixes, which have to replace fedora-release
with generic-release or ${remixname}-release. They would otherwise have
to edit fedora-live-base.ks.
2014-04-07 14:04:57 +02:00
Dennis Gilmore
854d60c781 increase size of / for arm desktop image
currently the desktop image is failing to compose, this is due to needing
an additional 126MB on the / filesystem. lets give it an extra 1000MB
2014-04-04 12:40:27 -05:00
Adam Williamson
9470ce8863 update SoaS live spin version numbers 2014-04-03 10:11:20 -07:00
Matthew Miller
08f336ed40 exclude uboot-tools from cloud images (arm only; not needed) 2014-04-02 12:54:01 -04:00
Dennis Gilmore
40f4327565 do not install the lpae kernel in the images. The hardware we support that
needs the lpae kernel is best served using anaconda installs not images
2014-02-12 03:35:09 -06:00
Kevin Fenzi
85220e627b Add initial-setup-gui for arm. Fixes bug #1049545 2014-01-08 15:23:23 -07:00
Luya Tshimbalanga
ffb9dc20a5 design: add more acategories for apps-folder, removal of Inkscape tutorial in favor of design tutorials 2013-12-29 21:31:45 -08:00
Dennis Gilmore
c6112064c0 import the gpg key since live and cloud is 2013-12-12 04:15:28 -06:00
Dennis Gilmore
352a416c61 use uname -i as it gives the arch used as the basearch by yum uname -m is incorrect 2013-12-12 04:12:29 -06:00
Adam Williamson
922fff0b59 correct path when copying GPL to live root (unversioned docdirs) 2013-12-11 14:56:15 -08:00
Matthew Miller
91a9117bc4 switch order of serial and virtual console so logs output to serial console
because that's more useful in openstack. Note does not affect pvgrub
(and therefore ec2)
2013-12-10 15:58:02 -05:00
Matthew Miller
07ed9c93b2 set releasever and basearch so we can find the right RPM GPG key to import 2013-12-10 15:09:10 -05:00
Dennis Gilmore
8f0370b13f remove desktops from server 2013-12-09 19:43:42 -06:00
Dennis Gilmore
41845d3dc4 remove desktops and development from cloud installer 2013-12-09 19:41:28 -06:00
Dennis Gilmore
70e4580977 setup kickstarts for each product, copies of fedora-install-fedora.ks 2013-12-09 19:38:19 -06:00
Matthew Miller
c6f36e4c10 cloud image import fedora GPG key for RPMs, as the livecd does 2013-12-06 12:16:02 -05:00
Dan Mashal
c8ddd8dc4e MATE-Compiz: drop ConsoleKit 2013-12-04 14:27:03 -08:00
Christoph Wickert
09ac8634dd Drop mtpaint exclusion, already in comps 2013-12-04 16:02:30 +01:00
Christoph Wickert
fede4b181c LXDE: Switch from firefox to midori 2013-12-04 16:02:30 +01:00
Christoph Wickert
8c563ee734 LXDE: Drop ssmtp, we no longer have a smtpd in the default install 2013-12-04 16:02:30 +01:00
Matthew Miller
77ea37a424 selinux context fixes for cloud image 2013-12-04 09:50:21 -05:00
Luya Tshimbalanga
d3410ae947 design: add gimp-separate+ 2013-12-01 17:28:14 -08:00
Luya Tshimbalanga
a382d63c17 design: comment OEF line 2013-11-25 14:54:22 -08:00
Dennis Gilmore
74f896bdbf rhel6's ksflatten doesnt support --extlinux 2013-11-24 22:13:52 -06:00
Luya Tshimbalanga
33e214ee06 design: add tutorials shortcut in dash apps 2013-11-22 13:52:54 -08:00
Brendan Jones
51673c1ddc Jam: replace ardour with ardour3 2013-11-19 14:28:37 +01:00
Brendan Jones
c430042f08 Jam: add openAv LV2 plugins 2013-11-19 14:26:27 +01:00
Matthew Miller
24e8c12302 1000MB default /, as requested by Fedora OpenStack team 2013-11-18 12:26:05 -05:00
Matthew Miller
fe5b6843ac by popular demand, disable the iptables firewall entirely. 2013-11-18 12:15:19 -05:00
Luya Tshimbalanga
9b40e37957 design: added gimp-gap 2013-11-17 11:46:37 -08:00
Fabian Affolter
56bc67430b remove obsolete pkgs 2013-11-05 17:58:47 +01:00
Dennis Gilmore
41b3b4dea6 making cloud images is easier if we include the base 2013-11-01 16:49:46 -05:00
Dennis Gilmore
adfe66c38f We should now be able to exclude gimp-help*
Revert "This makes compsoes blow up so need to revert"

This reverts commit e853d96f22.
2013-10-31 14:33:26 -05:00
Kevin Kofler
ab82d07e4f fedora-live*-kde.ks: Completely remove references to kaffeine.
They were already commented out. Now that kaffeine is gone from Fedora,
they are not going to come back.
2013-10-27 00:30:01 +02:00
Dennis Gilmore
8bf40fdc8e add cloud image kickstarts, pulled from the cloud-kickstart repo, we have different snippets per arch because they need different kernels 2013-10-26 08:43:38 -05:00
Brendan Jones
6f76dabb74 Jam: add new lv2 plugins, aj-snapshot 2013-10-24 07:47:28 +02:00
Peter Robinson
0741647868 SoaS: add FotoToon 2013-10-23 17:35:44 +01:00
Adam Williamson
681365531c fix and simplify setting of firefox homepage in qa-test-day.ks 2013-10-22 09:16:03 -07:00
Bruno Wolff III
1bdc87189a Use git version to get version name
Using git version is simpler as it handles oddball cases internally.
Since we have been using mostly lightweight tags I have set it to
search those in addition to annotated tags for the best match. The
output for commits that don't have a tag seems a bit nicer as well.
2013-10-18 15:10:14 -05:00
Luya Tshimbalanga
9a57bcfb07 design: add tutorials list lnk 2013-10-16 20:30:04 -07:00
Luya Tshimbalanga
d275ae9403 design: add tutorials list lnk 2013-10-16 20:28:17 -07:00
Dennis Gilmore
6aa8533f0e install dracut-config-generic on arm images to get a generic initramfs
remove it in %post so updates get host only initramfs's
2013-10-16 21:59:40 -05:00
Kalev Lember
32e066e039 Adapt for changed rpm gpg key names 2013-10-17 00:17:33 +02:00
Luya Tshimbalanga
1cbf4f481f fixed icon access for tutorials 2013-10-15 23:15:07 -07:00
Dennis Gilmore
e853d96f22 This makes compsoes blow up so need to revert
Revert "Drop gimp-help, b/c it's huge. (#1000891)"

This reverts commit 1288d6007d.
2013-10-13 23:20:01 -05:00
Matthias Clasen
bb14cdd406 Desktop: drop prelink
We're still oversize, and prelink is generally unloved.
2013-10-08 12:58:31 -04:00
Matthias Clasen
ff93964670 desktop: drop gnome-boxes and gnome-dictionary
We're oversize, and we have a nice application installer
now. Having boxes no the spin causes some problems wrt
to network configuration, anyway.
2013-10-08 12:56:43 -04:00
Dennis Gilmore
2dfb8c0758 use --extlinux on arm, add dracut-generic-config as a workaround for a dracut bug 2013-10-07 22:21:50 -05:00
Rex Dieter
7492604654 kde: SDDM doesn't start (#1015048) 2013-10-03 10:05:58 -05:00
Bill Nottingham
1288d6007d Drop gimp-help, b/c it's huge. (#1000891) 2013-10-03 10:49:19 -04:00
Amit Saha
96cf7a22e5 Scientific: Increase install root size 2013-10-03 16:23:01 +10:00
Fabian Affolter
b9dc4f5f49 remove more pkgs 2013-10-01 23:32:48 +02:00
Dan Mashal
045b630a4e Security: Add space to prevent failures on compose 2013-09-24 18:28:48 -07:00
Peter Robinson
4df45db78e SoaS: add lightdm as it's not pulled in by lightdm-gtk anymore it seems 2013-09-25 01:07:43 +01:00
Luya Tshimbalanga
6d05550b86 design: fix link for tutorials 2013-09-17 11:33:47 -07:00
Luya Tshimbalanga
573d47ed00 design: add gimp-paint-studio and link for tutorials 2013-09-17 11:18:58 -07:00
Luya Tshimbalanga
61239d49f4 design: add gimp-paint-studio and link for tutorials 2013-09-17 11:12:21 -07:00
Dan Mashal
1f41edbb13 MATE: trim some more packages for size. 2013-09-15 14:06:44 -07:00
Shakthi Kannan
62a0e57497 Increase FEL DVD payload size to 10240 2013-09-15 06:59:06 +05:30
Amit Saha
e51dfb813a Scientific: Increase the part size 2013-09-12 17:27:42 +10:00
Kevin Fenzi
c6f9b71b37 Drop kbluetooth and rdesktop for now from e-lab to get things testable. 2013-09-11 09:47:33 -06:00
Amit Saha
217620ac55 Scientific: Add back sagemath.
Fix: https://bugzilla.redhat.com/show_bug.cgi?id=1006230
2013-09-11 11:40:54 +10:00
Luya Tshimbalanga
987c05cc5e design: temporarily remove rdesktop 2013-09-10 16:04:33 -07:00
Amit Saha
8f0b1a1f68 Scientific: including sage fails depcheck for no clear reason 2013-09-10 13:00:57 +10:00
Amit Saha
d26fba8808 Scientific: Add sagemath 2013-09-09 09:39:29 +10:00
Amit Saha
d96f923c04 Scientific: firefox deps are now fixed 2013-09-06 15:19:57 +10:00
Fabian Affolter
6dfda6e355 Synced with xfce 2013-09-06 00:36:47 +02:00
Fabian Affolter
f3b92ac9e0 Removed more packages to save space 2013-09-06 00:35:55 +02:00
Peter Robinson
528f3500f2 SoaS: add lightdm-gtk 2013-09-05 23:23:49 +01:00
Peter Robinson
c9fa0ffb82 update sugar 2013-09-05 23:18:04 +01:00
Amit Saha
9562f29b46 Scientific: Remove matplotlib's wx backend 2013-09-06 08:11:32 +10:00
Matthias Clasen
aa0ea4aa4d desktop: we don't need uboot-tools on the desktop spin 2013-09-05 17:46:59 -04:00
Amit Saha
c08f8c215f Scientific: Add Python 3 packages.
Disabling torque for now.
2013-09-05 17:02:11 +10:00
Brendan Jones
5664467ce1 Jam: add new non-* packages 2013-09-04 06:14:14 +02:00
Amit Saha
cfd1288c29 Scientific: Include additional packages
Disable firefox for now.
2013-09-03 13:03:26 +10:00
Kevin Kofler
e1715dc151 fedora-live-kde-base.ks: fix #1003619 (SDDM autologin)
Set SDDM rather than KDM to autologin liveuser on the KDE live image.

Patch by Martin Bříza.
2013-09-02 22:45:02 +02:00
Bruno Wolff III
431bc90632 Add missing 'f' to updates and testing repo urls 2013-08-31 08:08:04 -05:00
Luya Tshimbalanga
4fcffa3b92 design: fixes group 2013-08-28 23:14:20 -07:00
Dennis Gilmore
aaa3151692 make / bigger on KDE images 2013-08-28 20:26:52 -05:00
Adam Williamson
5ee23ccea9 add workaround for #679486 from kparal (see comment #86) 2013-08-28 09:29:19 -05:00
Dennis Gilmore
f7b98bb655 setup extlinux bootloader on arm images 2013-08-26 23:10:33 -05:00
Dennis Gilmore
29f179c805 increase the size of the / partitions for Desktop and Mate images 2013-08-26 20:57:23 -05:00
Dennis Gilmore
947fd69d5f target 2gb for minimal images so they can be installed into beaglebone black nand 2013-08-26 17:09:15 -05:00
Kevin Kofler
da24aef084 fedora-livecd-kde.ks: Bump payload size.
Also update the comments at the top of fedora-live-kde.ks and
fedora-livecd-kde.ks, it's been ages since "livecd-kde" last fit on an
actual CD, the target size is 1 GiB now.
2013-08-26 16:16:35 +02:00
Dan Mashal
58345f2cc3 Remove mate-icon-theme-faenza from the right place 2013-08-25 22:02:46 -07:00
Dan Mashal
da40dc8382 MATE: block mate-icon-theme-faenza for space 2013-08-25 21:52:25 -07:00
Adam Williamson
1f12485e42 make fedora-repo.ks consistent with the actual filename 2013-08-21 16:50:07 -07:00
Bruno Wolff III
2be322d626 Use the higher tag when there are more than one
If two or more tags of the right format point point to
HEAD, we probably want the later of the two.
2013-08-20 21:44:29 -05:00
Adam Williamson
11631d6481 move the 'livesys is done' block back up so it's at least inside livesys 2013-08-20 08:50:39 -07:00
Luya Tshimbalanga
f0a4cbb934 design: add vym, phatch 2013-08-19 13:47:10 -07:00
Brendan Jones
97426b8c93 Jam: add new plugins and mup notation editor. 2013-08-18 20:12:46 +02:00
Kevin Fenzi
168dcbf3d2 Sendmail is out of standard now. No need to exclude here. 2013-08-14 13:51:17 -06:00
Fabian Affolter
4411338736 FSL moved to Xfce 2013-08-13 13:51:50 +02:00
Christoph Wickert
ca841d2202 LXDE: Make autologin more robust 2013-08-13 00:53:17 +02:00
Christoph Wickert
724f5bd19a LXDE: Fix clipit config file creation 2013-08-13 00:46:05 +02:00
Christoph Wickert
3c4e8b4727 LXDE: Clean up 2013-08-13 00:26:17 +02:00
Christoph Wickert
70c1555960 LXDE: We don't need to list upower no more, it's a depenency os lxsession 2013-08-13 00:17:18 +02:00
Luya Tshimbalanga
b52ecec428 Design: custom menu and additional packages 2013-08-11 19:54:06 -07:00
Luya Tshimbalanga
8c702acbc5 Design: custom menu and addtional packages 2013-08-11 19:49:17 -07:00
Luya Tshimbalanga
4f4d1d082a Design: custom menu and additional packages 2013-08-11 19:46:39 -07:00
Kevin Fenzi
a47186bb67 Move configured set to the end. Fixes bug #991466 2013-08-04 11:58:54 -06:00
Kevin Fenzi
681485e85f Update SoAS names 2013-08-01 18:36:23 -06:00
Dennis Gilmore
f8f7efb3f7 remove --grow from arm partitioning 2013-08-01 11:45:35 -05:00
Dennis Gilmore
a466042a77 add dracut-modules-growroot to arm images 2013-07-31 19:45:24 -05:00
Dennis Gilmore
763d6892ed set partition sizes to fit on a 4gb sd card except for mate which is too big 2013-07-31 18:22:09 -05:00
Ray Strode
ee950ce8cf desktop: rename fedora-gnome-packages to fedora-desktop-packages
It's small detail, but the file contains gnome, firefox, and libreoffice
in it. It's really the desktop packages (ring?) not just gnome packages.
2013-07-26 13:21:43 -04:00
Ray Strode
279c21441c desktop: drop rsyslog by default too
journald provides most of the same functionality, so aside from
some special cases it's redundant. It will probably get dropped
from @standard post f20, but for now get it out of the desktop
spin.
2013-07-25 14:45:56 -04:00
Ray Strode
c79eede0d7 desktop: drop sendmail from default install
The plan is to enventually drop it from the lower comps
groups entirely, but it didn't happen this time around,
so at least get the desktop spin fixed for now.

https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
2013-07-25 14:17:46 -04:00
Luya Tshimbalanga
cc9c456047 Design: add pencil to the list 2013-07-18 23:12:23 -07:00
Dennis Gilmore
ec9017b587 add desktop kickstarts for arm 2013-07-16 16:18:35 -05:00
Dennis Gilmore
c9f3aed3d6 split out desktop packages 2013-07-16 16:11:47 -05:00
Bruno Wolff III
9556cf3bc0 Prevent warning about @base being not found
@base was renamed to @standard, but @base is still include by
default by pungi. Using --nobase prevents a warning message
from being issued.
2013-07-05 22:31:41 -05:00
Bruno Wolff III
bf294a002c Fix excluding java-1.8.0-openjdk
The periods in java-1.8.0-openjdk appear to cause a problem
with the exclude pattern matching. Using *s instead excludes
java-1.8.0-openjdk, but not java-1.7.0-openjdk.
2013-07-05 22:26:14 -05:00
Bruno Wolff III
b0d3bb2b25 Games: Drop openlierox since it currently doesn't build
openlierox doesn't build with lua 5.2. It may be a while before
it gets fixed. Upstream hasn't done a release in a long time.
(Though the discussions forums appear to be active.)
2013-07-05 12:06:15 -05:00
Bruno Wolff III
0f3f36d2c5 Remove references to packages that no longer exist
I found a few attempts to remove packages that had been dropped
from Fedora.
2013-07-05 10:04:12 -05:00
Bruno Wolff III
6bb61fa057 Fix up repo definitions
Someone noticed that I messed up the repo definitions for live images,
but the fix wasn't right for the live images. The install image uses
a source repo, but the live images don't. The repo commands for the
install image are in the install image itself. It is also safe to
include the updates repo since an updates repo is created for branched
that has no packages and stays that way until release is gold. That
way the same repo set can be used before and after release. Also a
commented out repo definition for updates-testing is provided to help
people who want to enable that.
2013-07-04 10:57:37 -05:00
Bruno Wolff III
d79ee1b027 Remove file with non-graphic character in name 2013-07-04 10:50:43 -05:00
Dennis Gilmore
bdf04f705a add missing fedora-repo-rawhide.ks file and put in repo definitions for fedora-repo-not-rawhide.ks 2013-07-04 09:59:00 -05:00
Dennis Gilmore
69c0debc5d ARM: add uboot for wandboard-quad to images 2013-07-04 09:53:01 -05:00
Amit Saha
1d87b18f46 Scientific: remove/disable non-existent packages 2013-07-04 14:55:30 +10:00
Bruno Wolff III
12e9f1e583 The publish target should build a tar ball if needed 2013-07-02 22:17:39 -05:00
Bruno Wolff III
53643faf8f Games: Base on xfce instead of gnome
The xfce spin is smaller and will work on some older systems (for at
least some games) than gnome will.
2013-07-02 07:00:17 -05:00
Luya Tshimbalanga
3cd8f80d1b design: remove cinepaint due to bug #904256, readd tutorial 2013-07-01 23:25:05 -07:00
Bruno Wolff III
314afb81d0 Handle trying to remake the tar ball
Now running make when the tar ball already exists will result
in it not being recreated.
2013-06-29 22:18:08 -05:00
Bruno Wolff III
0ecefe0230 Fix to work with multiple tags
If there are multiple tags pointing to HEAD we need to pick only
one. We'll take one that seems to be a version number. This allows
the version number tag to coexist with another tag, that perhaps
indicates which images it was used to build.
2013-06-29 22:08:06 -05:00
Bruno Wolff III
247595b762 Don't install stuff that ends in the doc directory 2013-06-29 15:59:10 -05:00
Bruno Wolff III
8311504e19 Make directories if needed and use specific permissions 2013-06-29 15:44:34 -05:00
Bruno Wolff III
5149abf0f9 The doc directory is versioned 2013-06-29 15:30:55 -05:00
Bruno Wolff III
15a9a14dff Missing wildcard instances causes a problem 2013-06-29 15:17:50 -05:00
Bruno Wolff III
629a71433c Fix install target
Installing a mix of directories and files on the same install
command doesn't work.
2013-06-29 14:59:42 -05:00
Bruno Wolff III
e2a8980bee Use DESTDIR instead of prefix 2013-06-29 14:45:41 -05:00
Bruno Wolff III
89d097db42 Add an install target to the make file
The fedora package uses make install, and it is easier to support that
here rather than in the spec file.
2013-06-29 14:37:50 -05:00
Bruno Wolff III
93e94db57a Fix typo in tar ball name 2013-06-29 13:55:02 -05:00
Bruno Wolff III
cb29cc9c18 Add a make publish function 2013-06-29 13:53:08 -05:00
Bruno Wolff III
3d2542b16d Fix pushing tags instruction 2013-06-29 13:49:01 -05:00
56 changed files with 1729 additions and 600 deletions

View File

@@ -1,17 +1,34 @@
# Get the version name first by seeing if HEAD is tagged
version := $(shell git tag --points-at HEAD)
# And if it wasn't use a git hash
ifeq ($(version),)
version := $(shell git log -1 --abbrev=8 --pretty=git%h)
endif
# 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
clean:
rm -f spin-kickstarts-*.tar.gz
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
dist:
git archive --format=tar --prefix=spin-kickstarts-$(version)/ HEAD | gzip > spin-kickstarts.tar-$(version).gz
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

4
README
View File

@@ -15,9 +15,9 @@ cd spin-kickstarts
git checkout BRANCHNAME
# No tag has been added yet tag HEAD with
git tag VERSION
git push tag VERSION
git push --tags
make
# Publish the released tar ball
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
make publish
# Clean up the generated files:
make clean

View File

@@ -66,7 +66,6 @@ selinux --permissive
-realmd
-rhythmbox
-sane-backends*
-sendmail
-shotwell
-simple-scan
-system-config-*
@@ -136,29 +135,14 @@ 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
# Change Firefox start page to open Test Day wiki and IRC chat
# (and a few more properties)
mkdir /tmp/firefox
unzip /usr/lib*/firefox/browser/omni.ja -d /tmp/firefox
cat << FOE > /tmp/firefox/chrome/en-US/locale/branding/browserconfig.properties
browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day
FOE
cat << FOE >> /tmp/firefox/defaults/preferences/firefox-branding.js
PREFDIR=`ls -d /usr/lib*/firefox/browser/defaults/preferences`
cat << FOE >> $PREFDIR/test-day.js
pref("startup.homepage_welcome_url","");
pref("startup.homepage_override_url","");
pref("browser.rights.3.shown", true);
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day");
FOE
# We need to re-zip the whole archive (instead of just updating files), because
# the original archive is "Firefox optimized" and updating doesn't work
# https://bugzilla.mozilla.org/show_bug.cgi?id=605524
OMNIJA=`ls /usr/lib*/firefox/browser/omni.ja`
rm -f $OMNIJA
(cd /tmp/firefox; zip -r -0 $OMNIJA *)
rm -rf /tmp/firefox
# 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

View File

View File

@@ -4,6 +4,13 @@ auth --useshadow --enablemd5
selinux --enforcing
firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
part /boot --size=512 --fstype ext3
part swap --size=512 --fstype swap
part / --size=3000 --fstype ext4
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
@@ -18,31 +25,45 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
@dial-up
kernel
kernel-lpae
dracut-config-generic
chrony
arm-boot-config
extlinux-bootloader
initial-setup
initial-setup-gui
#lets resize / on first boot
dracut-modules-growroot
# remove this in %post
dracut-config-generic
# install uboot images
uboot-beagle
uboot-beaglebone
uboot-origen
uboot-panda
uboot-smdkv310
uboot-uevm
uboot-wandboard_dl
uboot-wandboard_solo
uboot-images-armv7
%end
%post
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=armhfp
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# Because memory is scarce resource in most arm systems we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
/usr/sbin/a-b-c
yum -y remove dracut-config-generic
%end

View File

@@ -1,11 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-kde-packages.ks
%include fedora-arm-vfat-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,7 +1,8 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-kde-packages.ks
%include fedora-arm-partitioning.ks
part / --size=4000 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"

View File

@@ -1,11 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-lxde-packages.ks
%include fedora-arm-vfat-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,7 +1,6 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-lxde-packages.ks
%include fedora-arm-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"

View File

@@ -1,11 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-mate-packages.ks
%include fedora-arm-vfat-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,7 +1,8 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-mate-packages.ks
%include fedora-arm-partitioning.ks
part / --size=5000 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"

View File

@@ -1,17 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-vfat-partitioning.ks
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
echo -n "Enabling initial-setup text mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
echo .
%end

View File

@@ -1,5 +1,13 @@
%include fedora-arm-base.ks
%include fedora-arm-partitioning.ks
part swap --size=128 --fstype swap
part / --size=1400 --fstype ext4
%packages
-@standard
-@dial-up
-initial-setup-gui
%end
%post

View File

@@ -1,5 +0,0 @@
bootloader --location=none
part /boot --size=512 --fstype ext3
part swap --size=512 --fstype swap
part / --grow --size=6500 --fstype ext4

View File

@@ -1,11 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-soas-packages.ks
%include fedora-arm-vfat-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,7 +1,6 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-soas-packages.ks
%include fedora-arm-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"

View File

@@ -1,5 +0,0 @@
bootloader --location=none
part /boot/uboot --size=20 --fstype vfat
part swap --size=512 --fstype swap
part / --grow --size=6500 --fstype ext4

12
fedora-arm-workstation.ks Normal file
View File

@@ -0,0 +1,12 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-workstation-packages.ks
part / --size=5000 --fstype ext4
%packages
-initial-setup
-initial-setup-gui
%end

View File

@@ -6,15 +6,3 @@
@printing
%end
%post
# X on arm does not detect the driver needed correctly so we need a snippet to set something
# using fbdev as the lowest common denominator.
cat > /etc/X11/xorg.conf.d/fbdev.conf <<EOF
Section "Device"
Identifier "Display"
Driver "fbdev"
EndSection
EOF
%end

View File

@@ -1,11 +0,0 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-xfce-packages.ks
%include fedora-arm-vfat-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,7 +1,6 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-xfce-packages.ks
%include fedora-arm-partitioning.ks
%post
echo -n "Enabling initial-setup gui mode on startup"

232
fedora-cloud-atomic.ks Normal file
View File

@@ -0,0 +1,232 @@
# Fedora Atomic is a cloud-focused spin implementing the Project Atomic
# patterns.
#
# RIGHT NOW, this is very like the traditional cloud image -- this is
# just a starting point.
text
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --enablemd5
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --size 3000 --fstype ext4
%include fedora-repo.ks
reboot
# Package list.
%packages
fedora-release-cloud
kernel-core
@core
grubby
# cloud-init does magical things with EC2 metadata, including provisioning
# a user account with ssh keys.
cloud-init
# this is used by openstack's cloud orchestration framework (and it's small)
heat-cfntools
# need this for growpart, because parted doesn't yet support resizepart
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
cloud-utils-growpart
# We need this image to be portable; also, rescue mode isn't useful here.
dracut-config-generic
-dracut-config-rescue
syslinux-extlinux
# Needed initially, but removed below.
firewalld
# cherry-pick a few things from @standard
tar
rsync
# Some things from @core we can do without in a minimal install
-biosdevname
-plymouth
-NetworkManager
-iprutils
-kbd
-uboot-tools
-kernel
-grub2
%end
%post --erroronfail
# Create grub.conf for EC2. This used to be done by appliance creator but
# anaconda doesn't do it. And, in case appliance-creator is used, we're
# overriding it here so that both cases get the exact same file.
# Note that the console line is different -- that's because EC2 provides
# different virtual hardware, and this is a convenient way to act differently
echo -n "Creating grub.conf for pvgrub"
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
mkdir /boot/grub
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
echo
done
#link grub.conf to menu.lst for ec2 to work
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
ln -sf grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# remove the user anaconda forces us to make
userdel -r none
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# If you want to remove rsyslog and just use journald, remove this!
echo -n "Disabling persistent journal"
rmdir /var/log/journal/
echo .
# this is installed by default but we don't need it in virt
echo "Removing linux-firmware package."
yum -C -y remove linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
# we don't really need to auto-spawn _any_ gettys.
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
#users: []
#disable_root: 0
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
rpm -qa
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
chattr -i /boot/extlinux/ldlinux.sys
/usr/sbin/fixfiles -R -a restore
chattr +i /boot/extlinux/ldlinux.sys
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
%end

237
fedora-cloud-base.ks Normal file
View File

@@ -0,0 +1,237 @@
# This is a basic Fedora 21 spin designed to work in OpenStack and other
# private cloud environments. It's configured with cloud-init so it will
# take advantage of ec2-compatible metadata services for provisioning ssh
# keys. Cloud-init creates a user account named "fedora" with passwordless
# sudo access. The root password is empty and locked by default.
#
# Note that unlike the standard F20 install, this image has /tmp on disk
# rather than in tmpfs, since memory is usually at a premium.
#
# This kickstart file is designed to be used with appliance-creator and
# may need slight modification for use with actual anaconda or other tools.
# We intend to target anaconda-in-a-vm style image building for F20.
text
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --enablemd5
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --size 3000 --fstype ext4
%include fedora-repo.ks
reboot
# Package list.
%packages
fedora-release-cloud
kernel-core
@core
grubby
# cloud-init does magical things with EC2 metadata, including provisioning
# a user account with ssh keys.
cloud-init
# this is used by openstack's cloud orchestration framework (and it's small)
heat-cfntools
# need this for growpart, because parted doesn't yet support resizepart
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
cloud-utils-growpart
# We need this image to be portable; also, rescue mode isn't useful here.
dracut-config-generic
-dracut-config-rescue
syslinux-extlinux
# Needed initially, but removed below.
firewalld
# cherry-pick a few things from @standard
tar
rsync
# Some things from @core we can do without in a minimal install
-biosdevname
-plymouth
-NetworkManager
-iprutils
-kbd
-uboot-tools
-kernel
-grub2
%end
%post --erroronfail
# Create grub.conf for EC2. This used to be done by appliance creator but
# anaconda doesn't do it. And, in case appliance-creator is used, we're
# overriding it here so that both cases get the exact same file.
# Note that the console line is different -- that's because EC2 provides
# different virtual hardware, and this is a convenient way to act differently
echo -n "Creating grub.conf for pvgrub"
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
mkdir /boot/grub
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
echo
done
#link grub.conf to menu.lst for ec2 to work
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
ln -sf grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# remove the user anaconda forces us to make
userdel -r none
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# If you want to remove rsyslog and just use journald, remove this!
echo -n "Disabling persistent journal"
rmdir /var/log/journal/
echo .
# this is installed by default but we don't need it in virt
echo "Removing linux-firmware package."
yum -C -y remove linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
# we don't really need to auto-spawn _any_ gettys.
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
#users: []
#disable_root: 0
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
rpm -qa
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
chattr -i /boot/extlinux/ldlinux.sys
/usr/sbin/fixfiles -R -a restore
chattr +i /boot/extlinux/ldlinux.sys
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
%end

237
fedora-cloud-bigdata.ks Normal file
View File

@@ -0,0 +1,237 @@
# This is a Fedora 21 spin designed based on the Fedora Cloud Base Image
# but tailored specifically for Big Data processing out-of-the-box.
# Primarily, it builds on that image but adds extra packages, but over
# time may have additional focus.
#
# It's configured with cloud-init so it will take advantage of
# ec2-compatible metadata services for provisioning ssh keys. Cloud-init
# creates a user account named "fedora" with passwordless sudo access. The
# root password is empty and locked by default.
#
# Note that unlike the standard F20 install, this image has /tmp on disk
# rather than in tmpfs, since memory is usually at a premium.
text
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --enablemd5
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --size 3000 --fstype ext4
%include fedora-repo.ks
reboot
# Package list.
%packages
fedora-release-cloud
kernel-core
@core
grubby
# cloud-init does magical things with EC2 metadata, including provisioning
# a user account with ssh keys.
cloud-init
# this is used by openstack's cloud orchestration framework (and it's small)
heat-cfntools
# need this for growpart, because parted doesn't yet support resizepart
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
cloud-utils-growpart
# We need this image to be portable; also, rescue mode isn't useful here.
dracut-config-generic
-dracut-config-rescue
syslinux-extlinux
# Needed initially, but removed below.
firewalld
# cherry-pick a few things from @standard
tar
rsync
# Some things from @core we can do without in a minimal install
-biosdevname
-plymouth
-NetworkManager
-iprutils
-kbd
-uboot-tools
-kernel
-grub2
%end
%post --erroronfail
# Create grub.conf for EC2. This used to be done by appliance creator but
# anaconda doesn't do it. And, in case appliance-creator is used, we're
# overriding it here so that both cases get the exact same file.
# Note that the console line is different -- that's because EC2 provides
# different virtual hardware, and this is a convenient way to act differently
echo -n "Creating grub.conf for pvgrub"
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
mkdir /boot/grub
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
echo
done
#link grub.conf to menu.lst for ec2 to work
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
ln -sf grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# remove the user anaconda forces us to make
userdel -r none
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# If you want to remove rsyslog and just use journald, remove this!
echo -n "Disabling persistent journal"
rmdir /var/log/journal/
echo .
# this is installed by default but we don't need it in virt
echo "Removing linux-firmware package."
yum -C -y remove linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
# we don't really need to auto-spawn _any_ gettys.
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
#users: []
#disable_root: 0
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
rpm -qa
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
chattr -i /boot/extlinux/ldlinux.sys
/usr/sbin/fixfiles -R -a restore
chattr +i /boot/extlinux/ldlinux.sys
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
%end

View File

@@ -0,0 +1,228 @@
# This is a spin of the Fedora cloud image designed for trying out new
# images in rawhide. It won't be built for non-rawhide trees, let alone
# actual releases.
cmdline
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --enablemd5
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --size 3000 --fstype ext4
%include fedora-repo.ks
reboot
# Package list.
%packages --excludedocs --instLangs=en_US
fedora-release-cloud
kernel-core
@core
grubby
# cloud-init does magical things with EC2 metadata, including provisioning
# a user account with ssh keys.
cloud-init
# this is used by openstack's cloud orchestration framework (and it's small)
heat-cfntools
# need this for growpart, because parted doesn't yet support resizepart
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
cloud-utils-growpart
# We need this image to be portable; also, rescue mode isn't useful here.
dracut-config-generic
-dracut-config-rescue
syslinux-extlinux
# Needed initially, but removed below.
firewalld
# cherry-pick a few things from @standard
tar
rsync
# Some things from @core we can do without in a minimal install
-biosdevname
-plymouth
-NetworkManager
-iprutils
-kbd
-uboot-tools
-kernel
-grub2
%end
%post --erroronfail
# Create grub.conf for EC2. This used to be done by appliance creator but
# anaconda doesn't do it. And, in case appliance-creator is used, we're
# overriding it here so that both cases get the exact same file.
# Note that the console line is different -- that's because EC2 provides
# different virtual hardware, and this is a convenient way to act differently
echo -n "Creating grub.conf for pvgrub"
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
mkdir /boot/grub
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
echo
done
#link grub.conf to menu.lst for ec2 to work
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
ln -sf grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# remove the user anaconda forces us to make
userdel -r none
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
# If you want to remove rsyslog and just use journald, remove this!
echo -n "Disabling persistent journal"
rmdir /var/log/journal/
echo .
# this is installed by default but we don't need it in virt
echo "Removing linux-firmware package."
yum -C -y remove linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
# we don't really need to auto-spawn _any_ gettys.
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
#users: []
#disable_root: 0
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
rpm -qa
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
chattr -i /boot/extlinux/ldlinux.sys
/usr/sbin/fixfiles -R -a restore
chattr +i /boot/extlinux/ldlinux.sys
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
%end

View File

@@ -0,0 +1,24 @@
%packages
@firefox
@gnome-desktop
@libreoffice
@networkmanager-submodules
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.
nss-mdns
# This one needs to be kicked out of @standard
-smartmontools
# We use gnome-control-center's printer and input sources panels instead
-system-config-printer
-im-chooser
# Similarly, there was also some debate about removing rsyslog from @standard
# (since much of its functionality is provided by journald now), but it's
# not going to happen for f20 either, so drop it here for now.
# https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
-rsyslog
%end

99
fedora-install-cloud.ks Normal file
View File

@@ -0,0 +1,99 @@
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
# Maintained by the Fedora Release Engineering team:
# https://fedoraproject.org/wiki/ReleaseEngineering
# mailto:rel-eng@lists.fedoraproject.org
# Use a part of 'iso' to define how large you want your isos.
# Only used when composing to more than one iso.
# Default is 695 (megs), CD size.
# Listed below is the size of a DVD if you wanted to split higher.
#part iso --size=4998
# Add the repos you wish to use to compose here. At least one of them needs group data.
# Only uncomment repo commands in one of the two following sections.
# Because the install kickstart doesn't use the updates repo and does
# use the source repo, we can't just include fedora-repo.ks
# In the master branch the rawhide repo commands should be uncommented.
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
# In non-master branches the fedora repo commands should be uncommented
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
# Package manifest for the compose. Uses repo group metadata to translate groups.
# (default groups for the configured repos are added by --default)
# @base got renamed to @standard, but @base is still included by default by pungi.
%packages --default
# pungi is an inclusive depsolver so that multiple packages are brought
# in to satisify dependencies and we don't always want that. So we use
# an exclusion list to cut out things we don't want
-kernel*debug*
-kernel-kdump*
-kernel-tools*
-syslog-ng*
-astronomy-bookmarks
-generic*
-GConf2-dbus*
-bluez-gnome
# Periods cause problems in paterns, so replace with *s
-java-1*8*0-openjdk
-community-mysql*
-jruby*
# core
kernel*
dracut-*
# Desktops
## common stuff
@base-x
@guest-desktop-agents
@guest-agents
@standard
@core
@dial-up
@fonts
@input-methods
@multimedia
@hardware-support
@printing
@admin-tools
@basic-desktop
@virtualization
@web-server
@mongodb
@perl-web
@php
@python-web
@rubyonrails
@mysql
@sql-server
@javaenterprise
# Things needed for installation
@anaconda-tools
# Langpacks
autocorr-*
eclipse-nls-*
hunspell-*
hyphen-*
calligra-l10n-*
kde-l10n-*
libreoffice-langpack-*
man-pages-*
mythes-*
-gimp-help-*
# Removals
-PackageKit-zif
-zif
%end

128
fedora-install-server.ks Normal file
View File

@@ -0,0 +1,128 @@
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
# Maintained by the Fedora Release Engineering team:
# https://fedoraproject.org/wiki/ReleaseEngineering
# mailto:rel-eng@lists.fedoraproject.org
# Use a part of 'iso' to define how large you want your isos.
# Only used when composing to more than one iso.
# Default is 695 (megs), CD size.
# Listed below is the size of a DVD if you wanted to split higher.
#part iso --size=4998
# Add the repos you wish to use to compose here. At least one of them needs group data.
# Only uncomment repo commands in one of the two following sections.
# Because the install kickstart doesn't use the updates repo and does
# use the source repo, we can't just include fedora-repo.ks
# In the master branch the rawhide repo commands should be uncommented.
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
# In non-master branches the fedora repo commands should be uncommented
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
# Package manifest for the compose. Uses repo group metadata to translate groups.
# (default groups for the configured repos are added by --default)
# @base got renamed to @standard, but @base is still included by default by pungi.
%packages --default
# pungi is an inclusive depsolver so that multiple packages are brought
# in to satisify dependencies and we don't always want that. So we use
# an exclusion list to cut out things we don't want
-kernel*debug*
-kernel-kdump*
-kernel-tools*
-syslog-ng*
-astronomy-bookmarks
-generic-logos*
-generic-release*
-GConf2-dbus*
-bluez-gnome
-community-mysql*
# core
kernel*
dracut-*
# No desktops
-cinnamon*
-enlightenment*
-gnome-shell
-gnome-session
-kde*
-lightdm-kde
-lightdm-razorqt
# Pulls in qt
-oprofile-gui
-@legacy-fonts
## common stuff
@guest-agents
@standard
@core
@multimedia
@hardware-support
# Workstation
@development-libs
@development-tools
@c-development
@rpm-development-tools
@fedora-packager
# Common server packages
@mysql
@sql-server
@web-server
# Web Server environment
@haproxy
@mongodb
@perl-web
@python-web
@php
@rubyonrails
@tomcat
# Infrastructure Server
@directory-server
@dogtag
@dns-server
@freeipa-server
@ftp-server
@mail-server
@network-server
@printing
@smb-server
@virtualization
@load-balancer
@ha
@container-management
@headless-management
@javaenterprise
# “uservisible” groups we want to offer
@editors
@network-server
@system-tools
@text-internet
# Things needed for installation
@anaconda-tools
# Langpacks
autocorr-*
hunspell-*
man-pages-*
-gimp-help-*
# Removals
-PackageKit-zif
-zif
%end

View File

@@ -25,6 +25,7 @@ repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirror
# Package manifest for the compose. Uses repo group metadata to translate groups.
# (default groups for the configured repos are added by --default)
# @base got renamed to @standard, but @base is still included by default by pungi.
%packages --default
# pungi is an inclusive depsolver so that multiple packages are brought
@@ -39,7 +40,8 @@ repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirror
-generic*
-GConf2-dbus*
-bluez-gnome
-java-1.8.0-openjdk
# Periods cause problems in paterns, so replace with *s
-java-1*8*0-openjdk
-community-mysql*
-jruby*
@@ -122,7 +124,7 @@ dracut-*
@sql-server
@design-suite
## Not included yet due to space concerns
#@jbossas
#@javaenterprise
#@milkymist
#@mingw32
#@ocaml
@@ -142,6 +144,7 @@ kde-l10n-*
libreoffice-langpack-*
man-pages-*
mythes-*
-gimp-help-*
# Removals
-PackageKit-zif

View File

@@ -3,6 +3,7 @@
@kde-desktop
@kde-media
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop

View File

@@ -77,8 +77,6 @@ exists() {
\$*
}
touch /.liveimg-configured
# Make sure we don't mangle the hardware clock on shutdown
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
@@ -195,7 +193,7 @@ systemctl stop mdmonitor.service 2> /dev/null || :
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
# don't enable the gnome-settings-daemon packagekit plugin
gsettings set org.gnome.settings-daemon.plugins.updates active 'false' || :
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
@@ -204,6 +202,13 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
systemctl stop crond.service 2> /dev/null || :
systemctl stop atd.service 2> /dev/null || :
# Mark things as configured
touch /.liveimg-configured
# add static hostname to work around xauth bug
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
echo "localhost" > /etc/hostname
EOF
# bah, hal starts way too late
@@ -275,7 +280,9 @@ systemctl enable tmp.mount
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa
# Note that running rpm recreates the rpm db files which aren't needed or wanted
@@ -296,7 +303,7 @@ rm -f /core*
%post --nochroot
cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL
cp $INSTALL_ROOT/usr/share/doc/*-release/GPL $LIVE_ROOT/GPL
# only works on x86, x86_64
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then

View File

@@ -4,7 +4,7 @@
# - A Spin targeted towards professional designers
# Website: http://fedoraproject.org/wiki/Design_Suite
# Maintainers:
# - Luya Tshimbalanga <sdz AT fedoraproject DOT org>
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
# - Previous maintainer Sebastian Dziallas
%include fedora-live-desktop.ks
@@ -17,7 +17,7 @@ part / --size 8192
# graphics
blender
bluefish
cinepaint
#cinepaint
cmyktool
darktable
dia
@@ -26,23 +26,30 @@ fontforge
font-manager
gimp
gimp-*-plugin
gimp-data-extras
gimp-gap
gimp-paint-studio
gimp-high-pass-filter
gimp-normalmap
gimp-resynthesizer
gimp-separate+
gpick
GREYCstoration-gimp
hugin
inkscape
mypaint
inkscape
nautilus-image-converter
optipng
# pinta # is huge because it needs mono
# postr # dropped because shotwell support flickr upload
phatch
screenruler
simple-scan
scribus
colord-extra-profiles
synfigstudio
# ufraw # dropped as duplicate of darktable
xournal
# office
gnote
vym
pdfshuffler
# internet
@@ -52,19 +59,19 @@ filezilla
audacity
pitivi
# system
# gtk-recordmydesktop # dropped for space (#887991)
# network-manager-applet #part of Gnome Desktop
# fonts
aajohan-comfortaa-fonts
adobe-source-sans-pro-fonts
campivisivi-titillium-fonts
lato-fonts
overpass-fonts
# removal of duplicated and unneeded applications
-gnome-boxes
-gthumb
-eog
-gnome-photos
-rdesktop
# Legacy cmdline things we don't want
-krb5-auth-dialog
@@ -89,22 +96,32 @@ overpass-fonts
%end
#%post
%post
#Override the favorite desktop application in Dash
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['firefox.desktop', 'evolution.desktop', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
#Enable categories in Gnome Shell
app-folder-categories=['Utilities', 'Games', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'wine-wine', 'Crossover', 'Crossover Games', 'Science', 'Education', 'Universal Access', 'Other']
FOE
# Add link to the Inkscape Course
#cat >> /usr/share/applications/inkscape-course.desktop << FOE
#[Desktop Entry]
#Name=Introduction To Inkscape
#GenericName=Inkscape Course
#Comment=Materials from Máirín Duffy's Inkscape Class
#Exec=xdg-open http://linuxgrrl.com/learn/Introduction_To_Inkscape
#Type=Application
#Icon=fedora-logo-icon
#Categories=Graphics;Documentation;
#FOE
#chmod a+x /usr/share/applications/inkscape-course.desktop
# Add link to lists of tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
[Desktop Entry]
Name=List of design tutorials
GenericName=List of Tutorials for Designers
Comment=Reference of Design Related Tutorials
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
Type=Application
Icon=applications-graphics
Categories=Graphics;Documentation;
FOE
chmod a+x /usr/share/applications/list-design-tutorials.desktop
# rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
#EOF
#%end
%end

View File

@@ -3,35 +3,18 @@
# mailto:desktop@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-desktop-packages.ks
part / --size 4096
%packages
@firefox
@gnome-desktop
@libreoffice
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.
nss-mdns
# This one needs to be kicked out of @standard
-smartmontools
# We use gnome-control-center's printer and input sources panels instead
-system-config-printer
-im-chooser
%end
%post
cat >> /etc/rc.d/init.d/livesys << EOF
# disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
[org.gnome.settings-daemon.plugins.updates]
active=false
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
# don't run gnome-initial-setup

View File

@@ -33,6 +33,7 @@ alsa-plugins-samplerate
alsa-plugins-upmix
alsa-plugins-vdownmix
a2jmidid
aj-snapshot
#jack
jack-audio-connection-kit
@@ -75,12 +76,15 @@ sooperlooper
#recodring and DAW
audacity
ardour
ardour3
rosegarden4
seq24
muse
qtractor
non-session-manager
non-daw
non-sequencer
non-mixer
# audio-plugins
calf
@@ -116,7 +120,13 @@ 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
@@ -140,6 +150,7 @@ nano
mscore
lilypond
frescobaldi
mup
#audio utilities
jamin
@@ -154,6 +165,7 @@ rtirq
#patchage
#ladish #not packaged yet
japa
radium-compressor
#streaming
idjc

View File

@@ -40,12 +40,11 @@ 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
sed -i 's/^AutoUser=.*/AutoUser=liveuser/' /etc/sddm.conf
# 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
sed -i 's/^LastUser=.*/LastUser=liveuser/' /etc/sddm.conf
sed -i 's/^LastSession=.*/LastSession=kde-plasma.desktop/' /etc/sddm.conf
# add liveinst.desktop to favorites menu
mkdir -p /home/liveuser/.kde/share/config/
@@ -91,6 +90,12 @@ cat > /home/liveuser/.kde/share/config/kdedrc << KDEDRC_EOF
autoload=false
KDEDRC_EOF
# Disable baloo
cat > /home/liveuser/.kde/share/config/baloofilerc << BALOO_EOF
[Basic Settings]
Indexing-Enabled=false
BALOO_EOF
# Disable kres-migrator
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
[Migration]

View File

@@ -2,7 +2,7 @@
#
# Description:
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
# see fedora-livecd-kde.ks for the default CD-sized version
# see fedora-livecd-kde.ks for the default 1 GiB version
#
# Maintainer(s):
# - Sebastian Vahl <fedora@deadbabylon.de>
@@ -28,7 +28,6 @@ calligra
fuse
liveusb-creator
#pavucontrol # pavucontrol has duplicate functionality with kmix
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
# kdeedu apps

View File

@@ -15,11 +15,6 @@
-coolkey
-wget
# qlogic firmwares
-ql2100-firmware
-ql2200-firmware
-ql23xx-firmware
# scanning takes quite a bit of space :/
-xsane
-xsane-gimp

View File

@@ -0,0 +1,69 @@
# Maintained by the Fedora Workstation WG:
# http://fedoraproject.org/wiki/Workstation
# mailto:desktop@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-workstation-packages.ks
part / --size 6144
%post
# This is a huge file and things work ok without it
rm -f /usr/share/icons/HighContrast/icon-theme.cache
cat >> /etc/rc.d/init.d/livesys << EOF
# disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
# don't run gnome-initial-setup
mkdir ~liveuser/.config
touch ~liveuser/.config/gnome-initial-setup-done
# make the installer show up
if [ -f /usr/share/applications/liveinst.desktop ]; then
# Show harddisk install in shell dash
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
# need to move it to anaconda.desktop to make shell happy
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
FOE
# Make the welcome screen show up
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
mkdir -p ~liveuser/.config/autostart
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
fi
fi
# rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
# set up auto-login
cat > /etc/gdm/custom.conf << FOE
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=liveuser
FOE
# Turn off PackageKit-command-not-found while uninstalled
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
fi
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/
EOF
%end

View File

@@ -14,6 +14,10 @@
-libreoffice-emailmerge
-libreoffice-math
# remove some other applications
-gnome-boxes
-gnome-dictionary
# remove input method things we don't need
-ibus-typing-booster
-imsettings
@@ -21,7 +25,6 @@
# Drop the Java plugin
-icedtea-web
-java-1.7.0-openjdk
-java-1.8.0-openjdk
# Drop things that pull in perl
@@ -31,6 +34,9 @@
-foomatic-db-ppds
-foomatic
# we don't want prelink
-prelink
# Dictionaries are big
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
# strong preference to giving it a go on #fedora-desktop.
@@ -73,7 +79,6 @@
-dump
# Drop some system-config things
-system-config-boot
-system-config-language
-system-config-rootpassword
-system-config-services
@@ -90,6 +95,8 @@
-gnu-free-mono-fonts
-gnu-free-sans-fonts
-gnu-free-serif-fonts
-uboot-tools
-dtc
# Without gnu freefonts, the lack of Malayalam coverage is
# a problem in anaconda (#977764)

View File

@@ -1,7 +1,7 @@
# fedora-livecd-kde.ks
#
# Description:
# - Fedora Livecd Spin with the K Desktop Environment (KDE)
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1 GiB version
#
# Maintainer(s):
# - Sebastian Vahl <fedora@deadbabylon.de>
@@ -10,6 +10,9 @@
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
# DVD payload
part / --size=4096
%packages
# unwanted packages from @kde-desktop
@@ -35,7 +38,6 @@ calligra-stage # ~3 megs
#twinkle # (~10 megs)
fuse
liveusb-creator
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
# only include kdegames-minimal
-kdegames

View File

@@ -36,7 +36,7 @@ MailClient=sylpheed.desktop
FOE
# set up auto-login for liveuser
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
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
@@ -45,32 +45,13 @@ 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 .config/clipit/clipitrc << FOE
cat > /home/liveuser/.config/clipit/clipitrc << FOE
[rc]
use_copy=true
use_primary=false
synchronize=false
automatic_paste=false
show_indexes=false
save_uris=true
use_rmb_menu=false
save_history=false
history_limit=50
items_menu=20
statics_show=true
statics_items=10
hyperlinks_only=false
confirm_clear=false
single_line=true
reverse_history=false
item_length=50
ellipsize=2
history_key=<Ctrl><Alt>H
actions_key=<Ctrl><Alt>A
menu_key=<Ctrl><Alt>P
search_key=<Ctrl><Alt>F
offline_key=<Ctrl><Alt>O
offline_mode=false
FOE
# this goes at the end after all other changes.

View File

@@ -11,15 +11,33 @@
-planner
# Drop things for size
-@3d-printing
-brasero
-bluez
-bluez-cups
-@dial-up
-dnf
-firefox
-gnome-bluetooth-libs
-gnome-icon-theme-symbolic
-gnome-software
-gnome-user-docs
-@guest-desktop-agents
-@libreoffice
-@mate-applications
-mate-bluetooth
-mate-icon-theme-faenza
-transmission-gtk
# Drop oversized fonts that aren't needed
-cjkuni-uming-fonts
-wqy-zenhei-fonts
# A web browser would be nice for a live cd
midori
# Drop the Java plugin
-icedtea-web
-java-1.7.0-openjdk
-java-1.8.0-openjdk
# Drop things that pull in perl
@@ -65,8 +83,8 @@ midori
-ntsysv
# Drop some system-config things
-system-config-boot
-system-config-language
-system-config-printer
-system-config-rootpassword
-system-config-services
-policycoreutils-gui
@@ -78,4 +96,3 @@ midori
rm -f /usr/share/icons/HighContrast/icon-theme.cache
%end

View File

@@ -4,365 +4,153 @@
# A fully functional live OS based on Fedora for use in security auditing,
# forensics research, and penetration testing.
# Maintainers:
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
# Acknowledgements:
# Fedora LiveCD Xfce Spin team - some work here was inherited, many thanks!
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
# many thanks!
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
# Luke Macken, Adam Miller for the original OpenBox Security ks and all
# Luke Macken and Adam Miller for the original OpenBox Security ks and all
# the Security Applications!
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
# Important!!!!
# Beginning with Security Stuff - we use pattern to parse the kickstart file
# for building the security menu - please use
# # Category: Categoryname <- for new Categories
# # Command: Commandname <- for the given Command
# # rCommand: Commandname <- for a command as root
# # Entry: Menu-Entry <- for the MenuEntry Name (optional)
%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
### LXDE desktop
@lxde-desktop
lxlauncher
obconf
lxdm
@xfce-desktop
@xfce-apps
### internet
firefox
icedtea-web
pidgin
sylpheed
transmission
# Security tools
@security-lab
security-menus
### graphics
#mtpaint
### audio & video
alsa-plugins-pulseaudio
asunder
lxmusic
gxine
gxine-mozplugin
pavucontrol
pnmixer
# I'm looking for something smaller than
#gnomebaker
### utils
galculator
parcellite
xpad
### system
gigolo
Terminal
### more desktop stuff
fedora-icon-theme
adwaita-cursor-theme
adwaita-gtk2-theme
adwaita-gtk3-theme
# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam
# needed for automatic unlocking of keyring (#643435)
# unlock default keyring. FIXME: Should probably be done in comps
gnome-keyring-pam
network-manager-applet
# needed for xdg-open to support LXDE
perl-File-MimeInfo
xcompmgr
xdg-user-dirs-gtk
xscreensaver-extras
# use yumex instead of gnome-packagekit
#yumex
-apper
-gnome-packagekit
# 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
# Command line
powertop
wget
yum-utils
# dictionaries are big
-aspell-*
-hunspell-*
-man-pages-*
-words
# save some space
-sendmail
ssmtp
-autofs
-acpid
-gimp-help
-desktop-backgrounds-basic
-realmd # only seems to be used in GNOME
-PackageKit* # we switched to yumex, so we don't need this
-aspell-* # dictionaries are big
-gnumeric
-foomatic-db-ppds
-foomatic
-stix-fonts
-ibus-typing-booster
-xfce4-sensors-plugin
-man-pages-*
# drop some system-config things
-system-config-boot
#-system-config-language
-system-config-lvm
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
-gnome-disk-utility
# we need UPower for suspend and hibernate
upower
# exclude some packages to save some space
# use './fsl-maintenance.py -l' in your security spin git folder to build
-ArpON
-aide
-binwalk
-bkhive
-bonesi
-bro
-cmospwd
-dnstop
-etherape
-hfsutils
-httpie
-httrack
-hydra
-kismon
-labrea
-nebula
-netsed
-onesixtyone
-packETH
-pads
-pdfcrack
-picviz-gui
-proxychains
-pyrit
-raddump
-rkhunter
-safecopy
-samdump2
-scalpel
-sslstrip
-tcpreen
-tcpreplay
-tripwire
-wipe
###################### Security Stuffs ############################
security-menus
##################################################################
# Category: Reconnaissance
# rCommand: dsniff -h
dsniff
# rCommand: hping -h
hping3
nc6
nc
# Command: ncrack -h
ncrack
ngrep
# rCommand: nmap -h
nmap
# Command: zenmap-root
nmap-frontend
# Command: p0f -h
p0f
# rCommand: sing -h
sing
# Command: scanssh -h
#temp takout scanssh
# rCommand: scapy -h
scapy
# Command: socat
# Entry: Socket cat
socat
# rCommand: tcpdump -h
tcpdump
# rCommand: unicornscan -h
unicornscan
# rCommand: wireshark
# Entry: Wireshark
wireshark-gnome
# Command: xprobe2
xprobe2
# Command: nbtscan
nbtscan
# Command: tcpxtract
tcpxtract
# Command: firewalk
# Entry: Firewalk
firewalk
# Command: hunt
# Entry: Hunt
hunt
# Command: dnsenum -h
# Entry: DNS Enumeration
dnsenum
# rCommand: iftop
iftop
# Command: argus -h
argus
# rCommand: ettercap -C
# Entry: Ettercap
ettercap
ettercap-gtk
# rCommand: packETH
packETH
# rCommand: iptraf-ng
iptraf-ng
pcapdiff
# rCommand: etherape
etherape
# Command: lynis
lynis
# rCommand: netsniff-ng
netsniff-ng
# Command: tcpjunk -x
tcpjunk
# rCommand: ssldump -h
ssldump
# rCommand: yersinia -G
# Entry: Yersinia
yersinia
net-snmp
# Command: openvas-client
# Entry: OpenVAS Client
openvas-client
openvas-scanner
#################################################################
# Category: Forensics
# Command: ddrescue -h
ddrescue
# Command: gparted
gparted
hexedit
# rCommand: testdisk -h
testdisk
# Command: foremost -h
# Entry: Foremost Filecarver
foremost
# Command: sectool-gui
# Entry: sectool
sectool-gui
scanmem
sleuthkit
# Command: unhide
unhide
# Command: examiner
# Entry: ELF Examiner
examiner
dc3dd
afftools
# Command: srm -h
# Entry: Securely Remove Files
srm
# Command: nwipe
# Entry: Securely erase disks
nwipe
# Command: firstaidkit -g gtk
# Entry: First Aid Kit
#firstaidkit-plugin-all #temp removed - dependency to grub2
ntfs-3g
ntfsprogs
#####################################################################
# Category: WebApplicationTesting
# Command: httping -h
httping
# Command: nikto -help
# Entry: Nikto Websecurity Scanner
nikto
# Command: ratproxy -h
ratproxy
# Command: lbd
# Entry: Load Balancing Detector
lbd
# Command: skipfish
skipfish
# Command: sqlninja
sqlninja
#######################################################################
# Category: Wireless
# Command: aircrack-ng
aircrack-ng
# Command: airsnort
airsnort
# rCommand: kismet
kismet
# Command: weplab
# Entry: Wep Key Cracker
weplab
# Command: wavemon
wavemon
#######################################################################
# Category: CodeAnalysis
# Command: splint
splint
# Command: pscan
pscan
# Command: flawfinder
# Entry: Flawfinder
flawfinder
# Command: rats
# Entry: Rough Auditing Tool for Security
rats
######################################################################
# Category: IntrusionDetection
# rCommand: chkrootkit
chkrootkit
# Command: aide -h
aide
labrea
# Command: honeyd -h
# Entry: Honeypot Daemon
# temp removal
#honeyd
# Command: pads -h
# Entry: Passive Asset Detection System
pads
nebula
# Command: rkhunter
# Entry: RootKitHunter
rkhunter
########################################################################
# Category: PasswordTools
# Command: john
john
# Command: ophcrack
# Entry: Objectif Securite ophcrack
ophcrack
# Command: medusa -d
# Entry: Medusa Brute Force
medusa
# Is not available for OpenVAS-7. No longer supported by upstream.
-openvas-client
%end
%post
# LXDE and LXDM configuration
# xfce configuration
# This is a huge file and things work ok without it
rm -f /usr/share/icons/HighContrast/icon-theme.cache
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startlxde
DISPLAYMANAGER=/usr/sbin/lxdm
PREFERRED=/usr/bin/startxfce4
DISPLAYMANAGER=/usr/sbin/lightdm
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
mkdir -p /home/liveuser/.config/xfce4
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
MailReader=sylpheed-claws
FileManager=Thunar
WebBrowser=midori
FOE
# set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
MailClient=redhat-sylpheed.desktop
# disable screensaver locking (#674410)
cat >> /home/liveuser/.xscreensaver << FOE
mode: off
lock: False
dpmsEnabled: False
FOE
# set up auto-login for liveuser
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
# 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
# Add autostart for parcellite
cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
# 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.
# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
EOF
%end

View File

@@ -26,8 +26,8 @@ rm -f /var/lib/rpm/__db*
# Get proper release naming in the control panel
cat >> /boot/olpc_build << EOF
Sugar on a Stick 8 ('Ōhelo Berry)
Fedora release 18 (Spherical Cow)
Sugar on a Stick 11 (Unknown)
Fedora release 21 (Rawhide)
EOF
# Add our activities to the favorites
@@ -51,6 +51,7 @@ org.laptop.StopWatchActivity
org.laptop.community.Finance
org.laptop.community.TypingTurtle
org.laptop.sugar.Jukebox
org.eq.FotoToon
org.gnome.Labyrinth
com.laptop.Ruler
org.sugarlabs.AbacusActivity
@@ -83,6 +84,16 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
# Enable Sugar power management
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
cat >> /etc/rc.d/init.d/livesys << EOF
# set up lightdm autologin
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
# set Sugar as default session, otherwise login will fail
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
EOF
cat >> /etc/rc.d/init.d/livesys-late << EOF
# disable screensaver locking

View File

@@ -7,7 +7,7 @@
%include fedora-livecd-desktop.ks
# DVD payload
part / --size=8192
part / --size 10240
%packages
@@ -49,7 +49,8 @@ perl-Test-Pod-Coverage
-gimp-libs
-gimp-data-extras
-kdebluetooth
-kbluetooth
-rdesktop
%end

View File

@@ -4,7 +4,7 @@
# - Bruno Wolff III <bruno@wolff.to>
# - Formerly maintained by Rahul Sundaram
%include fedora-livecd-desktop.ks
%include fedora-livecd-xfce.ks
# The recommended part size for DVDs is too close to use for the games spin
part / --size 10240
@@ -150,6 +150,7 @@ pingus
# puzzles (small)
escape
gbrainy
magicor
mirrormagic
pipenightdreams
@@ -187,7 +188,6 @@ games-menus
# No compilations of games as I want to only include games that at least
# someone thought were good within a genre.
-kdegames
-gnome-games
# Nothing should be downloading data to play.
-autodownloader

View File

@@ -78,7 +78,6 @@ firefox
-ntsysv
# Drop some system-config things
-system-config-boot
-system-config-language
-system-config-network
-system-config-rootpassword
@@ -103,9 +102,9 @@ disable-lock-screen=true
FOE
# disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
[org.gnome.settings-daemon.plugins.updates]
active=false
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

View File

@@ -10,12 +10,10 @@
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Amitksaha
# Last modified: March 10, 2012.
%include fedora-live-kde.ks
# DVD payload
part / --size 10000
# The recommended part size for DVDs is too close to use for the scientific spin
part / --size 12288
%packages
@@ -27,6 +25,11 @@ scilab
scilab-devel
scilab-doc
# sagemath
# BZ #1006230 should fix this
#sagemath
#sagemath-notebook
#Devel tools
#Install the mandatory packages from dev-tools and dev-libs
@@ -35,14 +38,41 @@ scilab-doc
@development-libs
@c-development
@rpm-development-tools
#others, not included
# C++ libraries
blitz-devel
armadillo-devel
# Misc. related utils
ddd
valgrind
ipython
#python 2 tools/libraries not included from the groups
python-ipython
python-ipython-console
python-ipython-notebook
sympy
python-networkx
#python 3 and tools/libraries not included from the groups
python3
python3-matplotlib
python3-scipy
python3-numpy
python3-ipython
python3-ipython-console
python3-ipython-notebook
python3-networkx
# matplotlib backends
python-matplotlib-qt4
python-matplotlib-tk
python3-matplotlib-qt4
python3-matplotlib-tk
# Include Java development tools
@java-development
apache-commons-math
#fortran compiler
gcc-gfortran
@@ -54,8 +84,7 @@ rkward
qtoctave
# IDEs for the IDE folks
netbeans
eclipse
@eclipse
spyder
#writing & publishing
@@ -63,7 +92,7 @@ emacs
emacs-color-theme
vim
scribus
scite
#scite
lyx
kile
@@ -72,21 +101,22 @@ kile
BibTool
pdfshuffler
# Parallel/Distributed computing libraries/tools
openmpi
openmpi-devel
valgrind-openmpi
pvm
pvm-gui #will install 'pvm' as well
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well
# Installing rapidsvn will also install subversion package
rapidsvn
# Install git-gui, will also install git
git
git-gui
# Mercurial
mercurial
@@ -95,7 +125,6 @@ mercurial-hgk
#Backup Utilities
backintime-kde
#needs to install this specifically because of some conflict between openmpi
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
libotf
@@ -106,13 +135,13 @@ root-gui-fitpanel
root-python
#Multiple jobs/clustering system
torque
torque-server
torque-scheduler
torque-gui
torque-libs
torque-mom
python-pbs
# torque
# torque-server
# torque-scheduler
# torque-gui
# torque-libs
# torque-mom
# python-pbs
#Drawing, Picture viewing tools, Visualization tools
dia
@@ -126,8 +155,9 @@ Mayavi
#Misc. Utils
screen
tmux
rlwrap
xchat
hexchat
shutter
fig2ps
bibtex2html
@@ -140,4 +170,4 @@ firefox
%post
%end
%end

View File

@@ -12,7 +12,10 @@
@lxde-apps
@lxde-media
@lxde-office
@firefox
@networkmanager-submodules
# FIXME: can be omitted once comps is updated
midori
# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam
@@ -32,14 +35,8 @@ metacity
# dictionaries are big
-aspell-*
-hunspell-*
-man-pages-*
-words
# use ssmtp instead of sendmail
-sendmail
ssmtp
#-man-pages-*
#-words
# save some space
-autofs
@@ -53,13 +50,9 @@ ssmtp
-stix-fonts
-ibus-typing-booster
-xscreensaver-extras
-wqy-zenhei-fonts
# FIXME: can be removed once mtpaint is gone from lxde-apps in comps
-mtpaint
#-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
# drop some system-config things
-system-config-boot
#-system-config-language
-system-config-network
-system-config-rootpassword
@@ -67,8 +60,5 @@ ssmtp
-policycoreutils-gui
-gnome-disk-utility
# we need UPower for suspend and hibernate
upower
%end

View File

@@ -1,6 +1,8 @@
%packages
-realmd # only seems to be used in GNOME
-PackageKit* # we switched to yumex, so we don't need this
-ConsoleKit # ConsoleKit is deprecated
-ConsoleKit-x11 # ConsoleKit is deprecated
firefox
@mate
compiz
@@ -19,6 +21,7 @@ emerald
fusion-icon
fusion-icon-gtk
@libreoffice
@networkmanager-submodules
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.

View File

@@ -0,0 +1,3 @@
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch

1
fedora-repo-rawhide.ks Normal file
View File

@@ -0,0 +1 @@
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch

View File

@@ -6,4 +6,4 @@
%include fedora-repo-rawhide.ks
# For non-master branches the following should be uncommented
# %include fedora-repo-non-rawhide.ks
# %include fedora-repo-not-rawhide.ks

View File

@@ -21,7 +21,6 @@
-rdate
-rdist
-icedtea-web
-sendmail
-firefox
-glx-utils
-nmap-ncat
@@ -35,11 +34,16 @@
@sugar-desktop
-sugar-ruler
sugar-cp-updater
lightdm
lightdm-gtk
# Write breaks unless we do this (we don't need it anyway)
# enable for testing in the F17 dev cycle
@input-methods
# Needed for wifi, bluetooth and WWAN connection support
@networkmanager-submodules
# == Platform Components ==
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
alsa-plugins-pulseaudio

View File

@@ -0,0 +1,70 @@
%packages
@firefox
@gnome-desktop
@libreoffice
@networkmanager-submodules
#QT
qt
qt-settings
qt-x11
qt5-qtbase
qt5-qtbase-gui
qt5-qtdeclarative
qt5-qtxmlpatterns
devassistant
scl-utils
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.
nss-mdns
# This one needs to be kicked out of @standard
-smartmontools
# We use gnome-control-center's printer and input sources panels instead
-system-config-printer
-im-chooser
-aisleriot
-baobab
-biosdevname
-coolkey
-deja-dup
-dtc
-dump
-ed
-finger
-ftp
-gc
-gfs2-utils
-gnu-free-fonts-common
-gnu-free-mono-fonts
-gnu-free-sans-fonts
-gnu-free-serif-fonts
-gtk2-immodule-xim
-gtk3-immodule-xim
-gtkmm24
-guile
-imsettings*
-irda-utils
-irqbalance
-isdn4k-utils
-kernel-modules-extra
-lftp
-linux-atm
-minicom
-nano
-ntsysv
-numactl
-reiserfs-utils
-rsh
-tagsoup
-talk
-telnet
-uboot-tools
-xl2tpd
-NetworkManager-l2tp
%end

View File

@@ -12,6 +12,7 @@
%packages
@networkmanager-submodules
@xfce-desktop
@xfce-apps
@xfce-extra-plugins
@@ -38,8 +39,6 @@ gnome-keyring-pam
#-man-pages-*
# drop some system-config things
-system-config-boot
-system-config-lvm
-system-config-network
-system-config-rootpassword
#-system-config-services