mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
028fd2edcd | ||
|
|
9e89057b4a | ||
|
|
5f9a323aea | ||
|
|
899bc45aa1 | ||
|
|
8c83a275ee | ||
|
|
847afdf7a0 | ||
|
|
1fd9547603 | ||
|
|
4a677c7613 | ||
|
|
b8f8e39b7c | ||
|
|
b8b9f532b6 | ||
|
|
de39b451c9 | ||
|
|
249374e72b | ||
|
|
5f600c3412 | ||
|
|
a0ad041cc3 | ||
|
|
97368dfb7b | ||
|
|
1052911243 | ||
|
|
5dc350ad94 | ||
|
|
c6bc0981c7 | ||
|
|
29304129a0 | ||
|
|
fcebc307ad | ||
|
|
19a58f0fc6 | ||
|
|
1ba38e3f1f | ||
|
|
2bad7a13cb | ||
|
|
46f3891c5c | ||
|
|
c5e43ec1f9 |
@@ -6,7 +6,7 @@ firewall --enabled --service=mdns,ssh
|
||||
|
||||
bootloader --location=mbr
|
||||
|
||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||
part /boot/efi --size=80 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext4 --asprimary
|
||||
part / --size=2800 --fstype ext4 --asprimary
|
||||
|
||||
@@ -39,7 +39,6 @@ initial-setup-gui
|
||||
-iwl*
|
||||
-ipw*
|
||||
-usb_modeswitch
|
||||
-iproute-tc
|
||||
#lets resize / on first boot
|
||||
# dracut-modules-growroot
|
||||
|
||||
@@ -51,10 +50,8 @@ glibc-all-langpacks
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
sed -i '/vfat/ d' /etc/fstab
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
%include fedora-minimal-common.ks
|
||||
|
||||
part /boot --size=512 --fstype ext4
|
||||
part swap --size=256 --fstype swap
|
||||
part / --size=1256 --fstype ext4
|
||||
|
||||
%packages
|
||||
|
||||
27
fedora-atomic-testing-base.ks
Normal file
27
fedora-atomic-testing-base.ks
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
# ./fedora-atomic-testing-base.ks - for building media from the testing
|
||||
# refs (fedora/29/${basearch}/testing/atomic-host)
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/testing/atomic-host
|
||||
|
||||
%post --erroronfail
|
||||
# Find the architecture we are on
|
||||
arch=$(uname -m)
|
||||
# Set the origin to the "main stable ref", distinct from /testing/ which is where bodhi writes.
|
||||
# We want consumers of this image to track the two week releases.
|
||||
ostree admin set-origin --index 0 fedora-atomic https://dl.fedoraproject.org/atomic/repo/ "fedora/29/${arch}/atomic-host"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets
|
||||
# cleaned up.
|
||||
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --delete
|
||||
|
||||
# delete/add the remote with new options to enable gpg verification
|
||||
# and to point them at the cdn url
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
||||
|
||||
%end
|
||||
6
fedora-atomic-testing.ks
Normal file
6
fedora-atomic-testing.ks
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
# ./fedora-atomic-testing.ks - for building base cloud media
|
||||
# from the testing refs (fedora/29/${basearch}/testing/atomic-host)
|
||||
|
||||
%include fedora-atomic.ks
|
||||
%include fedora-atomic-testing-base.ks
|
||||
27
fedora-atomic-updates-base.ks
Normal file
27
fedora-atomic-updates-base.ks
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
# ./fedora-atomic-updates-base.ks - for building media from the updates
|
||||
# refs (fedora/29/${basearch}/updates/atomic-host)
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/updates/atomic-host
|
||||
|
||||
%post --erroronfail
|
||||
# Find the architecture we are on
|
||||
arch=$(uname -m)
|
||||
# Set the origin to the "main stable 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-atomic https://dl.fedoraproject.org/atomic/repo/ "fedora/29/${arch}/atomic-host"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets
|
||||
# cleaned up.
|
||||
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --delete
|
||||
|
||||
# delete/add the remote with new options to enable gpg verification
|
||||
# and to point them at the cdn url
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
||||
|
||||
%end
|
||||
6
fedora-atomic-updates.ks
Normal file
6
fedora-atomic-updates.ks
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
# ./fedora-atomic-updates.ks - for building base cloud media
|
||||
# from the updates refs (fedora/29/${basearch}/updates/atomic-host)
|
||||
|
||||
%include fedora-atomic.ks
|
||||
%include fedora-atomic-updates-base.ks
|
||||
6
fedora-atomic-vagrant-testing.ks
Normal file
6
fedora-atomic-vagrant-testing.ks
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
# ./fedora-atomic-vagrant-testing.ks - for building media from the testing
|
||||
# refs (fedora/29/${basearch}/testing/atomic-host) for vagrant
|
||||
|
||||
%include fedora-atomic-vagrant.ks
|
||||
%include fedora-atomic-testing-base.ks
|
||||
6
fedora-atomic-vagrant-updates.ks
Normal file
6
fedora-atomic-vagrant-updates.ks
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
# ./fedora-atomic-vagrant-updates.ks - for building media from the updates
|
||||
# refs (fedora/29/${basearch}/updates/atomic-host) for vagrant
|
||||
|
||||
%include fedora-atomic-vagrant.ks
|
||||
%include fedora-atomic-updates-base.ks
|
||||
@@ -58,7 +58,7 @@ logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
# Pull from the ostree repo that was created during the compose
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/rawhide/${basearch}/atomic-host
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/atomic-host
|
||||
|
||||
reboot
|
||||
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
@networkmanager-submodules
|
||||
@cinnamon-desktop
|
||||
@libreoffice
|
||||
parole
|
||||
|
||||
# extra backgrounds
|
||||
f28-backgrounds-extras-gnome
|
||||
f29-backgrounds-extras-gnome
|
||||
|
||||
%end
|
||||
|
||||
@@ -46,11 +46,10 @@ rng-tools
|
||||
chrony
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
# Intel wireless firmware assumed never of use for disk images
|
||||
-iwl*
|
||||
-ipw*
|
||||
-trousers-lib
|
||||
-usb_modeswitch
|
||||
-iproute-tc
|
||||
-generic-release*
|
||||
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
@@ -61,8 +60,6 @@ glibc-all-langpacks
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
|
||||
@@ -19,7 +19,7 @@ services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
||||
firstboot --reconfig --enable
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
clearpart --all --initlabel --disklabel=msdos
|
||||
autopart --nohome --noswap --type=plain
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
@@ -34,9 +34,7 @@ arch=$(uname -m)
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
||||
if [[ $arch == "aarch64" ]]; then
|
||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
else
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
|
||||
@@ -95,11 +95,10 @@ livedir="LiveOS"
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##rd.live.dir=}
|
||||
return
|
||||
continue
|
||||
fi
|
||||
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##live_dir=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -154,7 +153,6 @@ findPersistentHome() {
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
|
||||
homedev=\${arg##persistenthome=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
# - Dan Book <grinnz@grinnz.com>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-cinnamon-common.ks
|
||||
|
||||
part / --size=6144
|
||||
|
||||
@@ -5,11 +5,8 @@
|
||||
|
||||
# save some space
|
||||
-mpage
|
||||
-sox
|
||||
-hplip
|
||||
-numactl
|
||||
-isdn4k-utils
|
||||
-autofs
|
||||
|
||||
# scanning takes quite a bit of space :/
|
||||
-xsane
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#
|
||||
# Maintainers:
|
||||
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#
|
||||
# Maintainer(s):
|
||||
# – Christian Dersch <lupinix@fedoraproject.org>
|
||||
# – Zamir SUN <zsun@fedoraproject.org>
|
||||
#
|
||||
|
||||
%packages
|
||||
@@ -26,6 +27,9 @@ pavucontrol-qt-l10n
|
||||
# MP3
|
||||
gstreamer1-plugin-mpg123
|
||||
|
||||
# Editor
|
||||
enki
|
||||
|
||||
# remove unneeded stuff to get a lightweight system
|
||||
# fonts (we make no bones about admitting we're english-only)
|
||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
|
||||
@@ -35,7 +35,6 @@ nss-mdns
|
||||
# Drop things for size
|
||||
-@3d-printing
|
||||
-brasero
|
||||
-colord
|
||||
-fedora-icon-theme
|
||||
-gnome-icon-theme
|
||||
-gnome-icon-theme-symbolic
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
-glibc-all-langpacks
|
||||
# recommended by iproute, we don't want it in minimal
|
||||
-iproute-tc
|
||||
# recommended by gnutls, we don't want it in minimal
|
||||
-trousers
|
||||
glibc-langpack-en
|
||||
iw
|
||||
NetworkManager-wifi
|
||||
|
||||
@@ -56,8 +56,6 @@ dhcp-client
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -70,11 +70,14 @@ rkward
|
||||
qtoctave
|
||||
|
||||
# julia
|
||||
julia
|
||||
julia-doc
|
||||
# Comment out till https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
|
||||
# julia
|
||||
# julia-doc
|
||||
|
||||
# IDEs for the IDE folks
|
||||
@eclipse
|
||||
# Workaround for: https://pagure.io/releng/issue/7814
|
||||
-eclipse-linuxtools-vagrant
|
||||
spyder
|
||||
|
||||
#writing & publishing
|
||||
|
||||
@@ -92,7 +92,7 @@ sugar-logos
|
||||
# Rebuild initrd for Sugar boot screen
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
/usr/sbin/plymouth-set-default-theme sugar
|
||||
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
@@ -163,6 +163,16 @@ show-logout=false
|
||||
[org.sugarlabs.power]
|
||||
automatic=true
|
||||
EOF
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# For lorax/livemedia-creator builds.
|
||||
sed -i '
|
||||
/## make boot.iso/ i\
|
||||
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
|
||||
<% f = "usr/bin/livecd-iso-to-disk" %>\
|
||||
%if exists(f):\
|
||||
install ${f} ${LIVEDIR}/${f|basename}\
|
||||
%endif\
|
||||
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
|
||||
|
||||
%end
|
||||
|
||||
@@ -38,6 +38,5 @@ system-config-printer
|
||||
-desktop-backgrounds-basic
|
||||
-aspell-* # dictionaries are big
|
||||
-xfce4-sensors-plugin
|
||||
-foomatic-db-ppds
|
||||
|
||||
%end
|
||||
|
||||
Reference in New Issue
Block a user