mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-13 02:20:31 +08:00
Compare commits
29 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4697b2de60 | ||
|
|
dfbad4bdf5 | ||
|
|
efe8eb3fc8 | ||
|
|
a69afdb7e0 | ||
|
|
7611eb3c6e | ||
|
|
8d939b753c | ||
|
|
86b4eec9e5 | ||
|
|
24ba25bde9 | ||
|
|
3459312f7b | ||
|
|
5e908f8505 | ||
|
|
c2a28fe744 | ||
|
|
d56802ad50 | ||
|
|
e3d7bfead4 | ||
|
|
31998a3290 | ||
|
|
798c350d03 | ||
|
|
d05b776460 | ||
|
|
2efba63b42 | ||
|
|
c08ad8195f | ||
|
|
e686ccb4e9 | ||
|
|
fc62a6121f | ||
|
|
379a3025a9 | ||
|
|
30734cdc7e | ||
|
|
4477181faf | ||
|
|
1bfe603576 | ||
|
|
5b5fba2560 | ||
|
|
059e045353 | ||
|
|
3628a50d50 | ||
|
|
430c739d93 | ||
|
|
1141147b06 |
@@ -18,6 +18,6 @@ parole
|
|||||||
rhythmbox
|
rhythmbox
|
||||||
|
|
||||||
# extra backgrounds
|
# extra backgrounds
|
||||||
f35-backgrounds-extras-gnome
|
f36-backgrounds-extras-gnome
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ clearpart --all --initlabel --disklabel=gpt
|
|||||||
part prepboot --size=4 --fstype=prepboot
|
part prepboot --size=4 --fstype=prepboot
|
||||||
part biosboot --size=1 --fstype=biosboot
|
part biosboot --size=1 --fstype=biosboot
|
||||||
part /boot/efi --size=100 --fstype=efi
|
part /boot/efi --size=100 --fstype=efi
|
||||||
part /boot --size=500 --fstype=ext4 --label=boot
|
part /boot --size=1000 --fstype=ext4 --label=boot
|
||||||
part btrfs.007 --size=2000 --fstype=btrfs --grow
|
part btrfs.007 --size=2000 --fstype=btrfs --grow
|
||||||
btrfs none --label=fedora btrfs.007
|
btrfs none --label=fedora btrfs.007
|
||||||
btrfs /home --subvol --name=home LABEL=fedora
|
btrfs /home --subvol --name=home LABEL=fedora
|
||||||
@@ -87,10 +87,6 @@ qemu-guest-agent
|
|||||||
# in /usr/share/GeoIP
|
# in /usr/share/GeoIP
|
||||||
-geolite2-country
|
-geolite2-country
|
||||||
-geolite2-city
|
-geolite2-city
|
||||||
|
|
||||||
# Include dependencies for cloud-init on Azure.
|
|
||||||
gdisk
|
|
||||||
openssl
|
|
||||||
%end
|
%end
|
||||||
##### end package list ###############################################
|
##### end package list ###############################################
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
|||||||
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
||||||
#
|
#
|
||||||
umount /run
|
umount /run
|
||||||
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
rm -f /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||||
|
|
||||||
# Final pruning
|
# Final pruning
|
||||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
rm -rfv /var/cache/* /var/log/* /tmp/*
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ bash
|
|||||||
coreutils
|
coreutils
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
rpm
|
rpm
|
||||||
util-linux
|
util-linux-core
|
||||||
-kernel
|
-kernel
|
||||||
-dosfstools
|
-dosfstools
|
||||||
-e2fsprogs
|
-e2fsprogs
|
||||||
@@ -68,7 +68,13 @@ 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 --eval '%{fedora}')
|
releasever=$(rpm --eval '%{?fedora}')
|
||||||
|
|
||||||
|
# When building ELN containers, we don't have the %{fedora} macro
|
||||||
|
if [ -z $releasever ]; then
|
||||||
|
releasever=eln
|
||||||
|
fi
|
||||||
|
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
|||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
||||||
|
cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
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
|
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
@@ -92,4 +93,12 @@ touch /etc/machine-id
|
|||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
# Anaconda adds console=tty0 to the grub boot line on all images. this is problematic
|
||||||
|
# when you are using fedora via serial console as you do not get any output post grub
|
||||||
|
# linux does a good job of knowing what consoles need to be enabled.
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2022757
|
||||||
|
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||||
|
sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf
|
||||||
|
fi
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -1,48 +1,17 @@
|
|||||||
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
||||||
# This base is a standard Fedora-ELN image with python3 and dnf
|
# This base is a standard Fedora-ELN image with python3 and dnf
|
||||||
|
|
||||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
%include fedora-container-common.ks
|
||||||
bootloader --disabled
|
|
||||||
timezone --isUtc --nontp Etc/UTC
|
|
||||||
rootpw --lock --iscrypted locked
|
|
||||||
keyboard us
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
reboot
|
|
||||||
|
|
||||||
# boot partitions are irrelevant as the final docker image is a tarball
|
|
||||||
zerombr
|
|
||||||
clearpart --all
|
|
||||||
autopart --noboot --nohome --noswap --nolvm
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
||||||
|
-fedora-release-container
|
||||||
fedora-release-eln
|
fedora-release-eln
|
||||||
dnf-plugins-core
|
|
||||||
fedora-repos-eln
|
fedora-repos-eln
|
||||||
bash
|
|
||||||
coreutils
|
|
||||||
glibc-minimal-langpack
|
|
||||||
rpm
|
|
||||||
shadow-utils
|
|
||||||
sssd-client
|
|
||||||
util-linux
|
|
||||||
-kernel
|
|
||||||
-dosfstools
|
|
||||||
-e2fsprogs
|
|
||||||
-fuse-libs
|
|
||||||
-gnupg2-smime
|
|
||||||
-libss # used by e2fsprogs
|
|
||||||
-pinentry
|
|
||||||
-shared-mime-info
|
|
||||||
-trousers
|
|
||||||
-xkeyboard-config
|
|
||||||
-grubby
|
|
||||||
|
|
||||||
rootfiles
|
rootfiles
|
||||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
||||||
vim-minimal
|
vim-minimal
|
||||||
dnf
|
dnf
|
||||||
yum # DNF compatibility with yum
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||||
sssd-client
|
|
||||||
sudo
|
sudo
|
||||||
-glibc-langpack-en
|
-glibc-langpack-en
|
||||||
-langpacks-en
|
-langpacks-en
|
||||||
@@ -51,26 +20,9 @@ sudo
|
|||||||
%post --erroronfail --log=/root/anaconda-post.log
|
%post --erroronfail --log=/root/anaconda-post.log
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
# Set install langs macro so that new rpms that get installed will
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-primary \
|
||||||
# only install langs that we limit it to.
|
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-34-primary \
|
||||||
LANG="en_US"
|
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-35-primary
|
||||||
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"
|
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-primary /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-34-primary
|
|
||||||
|
|
||||||
# Disable conflicting repositories.
|
|
||||||
dnf config-manager --disable "*rawhide*" "*cisco*"
|
|
||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
|
||||||
rm -f /etc/machine-id
|
|
||||||
touch /etc/machine-id
|
|
||||||
|
|
||||||
# remove some extraneous files
|
# remove some extraneous files
|
||||||
rm -rf /var/cache/dnf/*
|
rm -rf /var/cache/dnf/*
|
||||||
@@ -92,6 +44,7 @@ printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
|||||||
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
||||||
#
|
#
|
||||||
umount /run
|
umount /run
|
||||||
|
rm -f /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||||
|
|
||||||
# Final pruning
|
# Final pruning
|
||||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
rm -rfv /var/cache/* /var/log/* /tmp/*
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ rootpw --lock --iscrypted locked
|
|||||||
bootloader --timeout=1 --append="modprobe.blacklist=vc4"
|
bootloader --timeout=1 --append="modprobe.blacklist=vc4"
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=NetworkManager,sshd,rngd
|
services --enabled=NetworkManager,sshd
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all --initlabel --disklabel=msdos
|
clearpart --all --initlabel --disklabel=msdos
|
||||||
@@ -19,7 +19,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/rawhide/${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
|
||||||
|
|
||||||
@@ -35,6 +35,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armhfp" ]]; then
|
|||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
||||||
|
cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
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
|
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
@@ -44,14 +45,14 @@ 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/rawhide/${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/rawhide/${arch}/iot" --create "fedora-iot:fedora/rawhide/${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/rawhide/${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
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ mariadb-connector-c
|
|||||||
mariadb-server
|
mariadb-server
|
||||||
|
|
||||||
# minimal localization support - allows installing the kde-l10n-* packages
|
# minimal localization support - allows installing the kde-l10n-* packages
|
||||||
system-config-language
|
|
||||||
kde-l10n
|
kde-l10n
|
||||||
|
|
||||||
# unwanted packages from @kde-desktop
|
# unwanted packages from @kde-desktop
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
# remove input methods to free space
|
# remove input methods to free space
|
||||||
%packages
|
%packages
|
||||||
-@input-methods
|
|
||||||
-scim*
|
-scim*
|
||||||
-iok
|
-iok
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the astronomy spin
|
# The recommended part size for DVDs is too close to use for the astronomy spin
|
||||||
part / --size 14500
|
part / --size 16000
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
@@ -37,17 +37,13 @@ fpack
|
|||||||
psfex
|
psfex
|
||||||
scamp
|
scamp
|
||||||
sextractor
|
sextractor
|
||||||
siril
|
#siril
|
||||||
skyviewer
|
skyviewer
|
||||||
swarp
|
swarp
|
||||||
wcstools
|
wcstools
|
||||||
|
|
||||||
# Observatory: KStars + INDI drivers
|
# Observatory: KStars + INDI drivers
|
||||||
indi-aagcloudwatcher
|
indi-3rdparty-drivers
|
||||||
indi-apogee
|
|
||||||
indi-eqmod
|
|
||||||
indi-gphoto
|
|
||||||
indi-sx
|
|
||||||
indistarter
|
indistarter
|
||||||
kstars
|
kstars
|
||||||
|
|
||||||
@@ -117,7 +113,8 @@ gimp
|
|||||||
kst
|
kst
|
||||||
kst-docs
|
kst-docs
|
||||||
kst-fits
|
kst-fits
|
||||||
LabPlot
|
# LabPlot currently not installable due to #2044284
|
||||||
|
#LabPlot
|
||||||
|
|
||||||
#Misc. Utils
|
#Misc. Utils
|
||||||
ImageMagick
|
ImageMagick
|
||||||
|
|||||||
@@ -85,6 +85,15 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
|||||||
alreadyMigrated=true
|
alreadyMigrated=true
|
||||||
KWALLET_EOL
|
KWALLET_EOL
|
||||||
|
|
||||||
|
# Disable automount of 'known' devices
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2073708
|
||||||
|
cat > /home/liveuser/.config/kded_device_automounterrc << AUTOMOUNTER_EOF
|
||||||
|
[General]
|
||||||
|
AutomountEnabled=false
|
||||||
|
AutomountOnLogin=false
|
||||||
|
AutomountOnPlugin=false
|
||||||
|
AUTOMOUNTER_EOF
|
||||||
|
|
||||||
# make sure to set the right permissions and selinux contexts
|
# make sure to set the right permissions and selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
%include fedora-kde-minimization.ks
|
%include fedora-kde-minimization.ks
|
||||||
|
|
||||||
# DVD payload
|
# DVD payload
|
||||||
part / --size=7200
|
part / --size=7500
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ FOE
|
|||||||
# disable updates plugin
|
# disable updates plugin
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||||
[org.gnome.software]
|
[org.gnome.software]
|
||||||
|
allow-updates=false
|
||||||
download-updates=false
|
download-updates=false
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
#include snippets/packagekit-cached-metadata.ks
|
#include snippets/packagekit-cached-metadata.ks
|
||||||
|
|
||||||
part / --size 7680
|
part / --size 7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@ cat >> /etc/rc.d/init.d/livesys << EOF
|
|||||||
# disable gnome-software automatically downloading updates
|
# disable gnome-software automatically downloading updates
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||||
[org.gnome.software]
|
[org.gnome.software]
|
||||||
|
allow-updates=false
|
||||||
download-updates=false
|
download-updates=false
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,12 @@ fusion-icon
|
|||||||
# blacklist applications which breaks mate-desktop
|
# blacklist applications which breaks mate-desktop
|
||||||
-audacious
|
-audacious
|
||||||
|
|
||||||
|
# see https://bugzilla.redhat.com/show_bug.cgi?id=2068699
|
||||||
|
# and https://bugzilla.redhat.com/show_bug.cgi?id=1933494
|
||||||
|
# use earlyoom instead of systemd-oomd-defaults
|
||||||
|
earlyoom
|
||||||
|
-systemd-oomd-defaults
|
||||||
|
|
||||||
# office
|
# office
|
||||||
@libreoffice
|
@libreoffice
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
|||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
||||||
|
cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
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
|
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ python3-pillow-tk
|
|||||||
# This is no longer workstation
|
# This is no longer workstation
|
||||||
-@workstation-product
|
-@workstation-product
|
||||||
|
|
||||||
|
# But we want to keep the Fedora desktop backgrounds
|
||||||
|
desktop-backgrounds-gnome
|
||||||
|
|
||||||
# Add a web browser
|
# Add a web browser
|
||||||
@firefox
|
@firefox
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -78,7 +78,8 @@ cat /etc/fedora-release >> /boot/olpc_build
|
|||||||
# Rebuild initrd for Sugar boot screen
|
# Rebuild initrd for Sugar boot screen
|
||||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||||
/usr/sbin/plymouth-set-default-theme sugar
|
/usr/sbin/plymouth-set-default-theme sugar
|
||||||
dracut -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
sed -i -r 's/(omit_dracutmodules\+\=.*) plymouth (.*)/\1 \2/' /etc/dracut.conf.d/99-liveos.conf
|
||||||
|
dracut --force-add plymouth -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||||
|
|
||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
@@ -109,3 +110,14 @@ EOF
|
|||||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post --nochroot
|
||||||
|
|
||||||
|
for n in initramfs initrd; do
|
||||||
|
for img in "$LIVE_ROOT/images/pxeboot/$n"* ; do
|
||||||
|
[ -e "$img" ] && cp -a "$INSTALL_ROOT"/boot/initramfs-*.img "$img"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -77,3 +77,7 @@ maintainers = [ "Rich Mattes", "Robotics SIG" ]
|
|||||||
[spins.i3.x86_64]
|
[spins.i3.x86_64]
|
||||||
fas = [ "jflory7", "defolos", "nasirhm", "odilhao", "x3mboy" ]
|
fas = [ "jflory7", "defolos", "nasirhm", "odilhao", "x3mboy" ]
|
||||||
maintainers = [ "Justin Flory", "Dan Čermák", "Nasir Hussain", "Odilon Junior", "Eduard Lucena" ]
|
maintainers = [ "Justin Flory", "Dan Čermák", "Nasir Hussain", "Odilon Junior", "Eduard Lucena" ]
|
||||||
|
|
||||||
|
[eln]
|
||||||
|
fas = [ "sgallagh", "tdawson", "asamalik" ]
|
||||||
|
maintainers = [ "Stephen Gallagher", "Troy Dawson", "Adam Samalik" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user