From patchwork Fri Nov 8 17:17:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1192072 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TXbE4ISw"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 478n4Z1wZ4z9sNH for ; Sat, 9 Nov 2019 04:16:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AF1DE23459; Fri, 8 Nov 2019 17:16:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Vc-4WRBDIcs; Fri, 8 Nov 2019 17:16:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7EE18233B0; Fri, 8 Nov 2019 17:16:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E489D1BF28D for ; Fri, 8 Nov 2019 17:16:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E0FA586B6B for ; Fri, 8 Nov 2019 17:16:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TdO1q918FMdM for ; Fri, 8 Nov 2019 17:16:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by whitealder.osuosl.org (Postfix) with ESMTPS id F1D5686B55 for ; Fri, 8 Nov 2019 17:16:40 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id c22so7020965wmd.1 for ; Fri, 08 Nov 2019 09:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i1dVmF4otpu2sl1aa1CbM/PsBdIkMR7gyVmHv2cTzKI=; b=TXbE4ISwPERVZ0Tog8BnDi5cL0nipmwRpIaIDeDA0STIDXbdvudWciMN25SPJUvhAW Kivk55XbOh8eb2VQTxpO0pWrQIN94pc67OyJLEXu/XBRD6KOvC5o8YuNlA4MvTYGQ6Bh rdjaAC1qyRadF/vyrmJ/l2V8D5oHY7n5CC80n5nXTuIZTowM/zizmwn8qHhOicIojKE9 FsFDSycR3BKKa51/gtLz45SvJ4qPQKBJKFjTnMLH286/+x1+pvRITbp1aOgQVIIKtick 5lkiPILhxSZcPqkSmW3VVRZAiK78XhLnCQfSDXEwPOPT/k2oRnjQTF4DGXga83Nop4vi xyZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i1dVmF4otpu2sl1aa1CbM/PsBdIkMR7gyVmHv2cTzKI=; b=kfRG0ANaYUEHElaZuIRouirBFG83MztKjy/OkibzAdMkOxQAzGoX1tmBikmJv1oYLB mOhtWBEzfmCceoBKLAY86uaQLI89GVWJoW/xHqJlwUMWfjVF4niF06P1P83R0GmPIrHq 13FZ2SxZeXoIafwmjj4QiYyXALc5HEuaqysS2cjHShI9/YNLwsTA4yzuwr/AOZ/M7wxj 5r5Y4WMZIRsY7Xjes6/WPBkvEGq5O1vCdDGc1qydYlYt4ZrC1075V1gRpdMKOLn8p/84 VACd8tzF01h8Kd8ry2ekrZeJ+RqQ/7yjFjb96xDNz2I4T2lwfIEo/DfSzwiMi+8dXj6T Eibg== X-Gm-Message-State: APjAAAU+u1qI6/ki9+bPQW6usp6NB5VbN+oD8XYY9NRQX1nh2PR6Wuh8 sQmjCUwZjSliZb8tN2qcJGw4T9zp X-Google-Smtp-Source: APXvYqx61a4onHrgHHhrLU6u/+Jc1V6ZzmunMoRbzwre/mqle9gQcHn9ljmAfY/4oZ5DE+tSf0bMpg== X-Received: by 2002:a1c:9e10:: with SMTP id h16mr4222078wme.91.1573233399233; Fri, 08 Nov 2019 09:16:39 -0800 (PST) Received: from kali.home (lfbn-1-3732-187.w86-229.abo.wanadoo.fr. [86.229.230.187]) by smtp.gmail.com with ESMTPSA id b3sm7064009wmh.17.2019.11.08.09.16.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2019 09:16:38 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 8 Nov 2019 18:17:17 +0100 Message-Id: <20191108171717.3610-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/sudo: replace rmdir X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Replace rmdir by $(RM) -rf to fix the following error: rmdir /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/target/etc/sudoers.d rmdir: failed to remove '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/target/etc/sudoers.d': Directory not empty Fixes: - http://autobuild.buildroot.org/results/0cfc61a98760c1d3a98aa0f1e126767881c49abd Signed-off-by: Fabrice Fontaine --- package/sudo/sudo.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 7d52eb0b57..ce45583a4e 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -66,7 +66,7 @@ endef define SUDO_REMOVE_DIST_EXAMPLES $(RM) $(TARGET_DIR)/etc/sudoers.dist - rmdir $(TARGET_DIR)/etc/sudoers.d + $(RM) -rf $(TARGET_DIR)/etc/sudoers.d endef SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_REMOVE_DIST_EXAMPLES