summaryrefslogtreecommitdiff
path: root/system/bcache-tools
diff options
context:
space:
mode:
authorNikos Giotis <nikos.giotis@gmail.com>2015-05-08 22:22:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-08 22:22:31 +0700
commitb9731fa2bfda8eabf1e340edee7c0236270d97bd (patch)
treee8740a673e737d145d5a92a9741a96815b2bdca7 /system/bcache-tools
parentc70e408a09fc1eb431197d6df0a18f6129f78dfb (diff)
downloadslackbuilds-b9731fa2bfda8eabf1e340edee7c0236270d97bd.tar.gz
system/bcache-tools: Add compatibility patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/bcache-tools')
-rw-r--r--system/bcache-tools/bcache-tools.SlackBuild6
-rw-r--r--system/bcache-tools/udev-rules-no-run-builtin.patch.gzbin0 -> 294 bytes
2 files changed, 4 insertions, 2 deletions
diff --git a/system/bcache-tools/bcache-tools.SlackBuild b/system/bcache-tools/bcache-tools.SlackBuild
index ffe21a9bcf..99b8de8959 100644
--- a/system/bcache-tools/bcache-tools.SlackBuild
+++ b/system/bcache-tools/bcache-tools.SlackBuild
@@ -21,7 +21,7 @@
PRGNAM=bcache-tools
VERSION=${VERSION:-1.0.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,9 +60,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
-# Patch for slackware compatibility
+# Patches for slackware compatibility
# Disable initramfs, initcpio and dracut installations from 'make install' step
zcat $CWD/no-initramfs-initcpio-dracut-install.patch.gz | patch -p0 --verbose
+# Convert RUN{builtin} udev rule to RUN
+zcat $CWD/udev-rules-no-run-builtin.patch.gz | patch -p0 --verbose
# Fix permissions
chown -R root:root .
diff --git a/system/bcache-tools/udev-rules-no-run-builtin.patch.gz b/system/bcache-tools/udev-rules-no-run-builtin.patch.gz
new file mode 100644
index 0000000000..61c6b57825
--- /dev/null
+++ b/system/bcache-tools/udev-rules-no-run-builtin.patch.gz
Binary files differ