|
@ -295,7 +295,7 @@ echo 'File created by kickstart. See systemd-update-done.service(8).' \ |
|
|
|
|
|
|
|
|
# Drop the rescue kernel and initramfs, we don't need them on the live media itself. |
|
|
# Drop the rescue kernel and initramfs, we don't need them on the live media itself. |
|
|
# See bug 1317709 |
|
|
# See bug 1317709 |
|
|
rm -f /boot/*-rescue* |
|
|
|
|
|
|
|
|
rm -f /boot/\*-rescue* |
|
|
|
|
|
|
|
|
# Disable network service here, as doing it in the services line |
|
|
# Disable network service here, as doing it in the services line |
|
|
# fails due to RHBZ #1369794 |
|
|
# fails due to RHBZ #1369794 |
|
@ -308,7 +308,7 @@ touch /etc/machine-id |
|
|
%end |
|
|
%end |
|
|
|
|
|
|
|
|
%post --nochroot |
|
|
%post --nochroot |
|
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/ |
|
|
|
|
|
|
|
|
cp $INSTALL_ROOT/usr/share/licenses/\*-release/\* $LIVE_ROOT/ |
|
|
|
|
|
|
|
|
# only works on x86, x86_64 |
|
|
# only works on x86, x86_64 |
|
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then |
|
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then |
|
@ -319,6 +319,7 @@ fi |
|
|
%end |
|
|
%end |
|
|
|
|
|
|
|
|
%post |
|
|
%post |
|
|
|
|
|
# THIS IS ALL RUN IN THE LIVE ROOT |
|
|
# cinnamon configuration |
|
|
# cinnamon configuration |
|
|
|
|
|
|
|
|
# create /etc/sysconfig/desktop (needed for installation) |
|
|
# create /etc/sysconfig/desktop (needed for installation) |
|
@ -351,7 +352,8 @@ chown -R liveuser:liveuser /home/liveuser |
|
|
restorecon -R /home/liveuser |
|
|
restorecon -R /home/liveuser |
|
|
|
|
|
|
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
%end |
|
|
|
|
|
%post --nochroot |
|
|
# go to the backgrounds folder for custom images |
|
|
# go to the backgrounds folder for custom images |
|
|
cd /usr/share/backgrounds/images |
|
|
cd /usr/share/backgrounds/images |
|
|
|
|
|
|
|
@ -359,19 +361,19 @@ cd /usr/share/backgrounds/images |
|
|
FIXME |
|
|
FIXME |
|
|
|
|
|
|
|
|
# Fetch rpm fusion scripts |
|
|
# Fetch rpm fusion scripts |
|
|
mkdir -p /usr/share/autostart |
|
|
|
|
|
mkdir -p /usr/local/tigeros |
|
|
|
|
|
cp -R /scripts/ /mnt/sysimage/usr/local/tigeros/ |
|
|
|
|
|
|
|
|
mkdir -p $INSTALL_ROOT/usr/share/autostart |
|
|
|
|
|
mkdir -p $INSTALLROOT/usr/local/tigeros |
|
|
|
|
|
cp -R /scripts/ $INSTALL_ROOT/usr/local/tigeros/ |
|
|
|
|
|
|
|
|
cp /home/liveuser/enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh |
|
|
|
|
|
ln -s /mnt/sysimage/usr/local/tigeros/FusionEnableLauncher.py /mnt/sysimage/usr/share/autostart/FusionEnableLauncher.py |
|
|
|
|
|
ln -s /mnt/sysimage/usr/local/tigeros/postinstall /mnt/sysimage/usr/share/autostart/postinstall |
|
|
|
|
|
|
|
|
ln -s $INSTALL_ROOT/home/liveuser/enablerpmfusion.sh $INSTALL_ROOT/usr/share/autostart/enablerpmfusion.sh |
|
|
|
|
|
ln -s $INSTALL_ROOT/usr/local/tigeros/FusionEnableLauncher.py $INSTALL_ROOT/usr/share/autostart/FusionEnableLauncher.py |
|
|
|
|
|
ln -s $INSTALL_ROOT/usr/local/tigeros/postinstall $INSTALL_ROOT/usr/share/autostart/postinstall |
|
|
|
|
|
|
|
|
chmod -R a+rwx /mnt/sysimage/usr/local/tigeros/ |
|
|
|
|
|
|
|
|
chmod -R a+rwx $INSTALL_ROOT/usr/local/tigeros/ |
|
|
|
|
|
|
|
|
# Download and install google chrome |
|
|
# Download and install google chrome |
|
|
dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm |
|
|
|
|
|
restorecon -R /home/liveuser |
|
|
|
|
|
|
|
|
dnf --installroot=$INSTALL_ROOT install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm |
|
|
|
|
|
restorecon -R $INSTALL_ROOT/home/liveuser |
|
|
%end |
|
|
%end |
|
|
|
|
|
|
|
|
%packages |
|
|
%packages |
|
|