diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-16 02:04:59 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-11-29 14:10:22 +0100 |
commit | 77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch) | |
tree | 8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /util-linux/pivot_root.c | |
parent | 75fbff1326674b768cee66f32e3799d5bff5e194 (diff) | |
download | busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.gz busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.bz2 busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.zip |
Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on
Linux only. Some features are also Linux-only.
Also, libresolv is used on all GNU platforms, notably GNU/Hurd and
GNU/kfreeBSD.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/pivot_root.c')
-rw-r--r-- | util-linux/pivot_root.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index ecc891100..41f29da32 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c | |||
@@ -11,6 +11,7 @@ | |||
11 | //config:config PIVOT_ROOT | 11 | //config:config PIVOT_ROOT |
12 | //config: bool "pivot_root (1.1 kb)" | 12 | //config: bool "pivot_root (1.1 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 15 | //config: help |
15 | //config: The pivot_root utility swaps the mount points for the root filesystem | 16 | //config: The pivot_root utility swaps the mount points for the root filesystem |
16 | //config: with some other mounted filesystem. This allows you to do all sorts | 17 | //config: with some other mounted filesystem. This allows you to do all sorts |