forked from srbala/fedora-kickstarts
Compare commits
27 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fae67ed384 | ||
|
fd6025e168 | ||
|
7c254d7c60 | ||
|
3bb07d1948 | ||
|
81e49bbfd0 | ||
|
d0d91d3f8e | ||
|
c63d8f8560 | ||
|
61bf8cdef3 | ||
|
4e58ddb00b | ||
|
7eab7b8dc2 | ||
|
34753edf2e | ||
|
3cd095d5b4 | ||
|
58502625d2 | ||
|
5d46dd6986 | ||
|
28b2dbbff6 | ||
|
46e180a422 | ||
|
b96e230217 | ||
|
b525c94e2a | ||
|
831ab51972 | ||
|
49515fa6c0 | ||
|
82ad98acef | ||
|
472e817c11 | ||
|
c928f5e820 | ||
|
5ef5d1443e | ||
|
cda710675f | ||
|
0d9a3ed849 | ||
|
1fa1ac23b2 |
@ -44,6 +44,10 @@ initial-setup-gui
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
glibc-all-langpacks
|
||||
|
||||
# this ks uses it in %post, and imgcreate also uses it in the installed
|
||||
# system root, so it needs to be there
|
||||
chkconfig
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
@ -2,7 +2,7 @@
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-mate-common.ks
|
||||
|
||||
part / --size=6100 --fstype ext4
|
||||
part / --size=7168 --fstype ext4
|
||||
|
||||
%post
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
@input-methods
|
||||
@multimedia
|
||||
@printing
|
||||
epiphany
|
||||
%end
|
||||
|
||||
%post
|
||||
|
@ -14,6 +14,6 @@
|
||||
parole
|
||||
|
||||
# extra backgrounds
|
||||
f29-backgrounds-extras-gnome
|
||||
f30-backgrounds-extras-gnome
|
||||
|
||||
%end
|
||||
|
@ -137,7 +137,7 @@ echo "Removing firewalld."
|
||||
# not work when package was installed by Anaconda instead of command line.
|
||||
# Also -- check if this is still even needed with new anaconda -- disabled
|
||||
# firewall should _not_ pull in this package.
|
||||
# yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y erase "firewalld*"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
|
@ -112,12 +112,12 @@ rpm -e linux-firmware
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
@ -176,10 +176,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
echo "Cleaning old dnf repodata."
|
||||
dnf history new
|
||||
dnf clean all
|
||||
truncate -c -s 0 /var/log/dnf.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
@ -204,7 +204,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
mkdir -p /var/cache/dnf
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
|
@ -103,12 +103,12 @@ rpm -e linux-firmware
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
echo "Removing firewalld."
|
||||
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
# Another one needed at install time but not after that, and it pulls
|
||||
# in some unneeded deps (like, newt and slang)
|
||||
echo "Removing authconfig."
|
||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||
|
||||
echo -n "Getty fixes"
|
||||
# although we want console output going to the serial console, we don't
|
||||
@ -167,10 +167,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
echo "Cleaning old yum repodata."
|
||||
yum history new
|
||||
yum clean all
|
||||
truncate -c -s 0 /var/log/yum.log
|
||||
echo "Cleaning old dnf repodata."
|
||||
dnf history new
|
||||
dnf clean all
|
||||
truncate -c -s 0 /var/log/dnf.log
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
@ -196,7 +196,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
mkdir -p /var/cache/dnf
|
||||
chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
@ -12,7 +12,9 @@ vim-minimal
|
||||
dnf
|
||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||
sssd-client
|
||||
|
||||
sudo
|
||||
-glibc-langpack-en
|
||||
-cracklib-dicts
|
||||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
@ -45,3 +47,15 @@ systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
||||
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||
|
||||
%end
|
||||
|
||||
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
|
||||
set -eux
|
||||
|
||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
|
||||
# NOTE: run this in nochroot because "find" does not exist in chroot
|
||||
KEEPLANG=en_US
|
||||
for dir in locale i18n; do
|
||||
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
|
||||
done
|
||||
|
||||
%end
|
||||
|
@ -61,6 +61,9 @@ set -eux
|
||||
LANG="en_US"
|
||||
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1727489
|
||||
echo 'LANG="C.UTF-8"' > /etc/locale.conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
||||
|
@ -8,12 +8,15 @@ autopart --noswap
|
||||
# install the default groups for the server environment since installing the environment is not working
|
||||
@server-product
|
||||
@standard
|
||||
@core
|
||||
@headless-management
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
@container-management
|
||||
@domain-client
|
||||
@guest-agents
|
||||
@server-hardware-support
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
%end
|
||||
|
@ -24,7 +24,7 @@ autopart --nohome --noswap --type=plain
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
# Pull from the ostree repo that was created during the compose
|
||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${basearch}/iot
|
||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/stable/${basearch}/iot
|
||||
|
||||
reboot
|
||||
|
||||
@ -44,19 +44,19 @@ fi
|
||||
|
||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
||||
# We want consumers of this image to track the two week releases.
|
||||
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot"
|
||||
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/stable/${arch}/iot"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot"
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${arch}/iot"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --delete
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --delete
|
||||
|
||||
# delete/add the remote with new options to enable gpg verification
|
||||
# and to point them at the cdn url
|
||||
ostree remote delete fedora-iot
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-iot-2019 --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/ --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
|
||||
|
||||
# We're gettin a stray console= from somewhere, work around it
|
||||
rpm-ostree kargs --delete=console=tty0
|
||||
|
@ -65,6 +65,7 @@ glibc-all-langpacks
|
||||
|
||||
# no longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
%end
|
||||
|
||||
%post
|
||||
|
@ -6,7 +6,6 @@
|
||||
# Maintainer:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Credit to Sebastian Dziallas for initiating the project
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
|
||||
# Size partition
|
||||
@ -17,11 +16,10 @@ part / --size 14336
|
||||
@design-suite
|
||||
|
||||
# Provides backup application
|
||||
deja-dup
|
||||
deja-dup-nautilus
|
||||
#deja-dup
|
||||
#deja-dup-nautilus
|
||||
|
||||
# Add extra gnome applications
|
||||
gnome-books
|
||||
gnome-calendar
|
||||
gnome-photos
|
||||
gnome-shell-extension-pomodoro
|
||||
@ -32,8 +30,7 @@ powerline
|
||||
powerline-fonts
|
||||
|
||||
# Extra wallpapers
|
||||
f28-backgrounds-extras-base
|
||||
f28-backgrounds-extras-gnome
|
||||
f30-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
@ -41,7 +38,7 @@ f28-backgrounds-extras-gnome
|
||||
-rdesktop
|
||||
|
||||
# temporarily removing conflicting application
|
||||
-LuxRender-blender
|
||||
-synfigstudio
|
||||
-mypaint
|
||||
|
||||
%end
|
||||
|
@ -6,3 +6,6 @@
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
%include fedora-python-classroom-gnome-common.ks
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1695796
|
||||
part / --size 7168
|
||||
|
@ -17,6 +17,8 @@ wget
|
||||
-python33
|
||||
-python34
|
||||
-python35
|
||||
-python36
|
||||
-python38
|
||||
-pypy
|
||||
|
||||
%end
|
||||
|
@ -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
|
||||
|
@ -28,14 +28,6 @@ armadillo-devel
|
||||
ddd
|
||||
valgrind
|
||||
|
||||
#python 2 tools/libraries not included from the groups
|
||||
python2-tools
|
||||
python-ipython
|
||||
python-ipython-console
|
||||
python-ipython-notebook
|
||||
sympy
|
||||
python-networkx
|
||||
python-pandas
|
||||
|
||||
#python 3 and tools/libraries not included from the groups
|
||||
python3
|
||||
@ -51,8 +43,6 @@ python3-networkx
|
||||
python3-pandas
|
||||
|
||||
# matplotlib backends
|
||||
python-matplotlib-qt4
|
||||
python-matplotlib-tk
|
||||
python3-matplotlib-qt4
|
||||
python3-matplotlib-tk
|
||||
|
||||
@ -67,7 +57,7 @@ gcc-gfortran
|
||||
rkward
|
||||
|
||||
# GUI for Octave
|
||||
qtoctave
|
||||
#qtoctave
|
||||
|
||||
# julia
|
||||
# Comment out till build failure is sorted
|
||||
@ -80,7 +70,7 @@ qtoctave
|
||||
# Workaround for https://pagure.io/releng/issue/7814
|
||||
-eclipse-linuxtools-vagrant
|
||||
|
||||
spyder
|
||||
#spyder
|
||||
|
||||
#writing & publishing
|
||||
emacs
|
||||
@ -101,7 +91,6 @@ openmpi
|
||||
openmpi-devel
|
||||
valgrind-openmpi
|
||||
libgomp
|
||||
python-pp
|
||||
mpi4py-openmpi
|
||||
python3-mpi4py-openmpi
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang de_DE
|
||||
keyboard sg-latin1-nodeadkeys
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Fabian Affolter <fab at fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang de_DE.UTF-8
|
||||
keyboard de-latin1-nodeadkeys
|
||||
|
@ -6,7 +6,7 @@
|
||||
# Maintainer(s):
|
||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang fr_FR.UTF-8
|
||||
keyboard fr-latin9
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang nl_NL
|
||||
keyboard us
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang pt_PT.UTF-8
|
||||
keyboard pt-latin1
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer(s):
|
||||
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||
|
||||
%include ../fedora-livecd-xfce.ks
|
||||
%include ../fedora-live-xfce.ks
|
||||
|
||||
lang ru_RU.UTF-8
|
||||
keyboard ru
|
||||
|
Loading…
Reference in New Issue
Block a user