diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 21:28:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 21:28:19 +0200 |
commit | 5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a (patch) | |
tree | de564d978ea2bbf5484f71ea3f181cb4b0a7f541 /scripts | |
parent | d206b1651ac4dc4db1d9bbd172a81da0568b42e8 (diff) | |
download | busybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.tar.gz busybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.tar.bz2 busybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/randomtest | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/randomtest b/scripts/randomtest index 94709a99f..ec2f095b2 100755 --- a/scripts/randomtest +++ b/scripts/randomtest | |||
@@ -113,6 +113,28 @@ if test x"$LIBC" = x"uclibc"; then | |||
113 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config | 113 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config |
114 | fi | 114 | fi |
115 | 115 | ||
116 | # If musl | ||
117 | if test x"$LIBC" = x"musl"; then | ||
118 | cat .config \ | ||
119 | | grep -v CONFIG_STATIC \ | ||
120 | | grep -v CONFIG_LFS \ | ||
121 | | grep -v CONFIG_EXTRA_COMPAT \ | ||
122 | | grep -v CONFIG_FEATURE_2_4_MODULES \ | ||
123 | | grep -v CONFIG_FEATURE_VI_REGEX_SEARCH \ | ||
124 | | grep -v CONFIG_FEATURE_MOUNT_NFS \ | ||
125 | | grep -v CONFIG_FEATURE_INETD_RPC \ | ||
126 | >.config.new | ||
127 | mv .config.new .config | ||
128 | echo 'CONFIG_STATIC=y' >>.config | ||
129 | # with LFS off, uoff_t will have wrong width: | ||
130 | echo 'CONFIG_LFS=y' >>.config | ||
131 | echo '# CONFIG_EXTRA_COMPAT is not set' >>.config | ||
132 | echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config | ||
133 | echo '# CONFIG_FEATURE_VI_REGEX_SEARCH is not set' >>.config | ||
134 | echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config | ||
135 | echo '# CONFIG_FEATURE_INETD_RPC is not set' >>.config | ||
136 | fi | ||
137 | |||
116 | # If STATIC, remove some things. | 138 | # If STATIC, remove some things. |
117 | # PAM with static linking is probably pointless | 139 | # PAM with static linking is probably pointless |
118 | # (but I need to try - now I don't have libpam.a on my system, only libpam.so) | 140 | # (but I need to try - now I don't have libpam.a on my system, only libpam.so) |