mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ee03735d6 | ||
|
|
4f004227f3 | ||
|
|
d1d9de9a97 | ||
|
|
fa5c8ccf35 | ||
|
|
06ce4be308 | ||
|
|
9b0b39f7d6 | ||
|
|
24b73a6270 | ||
|
|
174b5721ec | ||
|
|
ab1363a4bc | ||
|
|
f84b197d1e | ||
|
|
2611d60fd0 | ||
|
|
200f6930a6 | ||
|
|
ab7ee6e6db | ||
|
|
6527f89bde | ||
|
|
86e0dc18cf | ||
|
|
d64a181fa3 |
@@ -43,11 +43,6 @@ 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
|
||||
@@ -76,13 +71,8 @@ systemctl mask tmp.mount
|
||||
|
||||
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
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ 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
|
||||
@@ -47,15 +45,3 @@ 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,9 +61,6 @@ 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)
|
||||
|
||||
@@ -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/stable/${basearch}/iot
|
||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${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/stable/${arch}/iot"
|
||||
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${arch}/iot"
|
||||
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --delete
|
||||
ostree refs "fedora-iot:fedora/devel/${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/ --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/RPM-GPG-KEY-fedora-iot-2019 --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
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# Maintainer:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Credit to Sebastian Dziallas for initiating the project
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
|
||||
# Size partition
|
||||
@@ -16,10 +17,11 @@ 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
|
||||
@@ -30,7 +32,8 @@ powerline
|
||||
powerline-fonts
|
||||
|
||||
# Extra wallpapers
|
||||
f30-backgrounds-extras-gnome
|
||||
f28-backgrounds-extras-base
|
||||
f28-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
@@ -38,7 +41,7 @@ f30-backgrounds-extras-gnome
|
||||
-rdesktop
|
||||
|
||||
# temporarily removing conflicting application
|
||||
-synfigstudio
|
||||
-LuxRender-blender
|
||||
-mypaint
|
||||
|
||||
%end
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
%include fedora-python-classroom-common.ks
|
||||
|
||||
%packages
|
||||
ninja-ide
|
||||
emacs
|
||||
python3-matplotlib-tk
|
||||
python3-pillow-tk
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -57,7 +57,7 @@ gcc-gfortran
|
||||
rkward
|
||||
|
||||
# GUI for Octave
|
||||
#qtoctave
|
||||
qtoctave
|
||||
|
||||
# julia
|
||||
# Comment out till build failure is sorted
|
||||
@@ -70,7 +70,7 @@ rkward
|
||||
# Workaround for https://pagure.io/releng/issue/7814
|
||||
-eclipse-linuxtools-vagrant
|
||||
|
||||
#spyder
|
||||
spyder
|
||||
|
||||
#writing & publishing
|
||||
emacs
|
||||
|
||||
Reference in New Issue
Block a user