[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel or syskold not supporting flavours



Hi,

	There are two different places where the version number gets
 included. One is LINUX_VERSION_CODE, which is a pure number, and can
 not accomodate arbitrary flavours, and the other is UTS_RELEASE,
 which can.

	However, the correct way of making flavours work with klogd is
 to edit  /etc/init.d/syslogd like so:
----------------------------------------------------------------------
#  Use KLOGD="-k /boot/System.map-$(uname -r)" to specify System.map
#
KLOGD="-k /boot/System.map-$(uname -r)"
 ....
   .... /sbin/klogd $KLOGD
----------------------------------------------------------------------

	This works; I have tested this. I have also modified the
 Flavours proposal to include this workaround.

	This is what the Flavours scheme advocates you do.
______________________________________________________________________
 include/linux/version.h: ./Makefile
-       @echo \#define UTS_RELEASE \"$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)\" > .v
er
+       @echo \#define UTS_RELEASE \"$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(INT_F
LAV)\" > .ver
        @echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLE
VEL) \\* 256 + $(SUBLEVEL)` >> .ver
        @mv -f .ver $@
______________________________________________________________________


	manoj

-- 
 "The greater the hold of government upon the life of the individual
 citizen, the greater the risk of war." John Hospers
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: