Author: pebender
Date: Mon May 11 17:24:31 2009
New Revision: 4746
Modified:
trunk/gar-minimyth/html/minimyth/document-changelog.txt
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
Log:
- Moved automatic kernel module loading so that it is after firmware
detection.
Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt Mon May 11
17:24:31 2009
@@ -21,6 +21,7 @@
(not just the name) when enabling/disabling the control.
- Changed init so that firmware files are fetched before firmware
dependent kernel drivers are loaded.
+ - Firmware is detected in init/conf.pm just after starting DHCP.
- Added an init state directory (/var/cache/minimyth/init/state) for
conveying the state of init between running programs.
- Changed init/dhcp.pm and init/conf/MM_DHCP so that the use the init
@@ -29,7 +30,7 @@
minimyth.pm
- Moved init/modules_automatic.pm so that it starts later in the init
process.
- Now init/modules_automatic.pm so that it is called just after
- starting DHCP.
+ detecting firmware.
- Now users can more easily modify kernel module parameters by
adding/removing/modifying files in /etc/modprobe.conf
- Now that the drivers required to boot are compiled into the
kernel
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
Mon May 11 17:24:31 2009
@@ -171,21 +171,6 @@
$success = 0;
}
- # Load the automatic kernel modules.
- $minimyth->package_require(q(init::modules_automatic));
- if ($minimyth->package_member_require(q(init::modules_automatic),
q(start)))
- {
- eval
- {
- init::modules_automatic->start($minimyth) || ($success = 0);
- };
- if ($@)
- {
- $minimyth->message_output('err', qq($@));
- $success = 0;
- }
- }
-
# Enable configuration auto-detection udev rules for firmware.
if (opendir(DIR, '/lib/udev/rules.d'))
{
@@ -210,6 +195,21 @@
else
{
$success = 0;
+ }
+
+ # Load the automatic kernel modules.
+ $minimyth->package_require(q(init::modules_automatic));
+ if ($minimyth->package_member_require(q(init::modules_automatic),
q(start)))
+ {
+ eval
+ {
+ init::modules_automatic->start($minimyth) || ($success = 0);
+ };
+ if ($@)
+ {
+ $minimyth->message_output('err', qq($@));
+ $success = 0;
+ }
}
# Enable configuration auto-detection udev rules for everything else.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---