mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
57 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41b3b4dea6 | ||
|
|
adfe66c38f | ||
|
|
ab82d07e4f | ||
|
|
8bf40fdc8e | ||
|
|
6f76dabb74 | ||
|
|
0741647868 | ||
|
|
681365531c | ||
|
|
1bdc87189a | ||
|
|
9a57bcfb07 | ||
|
|
d275ae9403 | ||
|
|
6aa8533f0e | ||
|
|
32e066e039 | ||
|
|
1cbf4f481f | ||
|
|
e853d96f22 | ||
|
|
bb14cdd406 | ||
|
|
ff93964670 | ||
|
|
2dfb8c0758 | ||
|
|
7492604654 | ||
|
|
1288d6007d | ||
|
|
96cf7a22e5 | ||
|
|
b9dc4f5f49 | ||
|
|
045b630a4e | ||
|
|
4df45db78e | ||
|
|
6d05550b86 | ||
|
|
573d47ed00 | ||
|
|
61239d49f4 | ||
|
|
1f41edbb13 | ||
|
|
62a0e57497 | ||
|
|
e51dfb813a | ||
|
|
c6f9b71b37 | ||
|
|
217620ac55 | ||
|
|
987c05cc5e | ||
|
|
8f0b1a1f68 | ||
|
|
d26fba8808 | ||
|
|
d96f923c04 | ||
|
|
6dfda6e355 | ||
|
|
f3b92ac9e0 | ||
|
|
528f3500f2 | ||
|
|
c9fa0ffb82 | ||
|
|
9562f29b46 | ||
|
|
aa0ea4aa4d | ||
|
|
c08f8c215f | ||
|
|
5664467ce1 | ||
|
|
cfd1288c29 | ||
|
|
e1715dc151 | ||
|
|
431bc90632 | ||
|
|
4fcffa3b92 | ||
|
|
aaa3151692 | ||
|
|
5ee23ccea9 | ||
|
|
f7b98bb655 | ||
|
|
29f179c805 | ||
|
|
947fd69d5f | ||
|
|
da24aef084 | ||
|
|
58345f2cc3 | ||
|
|
da40dc8382 | ||
|
|
1f12485e42 | ||
|
|
2be322d626 |
@@ -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
|
||||
@@ -23,6 +23,8 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
|
||||
kernel
|
||||
kernel-lpae
|
||||
|
||||
dracut-config-generic
|
||||
|
||||
chrony
|
||||
arm-boot-config
|
||||
extlinux-bootloader
|
||||
|
||||
@@ -19,12 +19,14 @@ auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
|
||||
firewall --disabled
|
||||
# this is actually not used, but a static firewall
|
||||
# matching these rules is generated below.
|
||||
firewall --service=ssh
|
||||
|
||||
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux
|
||||
bootloader --timeout=1 --append="console=ttyS0,115200n8 console=tty0" extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
|
||||
zerombr
|
||||
@@ -61,6 +63,10 @@ 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
|
||||
@@ -129,6 +135,28 @@ 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."
|
||||
@@ -195,26 +223,8 @@ 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 -m)
|
||||
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
|
||||
|
||||
@@ -20,12 +20,4 @@ nss-mdns
|
||||
# https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
|
||||
-rsyslog
|
||||
|
||||
# Remove a few apps that are being presented as featured apps in
|
||||
# gnome-software
|
||||
-transmission-gtk
|
||||
-simple-scan
|
||||
-gnome-photos
|
||||
-gnome-maps
|
||||
-gnome-weather
|
||||
|
||||
%end
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
# 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
|
||||
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
|
||||
#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)
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
### The KDE-Desktop
|
||||
|
||||
### fixes
|
||||
# sddm->kdm, (temporary) so don't have to wait on comps changes
|
||||
-sddm
|
||||
-sddm-kcm
|
||||
kdm
|
||||
|
||||
# use kde-print-manager instead of system-config-printer
|
||||
-system-config-printer
|
||||
|
||||
@@ -280,8 +280,6 @@ 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 -m)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
echo "Packages within this LiveCD"
|
||||
rpm -qa
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# - A Spin targeted towards professional designers
|
||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||
# Maintainers:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Luya Tshimbalanga <sdz AT fedoraproject DOT org>
|
||||
# - Previous maintainer Sebastian Dziallas
|
||||
|
||||
%include fedora-live-desktop.ks
|
||||
@@ -27,11 +27,9 @@ font-manager
|
||||
gimp
|
||||
gimp-*-plugin
|
||||
gimp-data-extras
|
||||
gimp-gap
|
||||
gimp-paint-studio
|
||||
gimp-high-pass-filter
|
||||
gimp-normalmap
|
||||
gimp-paint-studio
|
||||
gimp-resynthesizer
|
||||
gpick
|
||||
GREYCstoration-gimp
|
||||
@@ -59,10 +57,6 @@ 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
|
||||
@@ -104,31 +98,41 @@ 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','list-design-tutorials.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']
|
||||
#Enable categories in Gnome Shell
|
||||
app-folder-categories=['Utilities', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Games', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', '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
|
||||
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
|
||||
|
||||
<<<<<<< HEAD
|
||||
# Add link to lists of tutorials
|
||||
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||
[Desktop Entry]
|
||||
Name=List of Design Tutorials
|
||||
Name=List of design tutorials
|
||||
GenericName=List of design tutorials
|
||||
Comment=Reference of graphic and web design related tutorials
|
||||
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;
|
||||
@@ -138,7 +142,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
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ sooperlooper
|
||||
|
||||
#recodring and DAW
|
||||
audacity
|
||||
ardour3
|
||||
ardour
|
||||
rosegarden4
|
||||
seq24
|
||||
muse
|
||||
@@ -124,9 +124,6 @@ lv2-triceratops
|
||||
lv2-newtonator
|
||||
lv2-x42-plugins
|
||||
lv2-fomp-plugins
|
||||
lv2-sorcer
|
||||
lv2-fabla
|
||||
lv2-artyfx-plugins
|
||||
|
||||
#dssi
|
||||
nekobee-dssi
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -11,8 +11,27 @@
|
||||
-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
|
||||
@@ -65,8 +84,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 +97,3 @@ midori
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -24,15 +24,14 @@ part / --size 10240
|
||||
%packages
|
||||
@xfce-desktop
|
||||
@xfce-apps
|
||||
#@xfce-extra-plugins
|
||||
#@xfce-media
|
||||
#@xfce-office
|
||||
#@firefox
|
||||
|
||||
# Security tools (not ready at the moment)
|
||||
@security-lab
|
||||
security-menus
|
||||
|
||||
# unlock default keyring. FIXME: Should probably be done in comps
|
||||
gnome-keyring-pam
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-acpid
|
||||
@@ -41,6 +40,12 @@ security-menus
|
||||
-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
|
||||
|
||||
@@ -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 10
|
||||
Fedora release 20 (Heisenbug)
|
||||
Sugar on a Stick 10 (Unknown)
|
||||
Fedora release 20 (Rawhide)
|
||||
EOF
|
||||
|
||||
# Add our activities to the favorites
|
||||
|
||||
@@ -12,9 +12,7 @@
|
||||
@lxde-apps
|
||||
@lxde-media
|
||||
@lxde-office
|
||||
|
||||
# FIXME: can be omitted once comps is updated
|
||||
midori
|
||||
@firefox
|
||||
|
||||
# pam-fprint causes a segfault in LXDM when enabled
|
||||
-fprintd-pam
|
||||
@@ -37,6 +35,9 @@ metacity
|
||||
#-man-pages-*
|
||||
#-words
|
||||
|
||||
# use ssmtp
|
||||
ssmtp
|
||||
|
||||
# save some space
|
||||
-autofs
|
||||
-acpid
|
||||
@@ -49,7 +50,10 @@ metacity
|
||||
-stix-fonts
|
||||
-ibus-typing-booster
|
||||
-xscreensaver-extras
|
||||
#-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
|
||||
-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
|
||||
|
||||
# drop some system-config things
|
||||
-system-config-boot
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Exactly one of the following should be uncommented
|
||||
|
||||
# For the master branch the following should be uncommented
|
||||
#%include fedora-repo-rawhide.ks
|
||||
%include fedora-repo-rawhide.ks
|
||||
|
||||
# For non-master branches the following should be uncommented
|
||||
%include fedora-repo-not-rawhide.ks
|
||||
# %include fedora-repo-not-rawhide.ks
|
||||
|
||||
Reference in New Issue
Block a user