SlugOS: lockdown the kernel version in slugos.conf to override ixp4xx.conf
authorMike Westerhof <mwester@dls.net>
Tue, 9 Dec 2008 05:17:24 +0000 (23:17 -0600)
committerMike Westerhof <mwester@dls.net>
Tue, 9 Dec 2008 05:17:24 +0000 (23:17 -0600)
Also remove PREFERENCE nslu2 override in the kernel bb, as it does nothing at all.

conf/distro/include/slugos.inc
packages/linux/linux-ixp4xx_2.6.27.8.bb

index bb02f4b..78e9917 100644 (file)
@@ -5,6 +5,26 @@
 # WARNING: this file should not be used directly, use one of
 # the supported slugos-derived distributions instead.
 
+#===============================================================================#
+#===============================================================================#
+#===============================================================================#
+#                              NOTE NOTE NOTE
+#
+# This *forces* the preferred kernel version; making it unable to be overridden
+# in the local.conf file.  This is a Very Bad Thing.  This is temporary, and
+# is intended to facilitate some SlugOS-specific testing without disturbing
+# other distros that use the ixp4xx machine type (which is currently where the
+# preferred kernel version is set).
+#
+# This *must* be removed after initial testing is completed.  MJW 08-Dec-2008
+#
+PREFERRED_VERSION_linux-ixp4xx = "2.6.27.8+svnr${SRCREV}"
+#
+#===============================================================================#
+#===============================================================================#
+#===============================================================================#
+
+
 #----------------------------------------------------------------------------------
 # STANDARD SLUGOS DEFINITIONS
 #----------------------------------------------------------------------------------
@@ -95,9 +115,6 @@ DISTRO_EXTRA_RRECOMMENDS ?= ""
 # this is done by selecting the provider of libc (in this case it needs the
 # kernel, so there has to be a non-libc gcc to build the kernel!)
 
-# Our preferred kernel version:
-PREFERRED_VERSION_linux-ixp4xx ?= "2.6.27.8+svnr${SRCREV}"
-
 # Virtuals:
 PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial"
 PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate"
index c4a4334..c003127 100644 (file)
@@ -2,7 +2,6 @@ require linux.inc
 require linux-ixp4xx.inc
 
 DEFAULT_PREFERENCE = "-1"
-DEFAULT_PREFERENCE_nslu2 = "1"
 
 VANILLA_VERSION = "2.6.27"
 KERNEL_RELEASE = "2.6.27.8"