From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9073ACD3444 for ; Wed, 6 May 2026 22:34:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6AE8E83478; Wed, 6 May 2026 22:34:32 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NQ3_oFWDheSX; Wed, 6 May 2026 22:34:31 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 164A483720 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1778106871; bh=nStTpD2WnsBi6MfZ3uY3iRuPSmt5d8OItrs9dPJvbOQ=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=kGiIPcDFk0Hg28TzmjuaMonXdRjGGtAdr1kDOxvzXy6TG5IlRAptnrRmyIy0FwWXP HUfhSHx6USpUWzaPvUspFzPBhtTd1tT3/hMmo7B14qptz8KrfsVXuL/+CIh8KRBOFj hk7pIfBP4pE7PiwjABXJKQvW32KeXEpXbDFWbrr0US9I83nJdu3Bsa6diSvrdS5Q2I A/0jraVjBDgDcSc32weSMA1SFaRhp3KvP+Akp0wjJWKTVGhW+1V//Bz5VO6MylFO07 Jg90qqKvwhRCTvlnqb07GbYqPby316t/XCxYXUYvKCKR7zlPe7vk74etfh/RJwyn4t Uw3SdcHUCd/lA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 164A483720; Wed, 6 May 2026 22:34:31 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id 9F2A4317 for ; Wed, 6 May 2026 22:34:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 85049406FD for ; Wed, 6 May 2026 22:34:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id HUCBNaAxIS8S for ; Wed, 6 May 2026 22:34:24 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::331; helo=mail-ot1-x331.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 836E1406F3 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 836E1406F3 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by smtp2.osuosl.org (Postfix) with ESMTPS id 836E1406F3 for ; Wed, 6 May 2026 22:34:24 +0000 (UTC) Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-7de4ed0593fso123839a34.1 for ; Wed, 06 May 2026 15:34:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778106863; x=1778711663; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=vhunqalpAqCW0JAxSfYzVzP41mxv4tdwG00KH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j4jccfJbILTFak5xCm+8ORvQ 0xnKNZo= X-Received: by 2002:a05:6830:6f86:b0:7d9:f50f:96ad with SMTP id 46e09a7af769-7e1df0b1725mr3028243a34.24.1778106863167; Wed, 06 May 2026 15:34:23 -0700 (PDT) Received: from james-x399.tailafd1a.ts.net (71-218-113-237.hlrn.qwest.net. [71.218.113.237]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deca7a9042sm12722145a34.6.2026.05.06.15.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2026 15:34:22 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Wed, 6 May 2026 16:33:35 -0600 Message-ID: <20260506223341.1759760-34-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260506223341.1759760-1-james.hilliard1@gmail.com> References: <20260506223341.1759760-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778106863; x=1778711663; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vhunqalpAqCW0JAxSfYzVzP41mxv4tdwG00KHZUSUmk=; b=q6dJlFZDlXybRbUuOPtpdgGlZbPfSRL/HgltbSW2wILnJ0AxBPrcN03UIFxn3PtAVB iUoBKDuUFS+38K6KSvqI4mz2012ejvMjGOtusSVyJTBbOrgj/3uvILc7/Jt5xzArSrHk +6mWT7DZ+plGRdAPPOLEJhxNZ4iSe6Nnuea0habTI5wPjFB2/uKVIXorZveqMEZk/MLR FPos+ot+bYKjiF67I6Mo5Pq2je+YAywEEikgGDRR1MMgFmFU8fGeaKzj5iIADJfk8IsF ZvlqncEDT4N+430luSMcWw4mCB3P121ni88TFQzPv5GN/93Jsl2ZtpuJPcD+2rmtF2Zu At6Q== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=q6dJlFZD Subject: [Buildroot] [PATCH 34/40] package/tunctl: preserve /usr/sbin symlink X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Gary Bisson , Alexander Clouter , Sergio Prado , Sergey Matyukevich , Bernd Kuhls , Brandon Maier , "Alvaro G . M" , Paul Cercueil , Refik Tuzakli , James Hilliard , Doug Kehn , Spenser Gilliland , Dario Binacchi , Marcus Hoffmann , Pascal de Bruijn Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" With BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory. With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin. The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path. Signed-off-by: James Hilliard --- package/tunctl/tunctl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tunctl/tunctl.mk b/package/tunctl/tunctl.mk index 0d7b88dfa5..28db576fef 100644 --- a/package/tunctl/tunctl.mk +++ b/package/tunctl/tunctl.mk @@ -15,7 +15,7 @@ define TUNCTL_BUILD_CMDS endef define TUNCTL_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/tunctl $(TARGET_DIR)/usr/sbin/tunctl + $(INSTALL) -m 0755 $(@D)/tunctl $(TARGET_DIR)/usr/sbin/tunctl endef $(eval $(generic-package)) -- 2.53.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot