From patchwork Wed Jun 8 06:28:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 631983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rPdmz13Wbz9sCg for ; Wed, 8 Jun 2016 16:28:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=nwo7wpAS; dkim-atps=neutral Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rPdmy6wfZzDqV3 for ; Wed, 8 Jun 2016 16:28:50 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=nwo7wpAS; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Received: from mendozajonas.com (mendozajonas.com [188.166.185.233]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rPdmY3smkzDq68 for ; Wed, 8 Jun 2016 16:28:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=nwo7wpAS; dkim-atps=neutral Received: from skellige.ozlabs.ibm.com (unknown [122.99.82.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: sam@mendozajonas.com) by mendozajonas.com (Postfix) with ESMTPSA id 33AED143F75 for ; Wed, 8 Jun 2016 14:28:27 +0800 (SGT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mendozajonas.com; s=mail; t=1465367307; bh=VowstGLqExYID3Cy82Tqzbkrha+QN1GodB+PDOPYis0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nwo7wpASITqqHY/NvB87X6Nm0Cd06QzFEKtu/gfnHgK9TjU7vcON6IYsKSD0eW4a3 sLq+w0Ify4XdchHZU659hEVBbaak/ldw/0SIHiYgEbLhgdtXTN7l4S1SywwdJ25GRZ Q0cMpDPpl3A0rhkrJjYQVFXqE3isbMCfy+5INN/s= From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH 4/6] ui/common: Set current console on boot command Date: Wed, 8 Jun 2016 16:28:10 +1000 Message-Id: <20160608062812.14480-5-sam@mendozajonas.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160608062812.14480-1-sam@mendozajonas.com> References: <20160608062812.14480-1-sam@mendozajonas.com> X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Samuel Mendoza-Jonas --- ui/common/discover-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index 71ef70b..6247dd0 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -312,6 +312,7 @@ static void create_boot_command(struct boot_command *command, command->initrd_file = data->initrd; command->dtb_file = data->dtb; command->boot_args = data->args; + command->tty = ttyname(STDIN_FILENO); } int discover_client_boot(struct discover_client *client,