Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp569310pxb; Wed, 18 Aug 2021 08:49:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYOP1JCganMKiGfp4TU3sJSON18VFYYToYw/lM+h2Yoz8n8JlZJ6Nc3FrWmmSoBUbQjC9i X-Received: by 2002:a05:6402:4303:: with SMTP id m3mr10993357edc.379.1629301775146; Wed, 18 Aug 2021 08:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629301775; cv=none; d=google.com; s=arc-20160816; b=re9XfVzhFDbMK+Rs9CF0Qd+JuOl/ZYB61i7Bxn8mMvibHthjTKdVf7K8SLyU72LPO2 +gHx3sTLhj9LEJOBqfZENxHJwJEs/BmM/n1ncsiFb4udQ0Z1xCa5rqsnHRlJrpxIy/Xa RPPtcz5ED0pqAp77jk3l2KbsagRdQMri/uPlduXNMMaKzwMUQPNKbu0jwFv+PXz9Sv/O BTmdq7PfNFokuUsCygl5eS8nOsccSiV1RS5VS7bZVHCBzjtDOc7vkpkIapCrO2q1ZBfK pvc1CUVFySXs65Sd30h5ehqUaF4ltZNXlSRZ6ui7krdrP8RYNKFJRPaD4ZEFZJKri/t/ N6xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dEDUliLc2qrFYYbpwGoL3AeOYmTJ041IXVBP+u79Zy0=; b=HrGOTbZPQzsudXBJlDO8u93J/LfrXj9C3GjMyNDp8ms0Jasr3jaiSNqeyhDpZMYogY 6tPQ2dwoqM/SpheaGsp9Hr4Q9DtM0XEg1cLAM6+CT5rcwlm8A2V9k6eH1xWdPvJ/2BiM lxT07MO6dexUkE4QrWfliSjCLyB8rt3Fjqj69V+/p6Mt0YWX0gLXrdgEbwB2O7BSAxu5 n6lkVu+4j9YnXuCsucksZ6CGlHXBCM4IziwtanaUoLgczVYgP1oDglfCN5RQq0BdC6ZU fPaVAL0/u8WeouoRunZa7zIugCMu9YvZUq/DekBltVLa9VF6Uv4q3B/unoobQU2+4Uxw c6bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si257991ejk.388.2021.08.18.08.49.11; Wed, 18 Aug 2021 08:49:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239949AbhHRPsP (ORCPT + 99 others); Wed, 18 Aug 2021 11:48:15 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:46887 "EHLO mail-lf1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240060AbhHRPsM (ORCPT ); Wed, 18 Aug 2021 11:48:12 -0400 Received: by mail-lf1-f44.google.com with SMTP id u22so5520954lfq.13; Wed, 18 Aug 2021 08:47:34 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=dEDUliLc2qrFYYbpwGoL3AeOYmTJ041IXVBP+u79Zy0=; b=PuW+7NltJ0sMKCWza9vpojkwxQ7xAKZqOEMCq8/9MIfWL59rDm/9hZaiz3NG5awhXX wCK/AzD3J54KG3ReaufsfOoR82lyOKWllBNE4vH6j6ndYnv+lhFBePOu7+7cPE+O1rie 7e/nD5hgrxjZFO54Pi/ywAMflvXwPCTEO8g2XneABwm3+ETDI0z0HIJfr/ZNHz6sGXSS R08bS+lirhuQK1B+9jpSgjPuhpDffP42RwjY/47XPeNfSmE+PZGDv8QyRz/xbaGLmGk1 A065VXCji6SO7x2vBhraVJp5nYhGeBluT7DlUgaw8CrEezZOPUYRyuYl+kCJkWK9LLhC iwrw== X-Gm-Message-State: AOAM532Nut5CHNHFPgvMKTrBfRMogcCg3WFiYR2uADk2XLqb3tiFBIN6 PP4oQafZVy0qyj1dMxfKdH+9m7PhUeiMBaK4 X-Received: by 2002:ac2:4856:: with SMTP id 22mr5918526lfy.638.1629301653187; Wed, 18 Aug 2021 08:47:33 -0700 (PDT) Received: from localhost.localdomain (broadband-188-32-236-56.ip.moscow.rt.ru. [188.32.236.56]) by smtp.googlemail.com with ESMTPSA id j4sm23808ljh.120.2021.08.18.08.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 08:47:32 -0700 (PDT) From: Denis Efremov To: linux-kselftest@vger.kernel.org Cc: Denis Efremov , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Jens Axboe , Jiri Kosina , Willy Tarreau , Masahiro Yamada Subject: [RFC PATCH 2/5] gen_initramfs.sh: use absolute path for gen_init_cpio Date: Wed, 18 Aug 2021 18:46:43 +0300 Message-Id: <20210818154646.925351-3-efremov@linux.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210818154646.925351-1-efremov@linux.com> References: <20210818154646.925351-1-efremov@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use absolute path to call gen_init_cpio. This allows one to use gen_initramfs.sh from any directory. Cc: Masahiro Yamada Signed-off-by: Denis Efremov --- usr/gen_initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/gen_initramfs.sh b/usr/gen_initramfs.sh index 63476bb70b41..2e4a86181c79 100755 --- a/usr/gen_initramfs.sh +++ b/usr/gen_initramfs.sh @@ -244,4 +244,4 @@ if test -n "$KBUILD_BUILD_TIMESTAMP"; then timestamp="-t $timestamp" fi fi -usr/gen_init_cpio $timestamp $cpio_list > $output +"$(dirname "$0")"/gen_init_cpio $timestamp $cpio_list > $output -- 2.31.1