fix up kickstarts
This commit is contained in:
parent
5c668d21b7
commit
41e1d78dee
@ -1,4 +1,4 @@
|
|||||||
# Generated by pykickstart v3.32
|
# Generated by pykickstart v3.36
|
||||||
#version=DEVEL
|
#version=DEVEL
|
||||||
# X Window System configuration information
|
# X Window System configuration information
|
||||||
xconfig --startxonboot
|
xconfig --startxonboot
|
||||||
@ -36,7 +36,7 @@ zerombr
|
|||||||
clearpart --all
|
clearpart --all
|
||||||
# Disk partitioning information
|
# Disk partitioning information
|
||||||
part / --fstype="ext4" --size=5120
|
part / --fstype="ext4" --size=5120
|
||||||
part / --size=7300
|
part / --size=7000
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# FIXME: it'd be better to get this installed from a package
|
# FIXME: it'd be better to get this installed from a package
|
||||||
@ -311,7 +311,33 @@ rm -f /boot/*-rescue*
|
|||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
# set default GTK+ theme for root (see #683855, #689070, #809.02)
|
%end
|
||||||
|
|
||||||
|
%post --nochroot
|
||||||
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||||
|
|
||||||
|
# only works on x86_64
|
||||||
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
# For livecd-creator builds
|
||||||
|
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||||
|
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||||
|
|
||||||
|
# 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
|
||||||
|
fi
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||||
cat > /root/.gtkrc-2.0 << EOF
|
cat > /root/.gtkrc-2.0 << EOF
|
||||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||||
include "/etc/gtk-2.0/gtkrc"
|
include "/etc/gtk-2.0/gtkrc"
|
||||||
@ -354,14 +380,6 @@ MENU_EOF
|
|||||||
|
|
||||||
# show liveinst.desktop on desktop and in menu
|
# show liveinst.desktop on desktop and in menu
|
||||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
|
|
||||||
# debrand
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/liveinst.desktop
|
|
||||||
|
|
||||||
# set executable bit disable KDE security warning
|
# set executable bit disable KDE security warning
|
||||||
chmod +x /usr/share/applications/liveinst.desktop
|
chmod +x /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
@ -380,9 +398,6 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
|||||||
Driver=QSQLITE3
|
Driver=QSQLITE3
|
||||||
AKONADI_EOF
|
AKONADI_EOF
|
||||||
|
|
||||||
# Disable plasma-pk-updates if applicable
|
|
||||||
rpm -e plasma-pk-updates
|
|
||||||
|
|
||||||
# "Disable plasma-discover-notifier"
|
# "Disable plasma-discover-notifier"
|
||||||
mkdir -p /home/liveuser/.config/autostart
|
mkdir -p /home/liveuser/.config/autostart
|
||||||
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
||||||
@ -394,8 +409,6 @@ cat > /home/liveuser/.config/baloofilerc << BALOO_EOF
|
|||||||
Indexing-Enabled=false
|
Indexing-Enabled=false
|
||||||
BALOO_EOF
|
BALOO_EOF
|
||||||
|
|
||||||
mkdir -p ~liveuser/.kde/share/config/
|
|
||||||
|
|
||||||
# Disable kres-migrator
|
# Disable kres-migrator
|
||||||
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||||
[Migration]
|
[Migration]
|
||||||
@ -407,6 +420,14 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
|||||||
[Migration]
|
[Migration]
|
||||||
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/
|
||||||
@ -420,28 +441,6 @@ dnf config-manager --set-enabled crb
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --nochroot
|
|
||||||
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
|
||||||
|
|
||||||
# only works on x86_64
|
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|
||||||
# For livecd-creator builds
|
|
||||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
|
||||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
|
||||||
|
|
||||||
# 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
|
|
||||||
fi
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@^kde-desktop-environment
|
@^kde-desktop-environment
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
@ -479,9 +478,9 @@ mariadb-embedded
|
|||||||
mariadb-server
|
mariadb-server
|
||||||
memtest86+
|
memtest86+
|
||||||
sddm
|
sddm
|
||||||
sddm-themes
|
|
||||||
sddm-breeze
|
sddm-breeze
|
||||||
sddm-kcm
|
sddm-kcm
|
||||||
|
sddm-themes
|
||||||
syslinux
|
syslinux
|
||||||
-@admin-tools
|
-@admin-tools
|
||||||
-@input-methods
|
-@input-methods
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Generated by pykickstart v3.32
|
# Generated by pykickstart v3.36
|
||||||
#version=DEVEL
|
#version=DEVEL
|
||||||
# X Window System configuration information
|
# X Window System configuration information
|
||||||
xconfig --startxonboot
|
xconfig --startxonboot
|
||||||
@ -34,7 +34,7 @@ zerombr
|
|||||||
clearpart --all
|
clearpart --all
|
||||||
# Disk partitioning information
|
# Disk partitioning information
|
||||||
part / --fstype="ext4" --size=5120
|
part / --fstype="ext4" --size=5120
|
||||||
part / --size=6656
|
part / --size=7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# FIXME: it'd be better to get this installed from a package
|
# FIXME: it'd be better to get this installed from a package
|
||||||
@ -309,6 +309,32 @@ rm -f /boot/*-rescue*
|
|||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --nochroot
|
||||||
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||||
|
|
||||||
|
# This only works on x86_64
|
||||||
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
# For livecd-creator builds
|
||||||
|
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||||
|
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||||
|
|
||||||
|
# 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
|
||||||
|
fi
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|
||||||
|
|
||||||
@ -351,17 +377,12 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
@ -396,28 +417,6 @@ EOF
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --nochroot
|
|
||||||
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
|
||||||
|
|
||||||
# This only works on x86_64
|
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|
||||||
# For livecd-creator builds
|
|
||||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
|
||||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
|
||||||
|
|
||||||
# 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
|
|
||||||
fi
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
@base-x
|
@base-x
|
||||||
@ -427,6 +426,7 @@ fi
|
|||||||
@guest-desktop-agents
|
@guest-desktop-agents
|
||||||
@hardware-support
|
@hardware-support
|
||||||
@internet-browser
|
@internet-browser
|
||||||
|
@multimedia
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
aajohan-comfortaa-fonts
|
aajohan-comfortaa-fonts
|
||||||
anaconda
|
anaconda
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Generated by pykickstart v3.32
|
# Generated by pykickstart v3.36
|
||||||
#version=DEVEL
|
#version=DEVEL
|
||||||
# X Window System configuration information
|
# X Window System configuration information
|
||||||
xconfig --startxonboot
|
xconfig --startxonboot
|
||||||
@ -34,7 +34,7 @@ zerombr
|
|||||||
clearpart --all
|
clearpart --all
|
||||||
# Disk partitioning information
|
# Disk partitioning information
|
||||||
part / --fstype="ext4" --size=5120
|
part / --fstype="ext4" --size=5120
|
||||||
part / --size=6656
|
part / --size=7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# FIXME: it'd be better to get this installed from a package
|
# FIXME: it'd be better to get this installed from a package
|
||||||
@ -309,12 +309,39 @@ rm -f /boot/*-rescue*
|
|||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --nochroot
|
||||||
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||||
|
|
||||||
|
# This only works on x86_64
|
||||||
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
# For livecd-creator builds
|
||||||
|
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||||
|
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||||
|
|
||||||
|
# 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
|
||||||
|
fi
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
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
|
||||||
|
|
||||||
@ -351,21 +378,21 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
|
||||||
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
|
welcome-dialog-last-shown-version='4294967295'
|
||||||
|
FOE
|
||||||
|
|
||||||
# Copy Anaconda branding in place
|
# Copy Anaconda branding in place
|
||||||
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||||
cp -a /usr/share/lorax/product/* /
|
cp -a /usr/share/lorax/product/* /
|
||||||
@ -396,28 +423,6 @@ EOF
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --nochroot
|
|
||||||
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
|
||||||
|
|
||||||
# This only works on x86_64
|
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|
||||||
# For livecd-creator builds
|
|
||||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
|
||||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
|
||||||
|
|
||||||
# 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
|
|
||||||
fi
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
@base-x
|
@base-x
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Generated by pykickstart v3.32
|
# Generated by pykickstart v3.36
|
||||||
#version=DEVEL
|
#version=DEVEL
|
||||||
# X Window System configuration information
|
# X Window System configuration information
|
||||||
xconfig --startxonboot
|
xconfig --startxonboot
|
||||||
@ -311,6 +311,31 @@ rm -f /boot/*-rescue*
|
|||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --nochroot
|
||||||
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||||
|
|
||||||
|
# only works on x86_64
|
||||||
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
# For livecd-creator builds
|
||||||
|
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||||
|
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||||
|
|
||||||
|
# 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
|
||||||
|
fi
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
# xfce configuration
|
# xfce configuration
|
||||||
|
|
||||||
# create /etc/sysconfig/desktop (needed for installation)
|
# create /etc/sysconfig/desktop (needed for installation)
|
||||||
@ -324,9 +349,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
|
|||||||
|
|
||||||
mkdir -p /home/liveuser/.config/xfce4
|
mkdir -p /home/liveuser/.config/xfce4
|
||||||
# ugly stuff, this should give us a default background for now
|
# ugly stuff, this should give us a default background for now
|
||||||
mkdir -p /usr/share/backgrounds/images
|
#mkdir -p /usr/share/backgrounds/images
|
||||||
ln -s /usr/share/backgrounds/f32/default/f32.png \
|
#ln -s /usr/share/backgrounds/f32/default/f32.png \
|
||||||
/usr/share/backgrounds/images/default.png
|
# /usr/share/backgrounds/images/default.png
|
||||||
|
|
||||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||||
MailReader=sylpheed-claws
|
MailReader=sylpheed-claws
|
||||||
@ -368,15 +393,15 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
|
|||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
|
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
|
||||||
|
|
||||||
# no updater applet in live environment
|
|
||||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|
||||||
|
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# no updater applet in live environment
|
||||||
|
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
||||||
|
|
||||||
# and mark it as executable (new Xfce security feature)
|
# and mark it as executable (new Xfce security feature)
|
||||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||||
|
|
||||||
@ -391,32 +416,12 @@ EOF
|
|||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
systemctl enable --force lightdm.service
|
systemctl enable --force lightdm.service
|
||||||
|
|
||||||
|
# CRB needs to be enabled for EPEL to function.
|
||||||
dnf config-manager --set-enabled crb
|
dnf config-manager --set-enabled crb
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --nochroot
|
|
||||||
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
|
||||||
|
|
||||||
# only works on x86_64
|
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|
||||||
# For livecd-creator builds
|
|
||||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
|
||||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
|
||||||
|
|
||||||
# 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
|
|
||||||
fi
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
@base-x
|
@base-x
|
||||||
@ -436,38 +441,31 @@ anaconda-live
|
|||||||
chkconfig
|
chkconfig
|
||||||
dracut-live
|
dracut-live
|
||||||
epel-release
|
epel-release
|
||||||
f32-backgrounds-extras-xfce
|
f35-backgrounds-extras-xfce
|
||||||
f32-backgrounds-xfce
|
f35-backgrounds-xfce
|
||||||
firefox
|
firefox
|
||||||
firewall-config
|
firewall-config
|
||||||
geany
|
|
||||||
glibc-all-langpacks
|
glibc-all-langpacks
|
||||||
gparted
|
gparted
|
||||||
initscripts
|
initscripts
|
||||||
kernel
|
kernel
|
||||||
kernel-modules
|
kernel-modules
|
||||||
kernel-modules-extra
|
kernel-modules-extra
|
||||||
|
lightdm
|
||||||
memtest86+
|
memtest86+
|
||||||
mousepad
|
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pcp-selinux
|
pcp-selinux
|
||||||
pidgin
|
|
||||||
rhythmbox
|
|
||||||
ristretto
|
|
||||||
rocky-backgrounds
|
rocky-backgrounds
|
||||||
lightdm
|
|
||||||
seahorse
|
seahorse
|
||||||
syslinux
|
syslinux
|
||||||
thunderbird
|
thunderbird
|
||||||
transmission
|
|
||||||
wget
|
wget
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
xfce4-about
|
xfce4-about
|
||||||
xfce4-appfinder
|
xfce4-appfinder
|
||||||
xfce4-battery-plugin
|
|
||||||
xfce4-datetime-plugin
|
xfce4-datetime-plugin
|
||||||
xfce4-netload-plugin
|
xfce4-netload-plugin
|
||||||
xfce4-places-plugin
|
|
||||||
xfce4-pulseaudio-plugin
|
|
||||||
xfce4-screenshooter-plugin
|
xfce4-screenshooter-plugin
|
||||||
xfce4-smartbookmark-plugin
|
xfce4-smartbookmark-plugin
|
||||||
xfce4-systemload-plugin
|
xfce4-systemload-plugin
|
||||||
@ -475,10 +473,6 @@ xfce4-taskmanager
|
|||||||
xfce4-time-out-plugin
|
xfce4-time-out-plugin
|
||||||
xfce4-weather-plugin
|
xfce4-weather-plugin
|
||||||
xfce4-whiskermenu-plugin
|
xfce4-whiskermenu-plugin
|
||||||
xfdashboard
|
|
||||||
xfdashboard-themes
|
|
||||||
xdg-user-dirs
|
|
||||||
xdg-user-dirs-gtk
|
|
||||||
-acpid
|
-acpid
|
||||||
-aspell-*
|
-aspell-*
|
||||||
-autofs
|
-autofs
|
||||||
@ -497,4 +491,3 @@ xdg-user-dirs-gtk
|
|||||||
-xsane-gimp
|
-xsane-gimp
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# set default GTK+ theme for root (see #683855, #689070, #809.02)
|
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||||
cat > /root/.gtkrc-2.0 << EOF
|
cat > /root/.gtkrc-2.0 << EOF
|
||||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||||
include "/etc/gtk-2.0/gtkrc"
|
include "/etc/gtk-2.0/gtkrc"
|
||||||
@ -48,14 +48,6 @@ MENU_EOF
|
|||||||
|
|
||||||
# show liveinst.desktop on desktop and in menu
|
# show liveinst.desktop on desktop and in menu
|
||||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
|
|
||||||
# debrand
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/liveinst.desktop
|
|
||||||
|
|
||||||
# set executable bit disable KDE security warning
|
# set executable bit disable KDE security warning
|
||||||
chmod +x /usr/share/applications/liveinst.desktop
|
chmod +x /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
@ -74,9 +66,6 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
|||||||
Driver=QSQLITE3
|
Driver=QSQLITE3
|
||||||
AKONADI_EOF
|
AKONADI_EOF
|
||||||
|
|
||||||
# Disable plasma-pk-updates if applicable
|
|
||||||
rpm -e plasma-pk-updates
|
|
||||||
|
|
||||||
# "Disable plasma-discover-notifier"
|
# "Disable plasma-discover-notifier"
|
||||||
mkdir -p /home/liveuser/.config/autostart
|
mkdir -p /home/liveuser/.config/autostart
|
||||||
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
||||||
@ -88,8 +77,6 @@ cat > /home/liveuser/.config/baloofilerc << BALOO_EOF
|
|||||||
Indexing-Enabled=false
|
Indexing-Enabled=false
|
||||||
BALOO_EOF
|
BALOO_EOF
|
||||||
|
|
||||||
mkdir -p ~liveuser/.kde/share/config/
|
|
||||||
|
|
||||||
# Disable kres-migrator
|
# Disable kres-migrator
|
||||||
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||||
[Migration]
|
[Migration]
|
||||||
@ -101,6 +88,14 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
|||||||
[Migration]
|
[Migration]
|
||||||
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/
|
||||||
|
@ -32,7 +32,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 <- Not in EL8
|
|
||||||
#kde-l10n <- Not in EL8
|
#kde-l10n <- Not in EL8
|
||||||
|
|
||||||
# unwanted packages from @kde-desktop
|
# unwanted packages from @kde-desktop
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
#include snippets/packagekit-cached-metadata.ks
|
#include snippets/packagekit-cached-metadata.ks
|
||||||
|
|
||||||
part / --size 6656
|
part / --size 7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -55,17 +55,12 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
#include snippets/packagekit-cached-metadata.ks
|
#include snippets/packagekit-cached-metadata.ks
|
||||||
|
|
||||||
part / --size 6656
|
part / --size 7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -19,6 +19,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
|
||||||
|
|
||||||
@ -55,21 +56,21 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
|
||||||
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
|
welcome-dialog-last-shown-version='4294967295'
|
||||||
|
FOE
|
||||||
|
|
||||||
# Copy Anaconda branding in place
|
# Copy Anaconda branding in place
|
||||||
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||||
cp -a /usr/share/lorax/product/* /
|
cp -a /usr/share/lorax/product/* /
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
#@xfce-office
|
#@xfce-office
|
||||||
|
|
||||||
# Manual install...
|
# Manual install...
|
||||||
geany
|
#geany
|
||||||
gparted
|
gparted
|
||||||
mousepad
|
#mousepad
|
||||||
ristretto
|
#ristretto
|
||||||
seahorse
|
seahorse
|
||||||
transmission
|
#transmission
|
||||||
pcp-selinux
|
pcp-selinux
|
||||||
lightdm
|
lightdm
|
||||||
#gdm
|
#gdm
|
||||||
@ -27,31 +27,31 @@ lightdm
|
|||||||
firefox
|
firefox
|
||||||
thunderbird
|
thunderbird
|
||||||
firewall-config
|
firewall-config
|
||||||
pidgin
|
#pidgin
|
||||||
rocky-backgrounds
|
rocky-backgrounds
|
||||||
gparted
|
gparted
|
||||||
rhythmbox
|
#rhythmbox
|
||||||
|
|
||||||
# extras
|
# extras
|
||||||
f32-backgrounds-xfce
|
f35-backgrounds-xfce
|
||||||
f32-backgrounds-extras-xfce
|
f35-backgrounds-extras-xfce
|
||||||
|
|
||||||
xfce4-about
|
xfce4-about
|
||||||
xfce4-appfinder
|
xfce4-appfinder
|
||||||
xfce4-taskmanager
|
xfce4-taskmanager
|
||||||
xfce4-pulseaudio-plugin
|
#xfce4-pulseaudio-plugin
|
||||||
xfce4-battery-plugin
|
#xfce4-battery-plugin
|
||||||
xfce4-datetime-plugin
|
xfce4-datetime-plugin
|
||||||
xfce4-netload-plugin
|
xfce4-netload-plugin
|
||||||
xfce4-places-plugin
|
#xfce4-places-plugin
|
||||||
xfce4-screenshooter-plugin
|
xfce4-screenshooter-plugin
|
||||||
xfce4-smartbookmark-plugin
|
xfce4-smartbookmark-plugin
|
||||||
xfce4-systemload-plugin
|
xfce4-systemload-plugin
|
||||||
xfce4-time-out-plugin
|
xfce4-time-out-plugin
|
||||||
xfce4-weather-plugin
|
xfce4-weather-plugin
|
||||||
xfce4-whiskermenu-plugin
|
xfce4-whiskermenu-plugin
|
||||||
xfdashboard
|
#xfdashboard
|
||||||
xfdashboard-themes
|
#xfdashboard-themes
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
||||||
wget
|
wget
|
||||||
|
@ -20,9 +20,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
|
|||||||
|
|
||||||
mkdir -p /home/liveuser/.config/xfce4
|
mkdir -p /home/liveuser/.config/xfce4
|
||||||
# ugly stuff, this should give us a default background for now
|
# ugly stuff, this should give us a default background for now
|
||||||
mkdir -p /usr/share/backgrounds/images
|
#mkdir -p /usr/share/backgrounds/images
|
||||||
ln -s /usr/share/backgrounds/f32/default/f32.png \
|
#ln -s /usr/share/backgrounds/f32/default/f32.png \
|
||||||
/usr/share/backgrounds/images/default.png
|
# /usr/share/backgrounds/images/default.png
|
||||||
|
|
||||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||||
MailReader=sylpheed-claws
|
MailReader=sylpheed-claws
|
||||||
@ -87,6 +87,8 @@ EOF
|
|||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
systemctl enable --force lightdm.service
|
systemctl enable --force lightdm.service
|
||||||
|
|
||||||
|
# CRB needs to be enabled for EPEL to function.
|
||||||
dnf config-manager --set-enabled crb
|
dnf config-manager --set-enabled crb
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
@ -217,7 +217,7 @@ touch /.liveimg-configured
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||||
# the hostname must be something else than 'localhost'
|
# the hostname must be something else than 'localhost'
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||||
echo "localhost" > /etc/hostname
|
echo "localhost-live" > /etc/hostname
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ touch /.liveimg-configured
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||||
# the hostname must be something else than 'localhost'
|
# the hostname must be something else than 'localhost'
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||||
echo "localhost" > /etc/hostname
|
echo "localhost-live" > /etc/hostname
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# set default GTK+ theme for root (see #683855, #689070, #809.02)
|
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||||
cat > /root/.gtkrc-2.0 << EOF
|
cat > /root/.gtkrc-2.0 << EOF
|
||||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||||
include "/etc/gtk-2.0/gtkrc"
|
include "/etc/gtk-2.0/gtkrc"
|
||||||
@ -48,14 +48,6 @@ MENU_EOF
|
|||||||
|
|
||||||
# show liveinst.desktop on desktop and in menu
|
# show liveinst.desktop on desktop and in menu
|
||||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
|
|
||||||
# debrand
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/liveinst.desktop
|
|
||||||
|
|
||||||
# set executable bit disable KDE security warning
|
# set executable bit disable KDE security warning
|
||||||
chmod +x /usr/share/applications/liveinst.desktop
|
chmod +x /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
@ -74,9 +66,6 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
|||||||
Driver=QSQLITE3
|
Driver=QSQLITE3
|
||||||
AKONADI_EOF
|
AKONADI_EOF
|
||||||
|
|
||||||
# Disable plasma-pk-updates if applicable
|
|
||||||
rpm -e plasma-pk-updates
|
|
||||||
|
|
||||||
# "Disable plasma-discover-notifier"
|
# "Disable plasma-discover-notifier"
|
||||||
mkdir -p /home/liveuser/.config/autostart
|
mkdir -p /home/liveuser/.config/autostart
|
||||||
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
cp -a /etc/xdg/autostart/org.kde.discover.notifier.desktop /home/liveuser/.config/autostart/
|
||||||
@ -88,8 +77,6 @@ cat > /home/liveuser/.config/baloofilerc << BALOO_EOF
|
|||||||
Indexing-Enabled=false
|
Indexing-Enabled=false
|
||||||
BALOO_EOF
|
BALOO_EOF
|
||||||
|
|
||||||
mkdir -p ~liveuser/.kde/share/config/
|
|
||||||
|
|
||||||
# Disable kres-migrator
|
# Disable kres-migrator
|
||||||
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||||
[Migration]
|
[Migration]
|
||||||
@ -101,6 +88,14 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
|||||||
[Migration]
|
[Migration]
|
||||||
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/
|
||||||
|
@ -32,7 +32,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 <- Not in EL8
|
|
||||||
#kde-l10n <- Not in EL8
|
#kde-l10n <- Not in EL8
|
||||||
|
|
||||||
# unwanted packages from @kde-desktop
|
# unwanted packages from @kde-desktop
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
#include snippets/packagekit-cached-metadata.ks
|
#include snippets/packagekit-cached-metadata.ks
|
||||||
|
|
||||||
part / --size 6656
|
part / --size 7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -55,17 +55,12 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
#include snippets/packagekit-cached-metadata.ks
|
#include snippets/packagekit-cached-metadata.ks
|
||||||
|
|
||||||
part / --size 6656
|
part / --size 7750
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -19,6 +19,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
|
||||||
|
|
||||||
@ -55,21 +56,21 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
if [ -f /usr/share/anaconda/gnome/rhel-welcome.desktop ]; then
|
||||||
mkdir -p ~liveuser/.config/autostart
|
mkdir -p ~liveuser/.config/autostart
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome.desktop
|
|
||||||
#sed -i "s/RHEL/Rocky Linux/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/Red Hat Enterprise/Rocky/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/anaconda/gnome/rhel-welcome
|
|
||||||
#sed -i "s/org.fedoraproject.AnacondaInstaller/fedora-logo-icon/g" /usr/share/applications/anaconda.desktop
|
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/rhel-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
|
||||||
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
|
welcome-dialog-last-shown-version='4294967295'
|
||||||
|
FOE
|
||||||
|
|
||||||
# Copy Anaconda branding in place
|
# Copy Anaconda branding in place
|
||||||
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||||
cp -a /usr/share/lorax/product/* /
|
cp -a /usr/share/lorax/product/* /
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
#@xfce-office
|
#@xfce-office
|
||||||
|
|
||||||
# Manual install...
|
# Manual install...
|
||||||
geany
|
#geany
|
||||||
gparted
|
gparted
|
||||||
mousepad
|
#mousepad
|
||||||
ristretto
|
#ristretto
|
||||||
seahorse
|
seahorse
|
||||||
transmission
|
#transmission
|
||||||
pcp-selinux
|
pcp-selinux
|
||||||
lightdm
|
lightdm
|
||||||
#gdm
|
#gdm
|
||||||
@ -27,31 +27,31 @@ lightdm
|
|||||||
firefox
|
firefox
|
||||||
thunderbird
|
thunderbird
|
||||||
firewall-config
|
firewall-config
|
||||||
pidgin
|
#pidgin
|
||||||
rocky-backgrounds
|
rocky-backgrounds
|
||||||
gparted
|
gparted
|
||||||
rhythmbox
|
#rhythmbox
|
||||||
|
|
||||||
# extras
|
# extras
|
||||||
f32-backgrounds-xfce
|
f35-backgrounds-xfce
|
||||||
f32-backgrounds-extras-xfce
|
f35-backgrounds-extras-xfce
|
||||||
|
|
||||||
xfce4-about
|
xfce4-about
|
||||||
xfce4-appfinder
|
xfce4-appfinder
|
||||||
xfce4-taskmanager
|
xfce4-taskmanager
|
||||||
xfce4-pulseaudio-plugin
|
#xfce4-pulseaudio-plugin
|
||||||
xfce4-battery-plugin
|
#xfce4-battery-plugin
|
||||||
xfce4-datetime-plugin
|
xfce4-datetime-plugin
|
||||||
xfce4-netload-plugin
|
xfce4-netload-plugin
|
||||||
xfce4-places-plugin
|
#xfce4-places-plugin
|
||||||
xfce4-screenshooter-plugin
|
xfce4-screenshooter-plugin
|
||||||
xfce4-smartbookmark-plugin
|
xfce4-smartbookmark-plugin
|
||||||
xfce4-systemload-plugin
|
xfce4-systemload-plugin
|
||||||
xfce4-time-out-plugin
|
xfce4-time-out-plugin
|
||||||
xfce4-weather-plugin
|
xfce4-weather-plugin
|
||||||
xfce4-whiskermenu-plugin
|
xfce4-whiskermenu-plugin
|
||||||
xfdashboard
|
#xfdashboard
|
||||||
xfdashboard-themes
|
#xfdashboard-themes
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
||||||
wget
|
wget
|
||||||
|
@ -20,9 +20,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
|
|||||||
|
|
||||||
mkdir -p /home/liveuser/.config/xfce4
|
mkdir -p /home/liveuser/.config/xfce4
|
||||||
# ugly stuff, this should give us a default background for now
|
# ugly stuff, this should give us a default background for now
|
||||||
mkdir -p /usr/share/backgrounds/images
|
#mkdir -p /usr/share/backgrounds/images
|
||||||
ln -s /usr/share/backgrounds/f32/default/f32.png \
|
#ln -s /usr/share/backgrounds/f32/default/f32.png \
|
||||||
/usr/share/backgrounds/images/default.png
|
# /usr/share/backgrounds/images/default.png
|
||||||
|
|
||||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||||
MailReader=sylpheed-claws
|
MailReader=sylpheed-claws
|
||||||
@ -87,6 +87,8 @@ EOF
|
|||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
systemctl enable --force lightdm.service
|
systemctl enable --force lightdm.service
|
||||||
|
|
||||||
|
# CRB needs to be enabled for EPEL to function.
|
||||||
dnf config-manager --set-enabled crb
|
dnf config-manager --set-enabled crb
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user