mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-11 01:20:30 +08:00
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 |
@@ -43,6 +43,11 @@ initial-setup-gui
|
|||||||
|
|
||||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||||
glibc-all-langpacks
|
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
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@@ -71,8 +76,13 @@ systemctl mask tmp.mount
|
|||||||
|
|
||||||
dnf -y remove dracut-config-generic
|
dnf -y remove dracut-config-generic
|
||||||
|
|
||||||
|
# Disable network service here, as doing it in the services line
|
||||||
|
# fails due to RHBZ #1369794
|
||||||
|
/sbin/chkconfig network off
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
# Remove machine-id on pre generated images
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ dnf
|
|||||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||||
sssd-client
|
sssd-client
|
||||||
sudo
|
sudo
|
||||||
|
-glibc-langpack-en
|
||||||
|
-cracklib-dicts
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
%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
|
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||||
|
|
||||||
%end
|
%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"
|
LANG="en_US"
|
||||||
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
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
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ autopart --nohome --noswap --type=plain
|
|||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
# Pull from the ostree repo that was created during the compose
|
# 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
|
reboot
|
||||||
|
|
||||||
@@ -44,19 +44,19 @@ fi
|
|||||||
|
|
||||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
# 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.
|
# 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
|
# Make sure the ref we're supposedly sitting on (according
|
||||||
# to the updated origin) exists.
|
# 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.
|
# 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
|
# delete/add the remote with new options to enable gpg verification
|
||||||
# and to point them at the cdn url
|
# and to point them at the cdn url
|
||||||
ostree remote delete fedora-iot
|
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
|
# We're gettin a stray console= from somewhere, work around it
|
||||||
rpm-ostree kargs --delete=console=tty0
|
rpm-ostree kargs --delete=console=tty0
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
# Maintainer:
|
# Maintainer:
|
||||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||||
# - Credit to Sebastian Dziallas for initiating the project
|
# - Credit to Sebastian Dziallas for initiating the project
|
||||||
|
|
||||||
%include fedora-live-workstation.ks
|
%include fedora-live-workstation.ks
|
||||||
|
|
||||||
# Size partition
|
# Size partition
|
||||||
@@ -17,11 +16,10 @@ part / --size 14336
|
|||||||
@design-suite
|
@design-suite
|
||||||
|
|
||||||
# Provides backup application
|
# Provides backup application
|
||||||
deja-dup
|
#deja-dup
|
||||||
deja-dup-nautilus
|
#deja-dup-nautilus
|
||||||
|
|
||||||
# Add extra gnome applications
|
# Add extra gnome applications
|
||||||
gnome-books
|
|
||||||
gnome-calendar
|
gnome-calendar
|
||||||
gnome-photos
|
gnome-photos
|
||||||
gnome-shell-extension-pomodoro
|
gnome-shell-extension-pomodoro
|
||||||
@@ -32,8 +30,7 @@ powerline
|
|||||||
powerline-fonts
|
powerline-fonts
|
||||||
|
|
||||||
# Extra wallpapers
|
# Extra wallpapers
|
||||||
f28-backgrounds-extras-base
|
f30-backgrounds-extras-gnome
|
||||||
f28-backgrounds-extras-gnome
|
|
||||||
|
|
||||||
# removal of unneeded applications
|
# removal of unneeded applications
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
@@ -41,7 +38,7 @@ f28-backgrounds-extras-gnome
|
|||||||
-rdesktop
|
-rdesktop
|
||||||
|
|
||||||
# temporarily removing conflicting application
|
# temporarily removing conflicting application
|
||||||
-LuxRender-blender
|
-synfigstudio
|
||||||
-mypaint
|
-mypaint
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
%include fedora-python-classroom-common.ks
|
%include fedora-python-classroom-common.ks
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
ninja-ide
|
||||||
emacs
|
emacs
|
||||||
python3-matplotlib-tk
|
python3-matplotlib-tk
|
||||||
python3-pillow-tk
|
python3-pillow-tk
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Exactly one of the following should be uncommented
|
# Exactly one of the following should be uncommented
|
||||||
|
|
||||||
# For the master branch 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
|
# For non-master branches the following should be uncommented
|
||||||
# %include fedora-repo-not-rawhide.ks
|
%include fedora-repo-not-rawhide.ks
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ gcc-gfortran
|
|||||||
rkward
|
rkward
|
||||||
|
|
||||||
# GUI for Octave
|
# GUI for Octave
|
||||||
qtoctave
|
#qtoctave
|
||||||
|
|
||||||
# julia
|
# julia
|
||||||
# Comment out till build failure is sorted
|
# Comment out till build failure is sorted
|
||||||
@@ -70,7 +70,7 @@ qtoctave
|
|||||||
# Workaround for https://pagure.io/releng/issue/7814
|
# Workaround for https://pagure.io/releng/issue/7814
|
||||||
-eclipse-linuxtools-vagrant
|
-eclipse-linuxtools-vagrant
|
||||||
|
|
||||||
spyder
|
#spyder
|
||||||
|
|
||||||
#writing & publishing
|
#writing & publishing
|
||||||
emacs
|
emacs
|
||||||
|
|||||||
Reference in New Issue
Block a user