Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
branding-etersoft-ximper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
branding-etersoft-ximper
Commits
572f1f43
Commit
572f1f43
authored
Dec 18, 2008
by
Anton V. Boyarshinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootsplash added
parent
69433815
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
3 deletions
+42
-3
branding-alt-desktop.spec
branding-alt-desktop.spec
+42
-3
No files found.
branding-alt-desktop.spec
View file @
572f1f43
...
...
@@ -31,6 +31,16 @@ Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme desig
%description bootloader
Here you find the graphical boot logo. Suitable for both lilo and syslinux.
%package bootsplash
Summary: Theme for splash animations during bootup
License: Distributable
Group: System/Configuration/Boot and Init
Provides: design-bootsplash design-bootsplash-%theme
Requires: bootsplash >= 3.3
%description bootsplash
This package contains graphics for boot process
(needs console splash screen enabled)
%prep
%setup -q
...
...
@@ -38,6 +48,7 @@ Here you find the graphical boot logo. Suitable for both lilo and syslinux.
cp -a /usr/src/design-bootloader-source ./
cp -a bootloader/config bootloader/data-boot/ bootloader/data-install/ design-bootloader-source/
%build
#bootloader
pushd design-bootloader-source/
...
...
@@ -53,24 +64,52 @@ Here you find the graphical boot logo. Suitable for both lilo and syslinux.
install -m 644 bootlogo %buildroot%_datadir/gfxboot/%theme
popd
%post bootloader
#bootsplash
## create directory structure
mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/bootsplash/themes/%theme
cp -a bootsplash/* $RPM_BUILD_ROOT%_sysconfdir/bootsplash/themes/%theme
pushd $RPM_BUILD_ROOT%_sysconfdir/bootsplash/themes/%theme/config
#for i in 1 2 3 4 5 11; do \
for i in 1; do \
for f in bootsplash-*.cfg; do \
res=`echo "$f"| sed 's|.*\-\(.*\)\.cfg|\1|'`
ln -s $f vt${i}-${res}.cfg
done
done
popd
#bootloader
%pre bootloader
[ -s /boot/splash/desktop ] && rm -fr /boot/splash/desktop
%post bootloader
%__ln_s -nf %theme/message /boot/splash/message
%__ln_s -nf /boot/splash/%theme /boot/splash/%theme
%__ln_s -nf %_datadir/gfxboot/%theme %_datadir/gfxboot/%theme
%preun bootloader
#bootloader
[ $1 = 0 ] || exit 0
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
%__rm -f /boot/splash/message
%files bootloader
%_datadir/gfxboot/%theme
/boot/splash/%theme
#bootsplash
%post bootsplash
%__ln_s -nf %theme %_sysconfdir/bootsplash/themes/current
%preun bootsplash
[ $1 = 0 ] || exit 0
[ "`readlink %_sysconfdir/bootsplash/themes/current`" != %theme ] ||
%__rm -f %_sysconfdir/bootsplash/themes/current
%files bootsplash
%_sysconfdir/bootsplash/themes/%theme/
%changelog
* Thu Dec 18 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment