rpi-update - An easier way to update the firmware of your Ra

Make a PKGBUILD? Submit it here for user review and possible placement into the repository.

rpi-update - An easier way to update the firmware of your Ra

Postby jecxjo » Fri Jun 08, 2012 8:28 pm

Wanted to post the AUR for rpi-update for the RaspberryPi.

$this->bbcode_second_pass_code('', '# Maintainer: Jeff <jecxjo at sdf dot lonestar dot org>
pkgname=rpi-update-git
pkgver=20120607
pkgrel=1
pkgdesc="An easier way to update the firmware for your Raspberry Pi"
arch=('arm')
url="http://github.com/Hexxeh/rpi-update"
license=('Public Domain')
groups=()
depends=('ca-certificates')
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'

_gitroot=git://github.com/Hexxeh/rpi-update.git
_gitname=rpi-update

build() {
cd "$srcdir"
msg "Connecting to GIT server...."

if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi

msg "GIT checkout done or server timeout"
msg "Starting build..."

rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
}

package() {
cd "$srcdir/$_gitname-build"
mkdir -p $pkgdir/usr/bin
cp rpi-update $pkgdir/usr/bin
chmod +x $pkgdir/usr/bin/rpi-update
}

')
jecxjo
 
Posts: 2
Joined: Tue Jun 05, 2012 8:18 pm

Re: rpi-update - An easier way to update the firmware of you

Postby pepedog » Fri Jun 08, 2012 10:19 pm

I got a feeling the kernel that the updater pulls is compiled without DEVTMPFS.
debian uses an older udev, but arch must have DEVTMPFS
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: rpi-update - An easier way to update the firmware of you

Postby kmihelich » Sat Jun 09, 2012 1:32 am

Must have missed something.. when did 'pacman -Syu' become difficult?
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: rpi-update - An easier way to update the firmware of you

Postby pepedog » Sun Jun 10, 2012 1:00 pm

I see DEVTMPFS and other things added to kernel source default config, and in a few days it will filter down to updater, but think its best to stick to pacman -Syu, unless you are desperate
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to User-Submitted Packages

Who is online

Users browsing this forum: No registered users and 20 guests