- cd $(DIR_APP)/Utilities && cp -f splash /sbin
- -mkdir -p /etc/bootsplash/themes/current
- cd $(DIR_APP) && cp -Rf $(DIR_CONF)/bootsplash/* /etc/bootsplash/themes/current
- -find /etc/bootsplash/themes/current -name .svn -exec rm -rf {} \;
+ifeq "$(LFS_PASS)" "install"
+ cd $(DIR_APP)/Utilities && cp -f splash fbresolution fbmngplay fbtruetype \
+ /install/initrd/sbin
+ cd $(DIR_APP)/Scripts && cp -f bootanim /install/initrd/sbin
+ cd $(DIR_APP)/Scripts && chmod +x /install/initrd/sbin/bootanim
+else
+ cd $(DIR_APP)/Utilities && cp -f splash fbresolution fbmngplay fbtruetype /sbin
+ cd $(DIR_APP)/Scripts && cp -f bootanim /sbin
+ cd $(DIR_APP)/Scripts && chmod +x /sbin/bootanim
+ -mkdir -p /boot/splash
+ cd $(DIR_APP) && cp -Rf $(DIR_CONF)/bootsplash/* /boot/splash
+ -find /boot/splash -name .svn -exec rm -rf {} \;
+endif