diff options
Diffstat (limited to 'source/a')
-rw-r--r-- | source/a/mkinitrd/0003-blacklist.40-usb_modeswitch.rules.patch | 10 | ||||
-rwxr-xr-x | source/a/mkinitrd/mkinitrd.SlackBuild | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/source/a/mkinitrd/0003-blacklist.40-usb_modeswitch.rules.patch b/source/a/mkinitrd/0003-blacklist.40-usb_modeswitch.rules.patch new file mode 100644 index 00000000..86f496e8 --- /dev/null +++ b/source/a/mkinitrd/0003-blacklist.40-usb_modeswitch.rules.patch @@ -0,0 +1,10 @@ +--- ./mkinitrd.orig 2021-10-12 13:50:48.059708275 -0500 ++++ ./mkinitrd 2021-10-12 13:51:36.482705596 -0500 +@@ -69,6 +69,7 @@ + check-mtp-device \ + check-ptp-camera \ + udev-configure-printer \ ++ rules.d/40-usb_modeswitch.rules \ + rules.d/60-openobex.rules \ + rules.d/73-seat-late.rules \ + rules.d/85-regulatory.rules \ diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild index 58dc341d..6b507039 100755 --- a/source/a/mkinitrd/mkinitrd.SlackBuild +++ b/source/a/mkinitrd/mkinitrd.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mkinitrd VERSION=${VERSION:-1.4.11} BB=1.32.1 -BUILD=${BUILD:-25} +BUILD=${BUILD:-26} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -122,6 +122,8 @@ chmod 755 $PKG/sbin/mkinitrd ( cd $PKG/sbin ; zcat $CWD/mkinitrd.tempfile.to.mktemp.patch.gz | patch --verbose || exit 1) || exit 1 # Patch mkinitrd to bail on no temp directory: ( cd $PKG/sbin ; zcat $CWD/0002-bail-if-temp-dir-is-not-created.patch.gz | patch -p1 --verbose || exit 1) || exit 1 +# Don't include 40-usb_modeswitch.rules on the initrd: +( cd $PKG/sbin ; zcat $CWD/0003-blacklist.40-usb_modeswitch.rules.patch.gz | patch -p1 --verbose || exit 1) || exit 1 rm -f $PKG/sbin/mkinitrd.orig mkdir -p $PKG/usr/man/man{5,8} |