From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56114138359 for ; Wed, 21 Oct 2020 00:24:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B54BE0AB6; Wed, 21 Oct 2020 00:24:48 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95086E0AB6 for ; Wed, 21 Oct 2020 00:24:48 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id a200so402145pfa.10 for ; Tue, 20 Oct 2020 17:24:48 -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=Ec+Nppy+uVY1nY/K1/0+iEsFBezHRN9Rc9+S3S3HF9g=; b=g/fIt22YukGtcCHJdkSFidB2Eaxq9nBZqr0HJ+QYbam4MLgCC+0uapmwVzN75hWRVH 17OSpfqRH5dimzSWzWqFoP3BYcSuuRDPrMB35O4MH1Y2pGOoCVDwMG1BrNQg/qvWf04w wHlanq4xZkh5l3ZIT1emnoBe8z3QTptawkGk9RMnfUNA4tj0egGh6a5nQV65hPOIBWAw lo+iDbccbDQUy+c398ZPPvS3o/hxNrJNJ+Ry6BPlc5cdDnK6bu8T56pMm4f7Yy5OC24+ Q1/e9kWxDV6BYV561FqtvUDzBFS7LFMF7xGyLXszaIKqH3gKTCv6vvgzqc/SHwrm3c/b HHLg== X-Gm-Message-State: AOAM533SIkmAdA/dqdNC2ZfpywLmoiAuvleISXOCTPAyN+3GZMM1aEyY C2aEh1wHB1XdH4uS5L7lkx7EvHgPqKbDtQ== X-Google-Smtp-Source: ABdhPJw2vUPKuKSXqeTx6N+j011s7o8qlNpJPk0IMODqJCvGI5q0xous8d3BewjErh0Vd9lbK7GCPw== X-Received: by 2002:a63:f54c:: with SMTP id e12mr701011pgk.415.1603239887349; Tue, 20 Oct 2020 17:24:47 -0700 (PDT) Received: from localhost ([108.161.26.224]) by smtp.gmail.com with ESMTPSA id s187sm286384pgb.54.2020.10.20.17.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 17:24:46 -0700 (PDT) From: Matt Turner To: gentoo-catalyst@lists.gentoo.org Cc: Matt Turner Subject: [gentoo-catalyst] [PATCH 29/37] targets: Drop warning about no cdtar Date: Tue, 20 Oct 2020 17:23:36 -0700 Message-Id: <20201021002344.378131-29-mattst88@gentoo.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201021002344.378131-1-mattst88@gentoo.org> References: <20201021002344.378131-1-mattst88@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 20bf5660-ebe7-4e7e-8c75-63f3b292622a X-Archives-Hash: 4e0c0426a1321e38bd6aa41b131f0df5 Most platforms use grub now and don't need a cdtar. Also use double brackets while we're here. Signed-off-by: Matt Turner --- targets/support/bootloader-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index a82b69dc..ea18f736 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -4,12 +4,8 @@ source ${clst_shdir}/support/functions.sh # $1 is the destination root -if [ -n "${clst_cdtar}" ] -then +if [[ -n ${clst_cdtar} ]]; then extract_cdtar $1 -else - #While this seems a little crazy, it's entirely possible the bootloader is just shoved in isoroot overlay - echo "No cdtar and unable to auto generate boot loader files... good luck" fi extract_kernels $1/boot -- 2.26.2