You are not logged in.
Pages: 1
Hi all!
I must recompile my kernel because I have a problem with a wireless usb pen.
http://www.archlinux.it/wiki/index.php? … 7_wireless
To build my kernel I have followed this guide:
http://www.archlinux.it/wiki/index.php? … rom_Source
The building ended without problems, but I can't install the package with my new kernel:o
pacman returns to me a lot of error messages because he says that new files are already there and it doesn't want to overwrite them.
kernel26-Fabio: /lib/modules/2.6.23-ARCH/modules.usbmap is already in the filesystem
This is only the last error line...
I think that the problem is in the PKGBUILD file copied from the second url, but I don't know where it can be...
pkgname=kernel26-my
basekernel=2.6.23
pkgver=2.6.23
pkgrel=1
pkgdesc="The Linux Kernel and modules"
arch=('i686')
url="http://www.kernel.org"
depends=('module-init-tools')
provides=(kernel26)
install=kernel26.install
build() {
# build!
cd ..
_kernver="${basekernel}${CONFIG_LOCALVERSION}"
make || return 1
mkdir -p $startdir/pkg/{lib/modules,boot}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot/System.map26-my
cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26-my
install -D -m644 .config $startdir/pkg/boot/kconfig26-my
# set correct depmod command for install
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26.install
}
Where is the problem?
Thanks a lot!
Last edited by fabio85 (2007-12-30 23:17:57)
Offline
Pages: 1