Compare commits

..

24 Commits

Author SHA1 Message Date
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
11 changed files with 254 additions and 61 deletions

View File

@@ -5,7 +5,7 @@ selinux --enforcing
firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader --extlinux
bootloader extlinux
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
@@ -50,6 +50,16 @@ uboot-wandboard_quad
%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."

View File

@@ -19,19 +19,17 @@ auth --useshadow --enablemd5
selinux --enforcing
rootpw --lock --iscrypted locked
# this is actually not used, but a static firewall
# matching these rules is generated below.
firewall --service=ssh
firewall --disabled
bootloader --timeout=1 --append="console=ttyS0,115200n8 console=tty0" extlinux
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --size 2048 --fstype ext4
part / --size 1000 --fstype ext4
%include fedora-repo.ks
@@ -63,10 +61,6 @@ syslinux-extlinux
# Needed initially, but removed below.
firewalld
# Basic firewall. If you're going to rely on your cloud service's
# security groups you can remove this.
iptables-services
# cherry-pick a few things from @standard
tar
rsync
@@ -135,28 +129,6 @@ yum -C -y remove linux-firmware
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Non-firewalld-firewall
echo -n "Writing static firewall"
cat <<EOF > /etc/sysconfig/iptables
# Simple static firewall loaded by iptables.service. Replace
# this with your own custom rules, run lokkit, or switch to
# shorewall or firewalld as your needs dictate.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 22 -j ACCEPT
#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 80 -j ACCEPT
#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 443 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
EOF
echo .
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
@@ -223,8 +195,26 @@ 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

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 --nobase
# 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
@jbossas
# 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

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

@@ -0,0 +1,102 @@
# 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 --nobase
# 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-agents
@standard
@core
@input-methods
@multimedia
@hardware-support
@admin-tools
@basic-desktop
# Workstation
@eclipse
@development-libs
@development-tools
@c-development
@rpm-development-tools
@fedora-packager
@virtualization
@web-server
@mongodb
@perl-web
@php
@python-web
@rubyonrails
@mysql
@sql-server
@design-suite
@jbossas
# 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

View File

@@ -280,6 +280,8 @@ systemctl enable tmp.mount
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa
@@ -301,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
@@ -27,10 +27,12 @@ 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
@@ -98,7 +100,7 @@ overpass-fonts
#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']
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', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Games', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'Other']
FOE
@@ -116,23 +118,13 @@ Categories=Graphics;Documentation;
FOE
chmod a+x /usr/share/applications/inkscape-course.desktop
<<<<<<< HEAD
# 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 design tutorials
Comment=Reference of design related tutorials
GenericName=List of Tutorials for Designers
Comment=Reference of Design Related Tutorials
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
=======
# Add link to the list of design tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
[Desktop Entry]
Name=List of design tutorials
GenericName=Design tutorials
Comment=List of websites using open source design software
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite/Tutorials
>>>>>>> 6aa8533f0e92ff46ad7952e5cbd11458bad3d7fa
Type=Application
Icon=applications-graphics
Categories=Graphics;Documentation;
@@ -142,7 +134,7 @@ 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
#EOF
%end

View File

@@ -76,7 +76,7 @@ sooperlooper
#recodring and DAW
audacity
ardour
ardour3
rosegarden4
seq24
muse
@@ -124,6 +124,9 @@ lv2-triceratops
lv2-newtonator
lv2-x42-plugins
lv2-fomp-plugins
lv2-sorcer
lv2-fabla
lv2-artyfx-plugins
#dssi
nekobee-dssi

View File

@@ -49,10 +49,7 @@ gnome-keyring-pam
-man-pages-*
# drop some system-config things
-system-config-boot
#-system-config-network
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
# exclude some packages to save some space

View File

@@ -12,7 +12,9 @@
@lxde-apps
@lxde-media
@lxde-office
@firefox
# FIXME: can be omitted once comps is updated
midori
# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam
@@ -35,9 +37,6 @@ metacity
#-man-pages-*
#-words
# use ssmtp
ssmtp
# save some space
-autofs
-acpid
@@ -50,10 +49,7 @@ ssmtp
-stix-fonts
-ibus-typing-booster
-xscreensaver-extras
-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
# 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

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