diff --git a/features.in/branding/config.mk b/features.in/branding/config.mk index 61c32b13..0642ada0 100644 --- a/features.in/branding/config.mk +++ b/features.in/branding/config.mk @@ -9,3 +9,8 @@ use/branding/full: use/branding use/syslinux/ui/gfxboot use/branding/complete: use/branding/full use/plymouth/full @$(call add,INSTALL2_BRANDING,notes slideshow) + +# http://altlinux.org/branding/slideshow +use/branding/slideshow/once: use/branding + @$(call add,INSTALL2_BRANDING_SLIDESHOW,once:true) + @$(call xport,INSTALL2_BRANDING_SLIDESHOW) diff --git a/features.in/branding/install2/image-scripts.d/50-branding.sh b/features.in/branding/install2/image-scripts.d/50-branding.sh new file mode 100755 index 00000000..f1983cd1 --- /dev/null +++ b/features.in/branding/install2/image-scripts.d/50-branding.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +[ -n "$GLOBAL_INSTALL2_BRANDING_SLIDESHOW" ] || exit 0 + +for arg in $GLOBAL_INSTALL2_BRANDING_SLIDESHOW; do + echo "${arg/:/=}" >> /etc/alterator/slideshow.conf +done