diff options
-rwxr-xr-x | kernel-ratten/kernel-ratten.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel-ratten/kernel-ratten.SlackBuild b/kernel-ratten/kernel-ratten.SlackBuild index bfbd0134..b345c20d 100755 --- a/kernel-ratten/kernel-ratten.SlackBuild +++ b/kernel-ratten/kernel-ratten.SlackBuild @@ -1,6 +1,7 @@ #!/bin/bash # # slackbuild for kernel-ratten +# by rhatto at riseup.net # if [ -s "slack-required" ]; then @@ -143,10 +144,15 @@ for file in COPYING CREDITS MAINTAINERS README REPORTING-BUGS; do cp $CWD/$file* $PKG/usr/doc/$PACKAGE-$VERSION/ done -mkinitrd -c -k 2.6.15.7 -o $PKG/boot/initrd.gz +mkinitrd -c -k $KERNEL_VERSION -o $PKG/boot/initrd.gz splash -s -f $SPLASH > $PKG/boot/initrd.gz cd $PKG + +( cd boot && ln -s vmlinuz-$KERNEL_VERSION vmlinuz ) +( cd boot && ln -s config-$KERNEL_VERSION config ) +( cd boot && ln -s System.map-$KERNEL_VERSION System.map ) + makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz if [ "$CLEANUP" == "yes" ]; then |