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/switch_root.c | |
| parent | 75fbff1326674b768cee66f32e3799d5bff5e194 (diff) | |
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/switch_root.c')
| -rw-r--r-- | util-linux/switch_root.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 901c0b8db..f61002236 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c @@ -9,6 +9,7 @@ //config:config SWITCH_ROOT //config: bool "switch_root (5.5 kb)" //config: default y +//config: select PLATFORM_LINUX //config: help //config: The switch_root utility is used from initramfs to select a new //config: root device. Under initramfs, you have to use this instead of |
