Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
10d4607154
4 changed files with 30 additions and 26 deletions
  1. +4
    -1
      package/avm/bootsplash/bootsplash.desc
  2. +18
    -19
      package/avm/bootsplash/pkg_config_linux.in
  3. +0
    -6
      package/avm/bootsplash/pkg_linux24_pre.conf
  4. +8
    -0
      package/avm/bootsplash/pkg_linux_pre.conf

+ 4
- 1
package/avm/bootsplash/bootsplash.desc

@ -47,7 +47,10 @@
# [D] 4180078131 bootsplash-3.0.7.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/rpm-sources/bootsplash/
[D] 4193909748 bootsplash-3.1.tar.bz2 http://www.bootsplash.de/files/splashutils/
[D] 2757340655 bootsplash-3.0.7-2.4.29-vanilla.diff http://home.in.tum.de/~meiera/projects/rocklinux/download/avm/bootsplash/
[D] 1662900720 bootsplash-3.1.4-2.6.10.diff http://www.bootsplash.de/files/
[D] 2565020399 bootsplash-3.0.7-2.4.29.diff http://www.bootsplash.de/files/old/
[O] bspatchlinux24=bootsplash-3.0.7-2.4.29.diff
[D] 3994465730 bootsplash-3.1.6-2.6.12.diff http://www.bootsplash.de/files/
[O] bspatchlinux26=bootsplash-3.1.6-2.6.12.diff
[D] 136525566 Theme-Linux.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/
[D] 413833771 Theme-Redmond.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/
[D] 4212729406 Theme-Leopard.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/

package/avm/bootsplash/config.in → package/avm/bootsplash/pkg_config_linux.in

@ -22,23 +22,22 @@
if pkgcheck bootsplash X
then
menu_begin MENU_PKG_BOOTSPLASH 'BOOTSPLASH Options'
bool 'Patch the kernel with the bootsplash patch' ROCKCFG_KERNEL_BOOTSPLASH 0
comment 'Please also activate the "Apply custom kernel build configuration"'
comment 'setting (you find it under Linux Kernel Options)'
if [ $ROCKCFG_KERNEL_BOOTSPLASH == '1' ]; then
for x in CONFIG_FBCON_SPLASHSCREEN ; do
grep -s -v $x config/$config.$swpid/linux.cfg > config/$config.$swpid/linux.cfg.$$
echo "$x=y" >> config/$config.$swpid/linux.cfg.$$
mv config/$config.$swpid/linux.cfg.$$ config/$config.$swpid/linux.cfg
done
else
for x in CONFIG_FBCON_SPLASHSCREEN ; do
grep -s -v $x config/$config.$swpid/linux.cfg > config/$config.$swpid/linux.cfg.$$
# echo "$x=n" >> config/$config.$swpid/linux.cfg.$$
mv config/$config.$swpid/linux.cfg.$$ config/$config.$swpid/linux.cfg
done
fi
menu_end
bool 'Patch the kernel with the bootsplash patch' ROCKCFG_PKG_LINUX_BOOTSPLASH 0
if [ ! x"$ROCKCFG_PKG_LINUX_CUSTCONFIG" == x"1" ]; then
comment "Please activate custom kernel configuration above"
comment " to activate bootsplash during kernel build"
fi
if [ x"$ROCKCFG_PKG_LINUX_BOOTSPLASH" == x'1' ]; then
for x in CONFIG_{FRAMEBUFFER_CONSOLE,FBCON_SPLASHSCREEN,BOOTSPLASH}; do
grep -s -v $x config/$config.$swpid/linux.cfg > config/$config.$swpid/linux.cfg.$$
echo "$x=y" >> config/$config.$swpid/linux.cfg.$$
mv config/$config.$swpid/linux.cfg.$$ config/$config.$swpid/linux.cfg
done
else
for x in CONFIG_{FRAMEBUFFER_CONSOLE,FBCON_SPLASHSCREEN,BOOTSPLASH}; do
grep -s -v $x config/$config.$swpid/linux.cfg > config/$config.$swpid/linux.cfg.$$
mv config/$config.$swpid/linux.cfg.$$ config/$config.$swpid/linux.cfg
done
fi
fi

+ 0
- 6
package/avm/bootsplash/pkg_linux24_pre.conf

@ -1,6 +0,0 @@
if [ "$ROCKCFG_KERNEL_BOOTSPLASH" == '1' ] ; then
echo_status "Including Bootsplash Patch for version ${ver}"
bootsplash_patch=$base/download/mirror/b/bootsplash-3.0.7-${ver}-vanilla.diff
var_remove patchfiles " " "$bootsplash_patch"
var_append patchfiles " " "$bootsplash_patch"
fi

+ 8
- 0
package/avm/bootsplash/pkg_linux_pre.conf

@ -0,0 +1,8 @@
if [ "$ROCKCFG_PKG_LINUX_BOOTSPLASH" == '1' ]; then
bspatch=$(grep bspatch${xpkg:0:7} $base/package/avm/bootsplash/bootsplash.desc\
| awk 'BEGIN{FS="="}{print $2}')
var_remove patchfiles " " "$base/download/mirror/${bspatch:0:1}/$bspatch"
var_append patchfiles " " "$base/download/mirror/${bspatch:0:1}/$bspatch"
else
echo "No bootsplash in this config"
fi

Loading…
Cancel
Save