From: Jo-Philipp Wich Date: Mon, 14 Sep 2020 14:16:59 +0000 (+0200) Subject: Revert "build: create tmp/userids file" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0b82ebaccbb4aa5033d0ea33b14027edd6dcafc0;p=openwrt%2Fstaging%2Fyousong.git Revert "build: create tmp/userids file" This reverts commit 34cc2c9a99f6542f009aa660790061f169aa96b3. The reverted shell code is a very poor reimplementation of the existing package-metadata.pl usergroup subcommand and the resulting file is not used anymore, so drop this code. Signed-off-by: Jo-Philipp Wich --- diff --git a/include/toplevel.mk b/include/toplevel.mk index 5d872098db..c233a4c214 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -93,7 +93,6 @@ prepare-tmpinfo: FORCE ./scripts/package-metadata.pl pkgaux tmp/.packageinfo > tmp/.packageauxvars || { rm -f tmp/.packageauxvars; false; } ./scripts/package-metadata.pl usergroup tmp/.packageinfo > tmp/.packageusergroup || { rm -f tmp/.packageusergroup; false; } touch $(TOPDIR)/tmp/.build - grep "Require-User" tmp/.packageinfo | cut -d ' ' -f 2- | sort -u | grep "=" > tmp/userids .config: ./scripts/config/conf $(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo) @+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \