You are not logged in.

#1 2004-12-01 11:53:32

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

[System: Utilities] Bootsplash

I couldnt find a pkgbuild for the latest bootsplash.
i found a previous pkgbuild on the arch bootsplash howto  http://archlinux.veloxis.de/howtos/boot … index.html but it was quite outdated, here is one for 3.1.

my first pkgbuild so be nice..

seems to work.. although some of the executables may be in the wrong location as it wanted splashpbm in /sbin.
it didnt complain about the rest, but that doesnt mean they may not be wrong.

# Contributor: Adam Griffiths
pkgname=bootsplash
pkgver=3.1
pkgrel=1
pkgdesc="Userspace utilities for setting up a boot splash screen."
url="http://www.bootsplash.de"
depends=()
conflicts=()
backup=()
install=
source=(http://www.bootsplash.de/files/splashutils/$pkgname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$pkgname-$pkgver/Utilities
  make || return 1
  # the very simple Makefile does not include an install option, so just copy
  # the compiled binaries to their locations manually.
  mkdir -p $startdir/pkg/usr/sbin
  mkdir -p $startdir/pkg/sbin
  cp $startdir/src/$pkgname-$pkgver/Utilities/{fbresolution,fbmngplay,fbtruetype,splash} $startdir/pkg/usr/sb
in
  cp $startdir/src/$pkgname-$pkgver/Utilities/splashpbm $startdir/pkg/sbin
}


thanks..

hopefully gensplash will make this alot easier, but i havent tried it yet..

Offline

#2 2004-12-01 16:27:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [System: Utilities] Bootsplash

this still requires the kernel patch, correct?

Offline

#3 2004-12-02 05:54:18

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [System: Utilities] Bootsplash

yep!
this is just the user-space utilities to actually do something with the bootsplash patch in the kernel..
without a patched kernel its quite useless

btw, the kernel patches are available in the homepage listed in the pkgbuild
www.bootsplash.de

Offline

#4 2004-12-03 04:20:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [System: Utilities] Bootsplash

gensplash is only for 2.6 kernels - just for interests sake - if any 2.4 users happen to see this...

Offline

#5 2005-01-08 11:34:58

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [System: Utilities] Bootsplash

i was playing today and came up with two new (better?) methods of building patched initscripts (i was mainly doing it for bootsplash but it should work for all patching). assuming patches are compatible you should be able to apply several and have a pkg that you can use in a local repo and easily update when new versions of initscripts are released.

i think the one that downloads the latest pkg first is more secure than the abs version - as there is no checksumming for abs?

anyway - the first gets the pkg from current, explodes it, patches it and rebuilds it - the second grabs the files that make the package from ABS (allows compile of minilogd)

# Contributor: dibblethewrecker <dibblethewrecker@jiwe.org>
# This package is only a modified version of the arch initscripts package
# It allows you to easily checkout the latest initscripts and patch them
# (based on a pkg by Brice Carpentier <brice@daknet.org>)
# (incorporated a patch by Truls Becken <becken@stud.ntnu.no>)

pkgname=initscripts-custom
pkgver=0.1
pkgrel=1
pkgdesc="System initialization/bootup scripts with bootsplash support"
backup=(etc/inittab etc/rc.conf etc/rc.local)
depends=('bash' 'mawk' 'grep' 'coreutils' 'sed' 'bootsplash')
provides=('initscripts')
conflicts=('initscripts')
source=(initscripts-bootsplash.diff)
md5sums=('53a00c6e85aa520673f5ce9a99eb0655')

build() {
  # check the latest version of initscripts, grab it, copy and extract it to src
  latestver=`pacman -Ss initscripts | grep current | sed "s|current/initscripts ||g"`
  echo
  echo "  : Latest version in current repo is initscripts-$latestver"
  echo -n "  : Press any key to continue "
  read anykey
  pacman -Sw --noconfirm initscripts
  cp /var/cache/pacman/pkg/initscripts-$latestver.pkg.tar.gz $startdir/src

  cd $startdir/src
  gunzip -cd initscripts-$latestver.pkg.tar.gz | tar xf -

  # create the pkg - no compile required
  mkdir -p $startdir/pkg/etc/{rc.d,conf.d}

  cd $startdir/src/etc
  install -D -m644 inittab $startdir/pkg/etc/inittab
  install -D -m644 rc.conf $startdir/pkg/etc/rc.conf
  for i in rc.local rc.multi rc.shutdown rc.single rc.sysinit; do
    install -D -m755 $i $startdir/pkg/etc/$i
  done

  cd $startdir/src/etc/rc.d
  install -D -m755 network $startdir/pkg/etc/rc.d/network
  install -D -m755 netfs $startdir/pkg/etc/rc.d/netfs
  install -D -m644 functions $startdir/pkg/etc/rc.d/functions

  cd $startdir/src/sbin
  install -D -m755 minilogd $startdir/pkg/sbin/minilogd

  # apply your patches
  cd $startdir/pkg/etc
  patch -Np1 -i $startdir/src/initscripts-bootsplash.diff
}

download

# Maintainer: Brice Carpentier <brice@daknet.org>
# Contributor: Brice Carpentier <brice@daknet.org>
# This package is only a modified version of the arch initscripts package
# (incorporated a patch by Truls Becken <becken@stud.ntnu.no>)

pkgname=initscripts-custom
pkgver=0.1
pkgrel=1
pkgdesc="System initialization/bootup scripts with bootsplash support"
backup=(etc/inittab etc/rc.conf etc/rc.local)
depends=('bash' 'mawk' 'grep' 'coreutils' 'sed' 'bootsplash')
#makedepends=('cvs' 'openssh')
provides=('initscripts')
conflicts=('initscripts')
source=(initscripts-bootsplash.diff)
md5sums=('53a00c6e85aa520673f5ce9a99eb0655')

build() {
  # alternative method - grab and build the source files from abs
  #abs
  cp /var/abs/base/initscripts/{inittab,netfs,rc.conf,rc.multi,rc.single,functions,minilogd.c,network,rc.local,rc.shutdown,rc.sysinit} $startdir/src

  # use the normal build
  cd $startdir/src

  mkdir -p $startdir/pkg/etc/{rc.d,conf.d}
  install -D -m644 functions $startdir/pkg/etc/rc.d/functions
  install -D -m644 inittab $startdir/pkg/etc/inittab
  install -D -m644 rc.conf $startdir/pkg/etc/rc.conf
  for i in rc.local rc.multi rc.shutdown rc.single rc.sysinit; do
    install -D -m755 $i $startdir/pkg/etc/$i
  done
  install -D -m755 network $startdir/pkg/etc/rc.d/network
  install -D -m755 netfs $startdir/pkg/etc/rc.d/netfs
  gcc -o minilogd minilogd.c || return 1
  install -D -m755 minilogd $startdir/pkg/sbin/minilogd

  # apply your patches
  cd $startdir/pkg/etc
  patch -Np1 -i $startdir/src/initscripts-bootsplash.diff
}

download

Offline

#6 2006-04-17 17:21:02

rdoggsv
Member
From: /home
Registered: 2005-06-24
Posts: 79
Website

Re: [System: Utilities] Bootsplash

hey dtw are this pkgbuilds the latest ones ??? , i downloaded last time the initscripts-bootsplash from brice repo and it broked up my system, are this ones safe to use ???  lol

thank you

Offline

#7 2006-04-17 19:56:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [System: Utilities] Bootsplash

This thread is 15 months old ....

Offline

Board footer

Powered by FluxBB