[remaster/mcs] some fixes to complete artwork integration

This commit is contained in:
Fabio Erculiani 2010-11-04 23:33:21 +01:00
parent ab79906343
commit 341d0636a0
3 changed files with 8 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -6,5 +6,11 @@ cp /sabayon/remaster/mcs/isolinux/back.jpg "${CDROOT_DIR}/isolinux/back.jpg" ||
# execute parent script # execute parent script
/sabayon/scripts/generic_pre_iso_script.sh MCS || exit 1 /sabayon/scripts/generic_pre_iso_script.sh MCS || exit 1
echo "Copying new kernel images over"
boot_kernel=$(find "${CHROOT_DIR}/boot" -name "kernel-*" | sort | head -n 1)
boot_ramfs=$(find "${CHROOT_DIR}/boot" -name "initramfs-*" | sort | head -n 1)
cp "${boot_kernel}" "${CDROOT_DIR}/boot/sabayon" || exit 1
cp "${boot_ramfs}" "${CDROOT_DIR}/boot/sabayon.igz" || exit 1
# Setup default splash theme # Setup default splash theme
sed -i "s/theme:sabayon/theme:babel/g" "${CDROOT_DIR}/isolinux/isolinux.cfg" || exit 1 sed -i "s/theme:sabayon/theme:babel/g" "${CDROOT_DIR}/isolinux/isolinux.cfg" || exit 1

View File

@ -13,7 +13,7 @@ java-config -S sun-jdk || exit 1
mkdir -p /etc/oem mkdir -p /etc/oem
# Setup fbsplash (babel theme) # Setup fbsplash (babel theme)
mv /.mcs/fbsplash-babel /etc/splash/ || exit 1 mv /.mcs/fbsplash-babel /etc/splash/babel || exit 1
chown root:root /etc/splash/babel -R || exit 1 chown root:root /etc/splash/babel -R || exit 1
echo "babel" > /etc/oem/splash_name || exit 1 echo "babel" > /etc/oem/splash_name || exit 1
# update initramfs with new splash data # update initramfs with new splash data
@ -23,7 +23,7 @@ done
# copy background over # copy background over
cp /.mcs/background/* /usr/share/backgrounds/ -R || exit 1 cp /.mcs/background/* /usr/share/backgrounds/ -R || exit 1
chown root:root /usr/share/background/ -R || exit 1 chown root:root /usr/share/backgrounds/ -R || exit 1
# setup background in /etc/skel # setup background in /etc/skel
for file in `find /etc/skel -type f`; do for file in `find /etc/skel -type f`; do
sed -i "s:/usr/share/backgrounds/sabayonlinux.jpg:/usr/share/backgrounds/background-mailware.jpg:g" "${file}" sed -i "s:/usr/share/backgrounds/sabayonlinux.jpg:/usr/share/backgrounds/background-mailware.jpg:g" "${file}"