Skip to Content.
Sympa Menu

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

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 (64ce596a71de481b293a225d820edd3b79eadf5c)
  • Date: Tue, 29 Aug 2017 06:02:03 +0000

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

disk/eudev/FINAL | 2 ++
disk/eudev/HISTORY | 6 ++++++
disk/eudev/PRE_BUILD | 27 +++++++++++++++++++++++++++
3 files changed, 35 insertions(+)

New commits:
commit 64ce596a71de481b293a225d820edd3b79eadf5c
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

eudev: Update for gotchas from
https://wiki.gentoo.org/wiki/Udev/Upgrade_Guide

Requires CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT built-in (udev 204).
I didn't have this and my server failed to boot after converting from
udev. :'(
Requires CONFIG_FHANDLE and CONFIG_NET built-in (udev 216).
I had these. :)
Requires CONFIG_FW_LOADER_USER_HELPER disabled (removed in udev 217).
Didn't break anything having it enabled, but code is being/already
removed.

diff --git a/disk/eudev/FINAL b/disk/eudev/FINAL
index e0a185d..245c952 100755
--- a/disk/eudev/FINAL
+++ b/disk/eudev/FINAL
@@ -81,3 +81,5 @@ message "\n${PROBLEM_COLOR}Udev-206 / eudev-v1.2 changes:"
\
# final warning
message "\n${PROBLEM_COLOR}Check any local scripts and udev rules !!!" \
"$DEFAULT_COLOR$MESSAGE_COLOR\nRead the NEWS file"
+
+message "\n${PROBLEM_COLOR}See
https://wiki.gentoo.org/wiki/Udev/Upgrade_Guide for steps to
upgrade${DEFAULT_COLOR}"
diff --git a/disk/eudev/HISTORY b/disk/eudev/HISTORY
index 0b35a50..501eea2 100644
--- a/disk/eudev/HISTORY
+++ b/disk/eudev/HISTORY
@@ -1,3 +1,9 @@
+2017-08-28 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Requires CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT
built-in (udev 204).
+ Requires CONFIG_FHANDLE and CONFIG_NET built-in (udev 216).
+ Requires CONFIG_FW_LOADER_USER_HELPER disabled (removed in udev
217).
+ * FINAL: Link to https://wiki.gentoo.org/wiki/Udev/Upgrade_Guide for
other gotchas.
+
2017-04-20 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 3.2.2
update website
diff --git a/disk/eudev/PRE_BUILD b/disk/eudev/PRE_BUILD
index 7d7f888..fc59970 100755
--- a/disk/eudev/PRE_BUILD
+++ b/disk/eudev/PRE_BUILD
@@ -1,3 +1,30 @@
+if [[ "$(get_kernel_config CONFIG_DEVTMPFS)" != "y" &&
+ "$(get_kernel_config CONFIG_DEVTMPFS_MOUNT)" != "y" ]]; then
+ message "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} requires" \
+ "CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT
built-in${DEFAULT_COLOR}" &&
+ return 1
+fi &&
+
+if [[ "$(get_kernel_config CONFIG_FHANDLE)" != "y" ]]; then
+ message "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} requires" \
+ "CONFIG_FHANDLE built-in${DEFAULT_COLOR}" &&
+ return 1
+fi &&
+
+if [[ "$(get_kernel_config CONFIG_NET)" != "y" ]]; then
+ message "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} requires" \
+ "CONFIG_NET built-in${DEFAULT_COLOR}" &&
+ return 1
+fi &&
+
+# Disable userspace firmware loader in Linux 3.7+
+if [[ "$(get_kernel_version|cut -d. -f3)" -ge "37" &&
+ "$(get_kernel_config CONFIG_FW_LOADER_USER_HELPER)" == "y" ]]; then
+ message "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} requires" \
+ "CONFIG_FW_LOADER_USER_HELPER disabled${DEFAULT_COLOR}" &&
+ return 1
+fi &&
+

create_group input &&
default_pre_build &&



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (64ce596a71de481b293a225d820edd3b79eadf5c), Eric Sandall, 08/29/2017

Archive powered by MHonArc 2.6.24.

Top of Page