add missing livecd-creator logic
This commit is contained in:
parent
532ef89ca1
commit
78f5768405
27 changed files with 249 additions and 0 deletions
|
@ -89,6 +89,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# cinnamon configuration
|
||||
|
||||
|
|
|
@ -89,6 +89,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
sed -i 's/^livesys_session=.*/livesys_session="kde"/' /etc/sysconfig/livesys
|
||||
|
|
|
@ -89,6 +89,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# mate configuration
|
||||
|
||||
|
|
|
@ -88,6 +88,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||
|
|
|
@ -88,6 +88,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||
|
|
|
@ -89,6 +89,16 @@ touch /etc/machine-id
|
|||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# xfce configuration
|
||||
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -127,3 +127,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -123,3 +123,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -127,3 +127,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -123,3 +123,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -127,3 +127,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -123,3 +123,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -354,3 +354,12 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|||
fi
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -355,3 +355,12 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|||
fi
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -354,3 +354,12 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
|||
fi
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -125,3 +125,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
|
@ -121,3 +121,12 @@ rm -f /etc/machine-id
|
|||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
%post --nochroot
|
||||
# only works on x86_64
|
||||
if [ "unknown" = "i386" -o "unknown" = "x86_64" ]; then
|
||||
# For livecd-creator builds. livemedia-creator is fine.
|
||||
if [ ! -d /LiveOS ]; then mkdir -p /LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk /LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
|
Loading…
Reference in a new issue