aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/0002-app-location-for-vi-and-lspci.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-29 17:05:27 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-29 16:10:34 +0000
commit6cd2a0970fff43c9000bfb5f48d0e348963875fb (patch)
tree1ccdf651e58cef2f2d889b482cafd908cf632af3 /main/busybox/0002-app-location-for-vi-and-lspci.patch
parent338b9d74c73b3c61c93da3b3abd9c5a5cffe6d4f (diff)
main/busybox: upgrade to 1.26.0
Diffstat (limited to 'main/busybox/0002-app-location-for-vi-and-lspci.patch')
-rw-r--r--main/busybox/0002-app-location-for-vi-and-lspci.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/busybox/0002-app-location-for-vi-and-lspci.patch b/main/busybox/0002-app-location-for-vi-and-lspci.patch
new file mode 100644
index 00000000000..eb2e069e69b
--- /dev/null
+++ b/main/busybox/0002-app-location-for-vi-and-lspci.patch
@@ -0,0 +1,39 @@
+From a3016293eb42eb3679400148ed4520005ff6b8a7 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue, 27 Dec 2016 20:46:59 +0100
+Subject: [PATCH 02/12] app location for vi and lspci
+
+---
+ editors/vi.c | 2 +-
+ util-linux/lspci.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/editors/vi.c b/editors/vi.c
+index 38a4692fd..dd3efda75 100644
+--- a/editors/vi.c
++++ b/editors/vi.c
+@@ -166,7 +166,7 @@
+ //config: Unless you want more (or less) frequent "undo points" while typing,
+ //config: you should probably leave this unchanged.
+
+-//applet:IF_VI(APPLET(vi, BB_DIR_BIN, BB_SUID_DROP))
++//applet:IF_VI(APPLET(vi, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+ //kbuild:lib-$(CONFIG_VI) += vi.o
+
+diff --git a/util-linux/lspci.c b/util-linux/lspci.c
+index 8b38a2366..f918f0972 100644
+--- a/util-linux/lspci.c
++++ b/util-linux/lspci.c
+@@ -16,7 +16,7 @@
+ //config:
+ //config: This version uses sysfs (/sys/bus/pci/devices) only.
+
+-//applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP))
++//applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_SBIN, BB_SUID_DROP))
+
+ //kbuild:lib-$(CONFIG_LSPCI) += lspci.o
+
+--
+2.11.0
+