Bug#508805: [Debian-eeepc-devel] Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

2009-01-06 Thread Achim Löbbert
Yesterday I wrote:
 [...]
 As you can see in the first log, the unpatched source runs the command
 /sbin/depmod -a 2.6.27.10
 which a normal user is not allowed to do, whereas _after_ applying
 the patch the depmod is no longer run and the build succeeds.

Hi Glenn,

today's apt-get updated my rt2860-source package from version 1.8.0.0-1 to 
1.8.0.0-3. With this new version the depmod is no longer run. The build 
process now succeeds also for a normal user. I was not aware of the newer 
version when I wrote my last email yesterday.

Would you please close bug #508805 as resolved. Many thanks and my apologies 
for the inconvenience this might have caused.

Achim



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508805: [Debian-eeepc-devel] Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

2009-01-04 Thread Achim Löbbert
Hello Alexander,

thank you for providing the patch and sorry for my late response.
I am not subscribed to the mailling list and forgot to ask for being CC'ed.

I confirm your patch solves both bugs #508805 as well as #506230 for me.

Regards,
Achim



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508805: [Debian-eeepc-devel] Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

2008-12-26 Thread Alexander Inyukhin
Please try this patch. It contains a fix for #506230 also.
diff -ur rt2860.orig/debian/rules rt2860/debian/rules
--- rt2860.orig/debian/rules	2008-10-07 13:13:37.0 +0400
+++ rt2860/debian/rules	2008-12-26 09:38:14.0 +0300
@@ -18,11 +18,12 @@
 	
 	# Build modules
 	$(MAKE) -C $(CURDIR) \
-	KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config
+	LINUX_SRC=$(KSRC) \
+	LINUX_SRC_MODULE=$(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/drivers/wireless
 	
 	# Install modules
 	$(MAKE) -C $(CURDIR) install \
-	KERNELPATH=$(KSRC) KERNELRELEASE=$(KVERS) KERNELCONF=$(KSRC)/.config \
+	LINUX_SRC=$(KSRC) \
 	LINUX_SRC_MODULE=$(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/drivers/wireless
 	# upstream has some .dat file to be used in the absence of
 	# wpa_supplicant/network-manager/iwconfig/iwpriv in /etc/Wireless
diff -ur rt2860.orig/os/linux/Makefile.6 rt2860/os/linux/Makefile.6
--- rt2860.orig/os/linux/Makefile.6	2008-10-07 13:13:37.0 +0400
+++ rt2860/os/linux/Makefile.6	2008-12-26 09:37:36.0 +0300
@@ -74,7 +74,6 @@
 install:
 	install -d $(LINUX_SRC_MODULE)
 	install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(LINUX_SRC_MODULE)
-	/sbin/depmod -a ${shell uname -r}
 
 uninstall:
 	rm -rf $(addprefix $(LINUX_SRC_MODULE),$(addsuffix .ko,$(MOD_NAME)))


Bug#508805: [Debian-eeepc-devel] Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

2008-12-15 Thread Achim Löbbert
Hello Artur,

Am Monday 15 December 2008 16:54:36 schrieb Artur R. Czechowski:
 Hello Achim,

 On Mon, Dec 15, 2008 at 04:27:38PM +0100, Achim Lobbert wrote:
  Building of this module is only possible for root. Non-root users see the
  following error message when the module(s) shall be installed for
  packaging:

 Could you provide command you run to compile the module?

Sure, from within ~/work/linux-2.6.27.9 I ran:
fakeroot make-kpkg --revision=2008.12.14.nb3ix+vanilla modules_image

Regards,
Achim



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508805: [Debian-eeepc-devel] Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

2008-12-15 Thread Artur R. Czechowski
Hello Achim,

On Mon, Dec 15, 2008 at 04:27:38PM +0100, Achim Lobbert wrote:
 Building of this module is only possible for root. Non-root users see the
 following error message when the module(s) shall be installed for packaging:
Could you provide command you run to compile the module?

Regards
Artur



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org