[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-453-gb9ede5db2
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2018-07-17 14:32:13
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via b9ede5db2e49b48807bd629302b207835845bd42 (commit)
from 60ee61604fd370c8cb906697f79b3b73ca000c4b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b9ede5db2e49b48807bd629302b207835845bd42
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Jul 17 16:41:00 2018 +0200
[BUILDROOT] 2017.02/2018.02: changes S10mdev via a patch
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/rootfs/post_build.sh | 5 -----
.../2017.02/237-armadeus-busybox-speed-up-mdev.patch | 13 +++++++++++++
patches/buildroot/2017.02/cleanup_buildroot.sh | 1 +
.../2018.02/237-armadeus-busybox-speed-up-mdev.patch | 15 +++++++++++++++
patches/buildroot/2018.02/cleanup_buildroot.sh | 1 +
5 files changed, 30 insertions(+), 5 deletions(-)
create mode 100644 patches/buildroot/2017.02/237-armadeus-busybox-speed-up-mdev.patch
create mode 100644 patches/buildroot/2018.02/237-armadeus-busybox-speed-up-mdev.patch
diff --git a/buildroot/target/device/armadeus/rootfs/post_build.sh b/buildroot/target/device/armadeus/rootfs/post_build.sh
index 44a33b014..c033193c9 100755
--- a/buildroot/target/device/armadeus/rootfs/post_build.sh
+++ b/buildroot/target/device/armadeus/rootfs/post_build.sh
@@ -66,11 +66,6 @@ if [ "$3" == "imx6ul" ]; then
fi
fi
-# Speed up mdev launch
-if [ -f $1/etc/init.d/S10mdev ]; then
- sed -i 's/find/#find/' $1/etc/init.d/S10mdev
-fi
-
# Generate xxx-modules.tar.gz archive, containing (only) Linux modules
cd $1/lib/modules/
tar czf $1/../images/$2-modules.tar.gz *
diff --git a/patches/buildroot/2017.02/237-armadeus-busybox-speed-up-mdev.patch b/patches/buildroot/2017.02/237-armadeus-busybox-speed-up-mdev.patch
new file mode 100644
index 000000000..eb81d06c2
--- /dev/null
+++ b/patches/buildroot/2017.02/237-armadeus-busybox-speed-up-mdev.patch
@@ -0,0 +1,13 @@
+Index: buildroot/package/busybox/S10mdev
+===================================================================
+--- buildroot.orig/package/busybox/S10mdev
++++ buildroot/package/busybox/S10mdev
+@@ -9,7 +9,7 @@ case "$1" in
+ echo /sbin/mdev >/proc/sys/kernel/hotplug
+ /sbin/mdev -s
+ # coldplug modules
+- find /sys/ -name modalias -print0 | xargs -0 sort -u -z | xargs -0 modprobe -abq
++ #find /sys/ -name modalias -print0 | xargs -0 sort -u -z | xargs -0 modprobe -abq
+ ;;
+ stop)
+ ;;
diff --git a/patches/buildroot/2017.02/cleanup_buildroot.sh b/patches/buildroot/2017.02/cleanup_buildroot.sh
index e9f9061e5..2dac10856 100755
--- a/patches/buildroot/2017.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2017.02/cleanup_buildroot.sh
@@ -31,6 +31,7 @@ rm -rf buildroot/package/beremiz/beremiz.mk
rm -rf buildroot/package/beremiz/host-beremiz-fix_compare_and_swap_problem_to_be_removed_with_kernel_3.1.patch
rm -rf buildroot/package/busybox/0006-rfkill-build.patch
rm -rf buildroot/package/busybox/0007-stty-Add-RS485-config-options.patch
+rm -rf buildroot/package/busybox/S10mdev
rm -rf buildroot/package/busybox/busybox.mk
rm -rf buildroot/package/can-utils/can-utils.hash
rm -rf buildroot/package/can-utils/can-utils.mk
diff --git a/patches/buildroot/2018.02/237-armadeus-busybox-speed-up-mdev.patch b/patches/buildroot/2018.02/237-armadeus-busybox-speed-up-mdev.patch
new file mode 100644
index 000000000..b42bcc9ab
--- /dev/null
+++ b/patches/buildroot/2018.02/237-armadeus-busybox-speed-up-mdev.patch
@@ -0,0 +1,15 @@
+Index: buildroot/package/busybox/S10mdev
+===================================================================
+--- buildroot.orig/package/busybox/S10mdev
++++ buildroot/package/busybox/S10mdev
+@@ -9,8 +9,8 @@ case "$1" in
+ echo /sbin/mdev >/proc/sys/kernel/hotplug
+ /sbin/mdev -s
+ # coldplug modules
+- find /sys/ -name modalias -print0 | xargs -0 sort -u | tr '\n' '\0' | \
+- xargs -0 modprobe -abq
++ #find /sys/ -name modalias -print0 | xargs -0 sort -u | tr '\n' '\0' | \
++ # xargs -0 modprobe -abq
+ ;;
+ stop)
+ ;;
diff --git a/patches/buildroot/2018.02/cleanup_buildroot.sh b/patches/buildroot/2018.02/cleanup_buildroot.sh
index 6e493c5ea..8d7edf75b 100755
--- a/patches/buildroot/2018.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2018.02/cleanup_buildroot.sh
@@ -29,6 +29,7 @@ rm -rf buildroot/package/beremiz/beremiz.mk
rm -rf buildroot/package/beremiz/host-beremiz-fix_compare_and_swap_problem_to_be_removed_with_kernel_3.1.patch
rm -rf buildroot/package/busybox/0006-rfkill-build.patch
rm -rf buildroot/package/busybox/0007-stty-Add-RS485-config-options.patch
+rm -rf buildroot/package/busybox/S10mdev
rm -rf buildroot/package/busybox/busybox.mk
rm -rf buildroot/package/can-utils/can-utils.hash
rm -rf buildroot/package/can-utils/can-utils.mk
hooks/post-receive
--
armadeus
|