plymouth/scripts/Makefile.am
Ray Strode 803204e6cb [scripts] add plymouth-generate-initrd script
One useful way to use plymouth is by installing it into
an auxillary initrd image, that overlays the primary one.

This allows plymouth and its current theme to get updated
indepedently of the kernel and the rest of the initrd
stuff.

plymouth-generate-initrd creates an initrd named:

     initrd-plymouth.img

in /boot that is suitable for use a second initrd on
the initrd line in grub.conf.
2009-08-28 20:04:17 -04:00

30 lines
1.5 KiB
Makefile

noinst_SCRIPTS = new-object.sh
initrdscriptdir = $(libexecdir)/plymouth
initrdscript_SCRIPTS = plymouth-update-initrd plymouth-generate-initrd plymouth-populate-initrd
sbinscriptsdir = $(sbindir)
sbinscripts_SCRIPTS = plymouth-set-default-theme
plymouth-populate-initrd: $(srcdir)/plymouth-populate-initrd.in
sed -e 's,[@]logofile[@],$(logofile),g' \
-e 's,[@]plymouthclientdir[@],$(plymouthclientdir),g' \
-e 's,[@]plymouthdaemondir[@],$(plymouthdaemondir),g' \
-e 's,[@]RELEASE_FILE[@],$(RELEASE_FILE),g' \
$(srcdir)/plymouth-populate-initrd.in > plymouth-populate-initrd
plymouth-set-default-theme: $(srcdir)/plymouth-set-default-theme.in
sed -e 's,[@]logofile[@],$(logofile),g' \
-e 's,[@]plymouthclientdir[@],$(plymouthclientdir),g' \
-e 's,[@]plymouthdaemondir[@],$(plymouthdaemondir),g' \
$(srcdir)/plymouth-set-default-theme.in > plymouth-set-default-theme
EXTRA_DIST= plymouth-update-initrd \
plymouth-generate-initrd \
plymouth-populate-initrd.in \
plymouth-set-default-theme.in \
$(noinst_SCRIPTS) \
default.cfg
CLEANFILES = plymouth-populate-initrd plymouth-set-default-theme
MAINTAINERCLEANFILES = Makefile.in plymouth-populate-initrd plymouth-set-default-theme