| |
@@ -305,7 +305,6 @@
|
| |
# Remove machine-id on pre generated images
|
| |
rm -f /etc/machine-id
|
| |
touch /etc/machine-id
|
| |
-
|
| |
%end
|
| |
|
| |
%post --nochroot
|
| |
@@ -327,12 +326,10 @@
|
| |
%endif\
|
| |
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
|
| |
fi
|
| |
-
|
| |
%end
|
| |
|
| |
%post
|
| |
# xfce configuration
|
| |
-
|
| |
# create /etc/sysconfig/desktop (needed for installation)
|
| |
|
| |
cat > /etc/sysconfig/desktop <<EOF
|
| |
@@ -372,10 +369,15 @@
|
| |
# and mark it as executable (new Xfce security feature)
|
| |
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
| |
|
| |
+ # set background on LiveOS using feh by adding it .profile
|
| |
+ echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveuser/.profile
|
| |
+
|
| |
# this goes at the end after all other changes.
|
| |
chown -R liveuser:liveuser /home/liveuser
|
| |
restorecon -R /home/liveuser
|
| |
|
| |
+
|
| |
+
|
| |
EOF
|
| |
|
| |
%end
|
| |
@@ -433,5 +435,5 @@
|
| |
i3status
|
| |
dunst
|
| |
brightlight
|
| |
-
|
| |
+ feh
|
| |
%end
|
| |
feh
in the Packages list/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png
in ~/.profile to set the wallpaper on LiveOS boot,