|
Lines 188-194
Link Here
|
| 188 |
[ -z "${GENSPLASH_THEME}" ] && [ -e /etc/conf.d/splash ] && source /etc/conf.d/splash |
188 |
[ -z "${GENSPLASH_THEME}" ] && [ -e /etc/conf.d/splash ] && source /etc/conf.d/splash |
| 189 |
[ -z "${GENSPLASH_THEME}" ] && GENSPLASH_THEME=default |
189 |
[ -z "${GENSPLASH_THEME}" ] && GENSPLASH_THEME=default |
| 190 |
print_info 1 " >> Installing gensplash [ using the ${GENSPLASH_THEME} theme ]..." |
190 |
print_info 1 " >> Installing gensplash [ using the ${GENSPLASH_THEME} theme ]..." |
| 191 |
sed -i 's:$(obj)/gen_init_cpio $(initramfs-y) FORCE:$(if $(shell [ ! -f $(obj)/initramfs_data.cpio ] && echo '1' ), $(obj)/gen_init_cpio $(initramfs-y)):' ${KERNEL_DIR}/usr/Makefile |
191 |
sed -i -e 's:$(obj)/gen_init_cpio $(initramfs-y) FORCE:$(if $(shell [ ! -f $(obj)/initramfs_data.cpio ] \&\& echo 1 ), $(obj)/gen_init_cpio $(initramfs-y)):' ${KERNEL_DIR}/usr/Makefile |
| 192 |
splash_geninitramfs -g ${KERNEL_DIR}/usr/initramfs_data.cpio.gz ${GENSPLASH_THEME} |
192 |
splash_geninitramfs -g ${KERNEL_DIR}/usr/initramfs_data.cpio.gz ${GENSPLASH_THEME} |
| 193 |
gunzip ${KERNEL_DIR}/usr/initramfs_data.cpio.gz |
193 |
gunzip ${KERNEL_DIR}/usr/initramfs_data.cpio.gz |
| 194 |
else |
194 |
else |