Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (58a56b299f03f7917c66c13474a135d4584e95d0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (58a56b299f03f7917c66c13474a135d4584e95d0)
  • Date: Thu, 7 Jan 2010 15:02:18 -0600

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

disk/udev/HISTORY | 85
+++++++++++++++++++++++++++-------------------------
disk/udev/PRE_BUILD | 13 +++++++
2 files changed, 58 insertions(+), 40 deletions(-)

New commits:
commit 58a56b299f03f7917c66c13474a135d4584e95d0
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

udev: Cleanup whitespace

commit 1604f06bc428b1a4bde6736b83c175705ceeb347
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

udev: udev with extras requires CONFIG_SYSFS_DEPRECATED_V2 to be
disabled in the kernel

diff --git a/disk/udev/HISTORY b/disk/udev/HISTORY
index c6a7612..0208ff4 100644
--- a/disk/udev/HISTORY
+++ b/disk/udev/HISTORY
@@ -1,3 +1,7 @@
+2010-01-07 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: udev with extras requires CONFIG_SYSFS_DEPRECATED_V2 to
be
+ disabled in the kernel
+
2009-12-05 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 149
* PRE_BUILD, mice.diff: removed patch
@@ -11,7 +15,7 @@
have an "input" parent, it got stuck in an endless loop.
Unfortunately this
includes the virtual/input/mice multiplexer, which exposes this bug
on just
about every system.
-
+
2009-12-02 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 148

@@ -370,11 +374,11 @@
* INSTALL: handle rules files install for 092 (bug #13073)

2006-08-15 Juuso Alasuutari <iuso AT sourcemage.org>
- * DETAILS: [automated] Removed UPDATED (deprecated in favor of
+ * DETAILS: [automated] Removed UPDATED (deprecated in favor of
PATCHLEVEL).

2006-08-15 Flavien Bridault <vlaaad AT sourcemage.org>
- * DETAILS: PATCHLEVEL++ to get the alsa rules files that was actually
+ * DETAILS: PATCHLEVEL++ to get the alsa rules files that was actually
not integrated in git repository

2006-08-13 Flavien Bridault <vlaaad AT sourcemage.org>
@@ -393,37 +397,37 @@
* PRE_BUILD: removed patch above

2006-06-25 Juuso Alasuutari <iuso AT sourcemage.org>
- * PRE_BUILD: Added patch to allow network interface renaming
- with existing names. Added comments about patches, tidied
+ * PRE_BUILD: Added patch to allow network interface renaming
+ with existing names. Added comments about patches, tidied
code.
- * CONFIGURE, PRE_BUILD, BUILD, INSTALL: Commented out static
- target parts, it only installs udevstart which is deprecated
+ * CONFIGURE, PRE_BUILD, BUILD, INSTALL: Commented out static
+ target parts, it only installs udevstart which is deprecated
now.
* ifrename_wait_retry.patch: Added.
* Makefile.patch: Updated.

2006-06-24 Juuso Alasuutari <iuso AT sourcemage.org>
- * helpers/mac2name: Edited to read DEVICE_MAC instead of MAC in
- /etc/sysconfig/network/*.dev. Fixed a bug where supplying no
- argument to the script resulted in an interface name. Edited
+ * helpers/mac2name: Edited to read DEVICE_MAC instead of MAC in
+ /etc/sysconfig/network/*.dev. Fixed a bug where supplying no
+ argument to the script resulted in an interface name. Edited
to display message on error. Made small optimizations.
* DETAILS: PATCHLEVEL++

2006-06-21 Flavien Bridault <vlaaad AT sourcemage.org>
* rules/50-default.rules: removed OSS sound devices from /dev/sound
(bug #12662)
- * DETAILS: PATCHLEVEL++
-
+ * DETAILS: PATCHLEVEL++
+
2006-06-17 Flavien Bridault <vlaaad AT sourcemage.org>
- * DETAILS: added 094. This one is not compatible with kernels older
- than 2.6.15rc1 because of udevsend, so we will keep both 092 and
+ * DETAILS: added 094. This one is not compatible with kernels older
+ than 2.6.15rc1 because of udevsend, so we will keep both 092 and
> 092 for a while, PATCHLEVEL++ to get the previous update
* PREPARE: Removed the warning for the config files move, this stuff
has been there for 14 months, added a test to use the right udev
version according to the kernel version
* CONFIGURE: Prompt for persistent input rules
* INSTALL: Removed udevsend and udevstart install for kernels
- newer than 2.6.15rc1, added persistent input rules installing,
+ newer than 2.6.15rc1, added persistent input rules installing,
added firmware rule generation according to the kernel version
* FINAL: Removed the move of the config files
* rules/50-default.rules: remove the rule for the firmware, now
@@ -432,16 +436,16 @@
wait for udev events before the script exits

2006-06-11 Juuso Alasuutari <iuso AT sourcemage.org>
- * rules/50-default.rules: Removed deprecated %e from cdrom
- rules, rewrote to use new helper script instead. Did some
+ * rules/50-default.rules: Removed deprecated %e from cdrom
+ rules, rewrote to use new helper script instead. Did some
reorganizing with cdrom and disk rules.
* helpers/cdsymlink_helper: Added.
* INSTALL: Added cdsymlink_helper script install.

2006-05-15 Juuso Alasuutari <iuso AT sourcemage.org>
- * PRE_BUILD: Removed fix for typo in alsa rules file, was fixed
+ * PRE_BUILD: Removed fix for typo in alsa rules file, was fixed
upstream
- * DEPENDS: Replaced "installed_version linux" with
+ * DEPENDS: Replaced "installed_version linux" with
"get_kernel_version", fixes conditional for custom kernels

2006-05-15 Flavien Bridault <vlaaad AT sourcemage.org>
@@ -455,18 +459,18 @@
* DETAILS: PATCHLEVEL

2006-05-11 Flavien Bridault <vlaaad AT sourcemage.org>
- * INSTALL: install path_id in /lib/udev since this is a helper,
+ * INSTALL: install path_id in /lib/udev since this is a helper,
otherwise udev persistent disk rules don't find it

2006-05-10 Juuso Alasuutari <iuso AT sourcemage.org>
- * rules/50-default.rules: Fixed incorrect node naming for usb
+ * rules/50-default.rules: Fixed incorrect node naming for usb
printers, added new rules for various devices
* DETAILS: Updated PATCHLEVEL, added some new keywords

2006-05-02 Juuso Alasuutari <iuso AT sourcemage.org>
* INSTALL: Install early rules straight from source dir
* rules/05-udev-early.rules: Deleted
- * rules/50-default.rules: Thiefed a ton of rules from gentoo
+ * rules/50-default.rules: Thiefed a ton of rules from gentoo
rules file, fixed some typos
* 52-modules.rules: Some edits

@@ -481,12 +485,12 @@

2006-04-28 Juuso Alasuutari <iuso AT sourcemage.org>
* 50-default.rules, 50-default.rules-hotplug: Deleted, see below
- * rules/50-default.rules: Added, now the differences between
- non-hotplug and hotplug systems are taken care of in
+ * rules/50-default.rules: Added, now the differences between
+ non-hotplug and hotplug systems are taken care of in
52-modules.rules*
- * 52-modules.rules, 52-modules.rules-hotplug: Added, different
- module loading rules for non-hotplug and hotplug systems. Also
- some new rules for non-hotplug, fixes e.g. SCSI driver
+ * 52-modules.rules, 52-modules.rules-hotplug: Added, different
+ module loading rules for non-hotplug and hotplug systems. Also
+ some new rules for non-hotplug, fixes e.g. SCSI driver
loading.
* INSTALL: Edited to install correct 52-modules.rules* file
* rules/README: Updated the text a bit
@@ -499,19 +503,19 @@
* rules/05-udev-early.rules: Added

2006-04-18 Juuso Alasuutari <iuso AT sourcemage.org>
- * CONFIGURE, INSTALL: Undid previous hack in favor of a better
- one. Now interface names are bound if MAC addresses are set
- for them with netconf. Thanks to Mads Laursen for the idea and
+ * CONFIGURE, INSTALL: Undid previous hack in favor of a better
+ one. Now interface names are bound if MAC addresses are set
+ for them with netconf. Thanks to Mads Laursen for the idea and
Arwed von Merkatz for pointing out how to do it.
* bindings: Deleted
- * helpers/mac2name: Added, helper script to retrieve interface
+ * helpers/mac2name: Added, helper script to retrieve interface
names in exchange for MAC addresses
* rules/07-bindings.rules: Added, calls mentioned script

2006-04-15 Juuso Alasuutari <iuso AT sourcemage.org>
- * CONFIGURE: Added prompt to install persistent network
+ * CONFIGURE: Added prompt to install persistent network
interface names, made prompts more uniform
- * INSTALL: Edited to source a script to install persistent
+ * INSTALL: Edited to source a script to install persistent
network interface name rules
* bindings: Added, this is the mentioned script

@@ -526,21 +530,21 @@
* INSTALL: made loop vars local

2006-04-04 Juuso Alasuutari <iuso AT sourcemage.org>
- * INSTALL: edited to install different default rules for hotplug
- and non-hotplug systems because rulesets are incompatible.
- removed one unused var, made another var local, and did some
+ * INSTALL: edited to install different default rules for hotplug
+ and non-hotplug systems because rulesets are incompatible.
+ removed one unused var, made another var local, and did some
minor and not so minor fixes.
* rules/50-default.rules: deleted
- * 50-default.rules-hotplug: added (same file as above, moved &
+ * 50-default.rules-hotplug: added (same file as above, moved &
renamed)
- * 50-default.rules: added (new udev-only module autoload rules
+ * 50-default.rules: added (new udev-only module autoload rules
file)
- * TRIGGERS: hotplug cast/dispel now triggers udev cast to keep
+ * TRIGGERS: hotplug cast/dispel now triggers udev cast to keep
rules up to date
* DETAILS: PATCHLEVEL up
* DEPENDS: made 1 var local
* CONFIGURE: made 1 var local
- * PRE_BUILD: removed a sedit that fixes something already fixed
+ * PRE_BUILD: removed a sedit that fixes something already fixed
upstream

2006-04-03 David Brown <dmlb2000 AT gmail.com>
@@ -1016,3 +1020,4 @@

2003-07-25 Eric Sandall <sandalle AT sourcemage.org>
* Created spell
+
diff --git a/disk/udev/PRE_BUILD b/disk/udev/PRE_BUILD
index a91dd92..18bca71 100755
--- a/disk/udev/PRE_BUILD
+++ b/disk/udev/PRE_BUILD
@@ -1,5 +1,18 @@
# kernel < 2.6.15 can't use udev > 092 because udevsend has been removed

+if list_find "$UDEV_OPTS" "--enable-extras"
+then
+ local _UDEV_SYSFS_DEPRECATED=$(get_kernel_config
CONFIG_SYSFS_DEPRECATED_V2) &&
+ if [[ $_UDEV_SYSFS_DEPRECATED == y ||
+ $_UDEV_SYSFS_DEPRECATED == m ]]
+ then
+ message "${PROBLEM_COLOR}You have CONFIG_SYSFS_DEPRECATED_V2" \
+ "enabled in your kernel configuration, cannot build" \
+ "${SPELL_COLOR}$SPELL${MESSAGE_COLOR}.${DEFAULT_COLOR}" &&
+ return 1
+ fi
+fi &&
+
local KVER=$(get_kernel_version) &&
local VER2=$(echo $KVER | cut -d. -f2) &&
local VER3=$(echo $KVER | cut -d. -f3) &&



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (58a56b299f03f7917c66c13474a135d4584e95d0), Eric Sandall, 01/07/2010

Archive powered by MHonArc 2.6.24.

Top of Page