Created
August 29, 2012 08:12
-
-
Save chattama/3508370 to your computer and use it in GitHub Desktop.
archlinux makepkg on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo aptitude install libarchive-dev bsdtar | |
git clone git://projects.archlinux.org/pacman.git | |
cd pacman | |
./autogen.sh | |
./configure --disable-doc | |
make | |
sudo make install | |
cd package | |
cp /usr/local/etc/makepkg.conf ./makepkg-arm.conf | |
makepkg-arm.conf ================================================== | |
CARCH="arm" | |
PKGBUILD ========================================================== | |
pkgname=linux-raspberrypi-custom | |
pkgver=3.2.27 | |
pkgrel=1 | |
pkgdesc="The Linux Kernel and modules for Raspberry Pi (customized)" | |
arch=(arm) | |
url="http://www.kernel.org/" | |
license=('GPL2') | |
xtool=/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- | |
build() { | |
cd $startdir/../linux | |
make ARCH=arm CROSS_COMPILE=$xtool | |
} | |
package() { | |
cd $startdir/../linux | |
make ARCH=arm CROSS_COMPILE=$xtool INSTALL_MOD_PATH=$pkgdir modules_install firmware_install | |
mkdir $pkgdir/boot | |
cp $startdir/../linux/arch/arm/boot/zImage $pkgdir/boot/kernel.img | |
} | |
=================================================================== | |
makepkg --conf ./makepkg-arm.conf |
I'm getting this error after performing a "sudo apt-get update"
warning: no 'XferCommand' configured
error: no usable package repositories configured.
EDIT:
Remove the hashtags in front of both Xfercommand lines in /usr/local/etc/pacman.conf
How do I use this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
root@scube014:~/qingy-fork-master# make clean
Making clean in src
make[1]: Entering directory
/home/rahul/qingy-fork-master/src' Making clean in libraries make[2]: Entering directory
/home/rahul/qingy-fork-master/src/libraries'Making clean in libraries
/bin/bash: line 20: cd: libraries: No such file or directory
make[2]: *** [clean-recursive] Error 1
make[2]: Leaving directory
/home/rahul/qingy-fork-master/src/libraries' make[1]: *** [clean-recursive] Error 1 make[1]: Leaving directory
/home/rahul/qingy-fork-master/src'make: *** [clean-recursive] Error 1
plz find the salutation and give me write ans