From owner-freebsd-cloud@freebsd.org Mon Jan 1 22:46:10 2018 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8588EE87FF5 for ; Mon, 1 Jan 2018 22:46:10 +0000 (UTC) (envelope-from 01000160b3e11382-967ccc76-185e-434e-a28e-57741781aaaa-000000@amazonses.com) Received: from a8-237.smtp-out.amazonses.com (a8-237.smtp-out.amazonses.com [54.240.8.237]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4814722CB for ; Mon, 1 Jan 2018 22:46:09 +0000 (UTC) (envelope-from 01000160b3e11382-967ccc76-185e-434e-a28e-57741781aaaa-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ae7m2yrxjw65l2cqdpjxuucyrvy564tn; d=tarsnap.com; t=1514846360; h=Subject:To:References:Cc:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=vkBOQUiCp9DqW/5YmsweSYMLPcDWyMKQu7UNKbo9LG4=; b=jhuMCf/Tln+0eWTM5cnuMDxlEK5STJ86j99MxLzMvemDKiamlxK2gzxLpXqNO/SG A31QEog4IdC6Jj3CANR+5wwffaja4mS857GH/0Jh3vaebOE6qWA5u9uMtzXDL/RDYOn sZc+f/UYeIIRGUl2Vcmsnovm/78g96OVSLRwg6jQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1514846360; h=Subject:To:References:Cc:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=vkBOQUiCp9DqW/5YmsweSYMLPcDWyMKQu7UNKbo9LG4=; b=MRx/c8Q0D/c0LeWRxbdSOXYfsDIOMGGjL2yOnn+sw+6PmbyMeutqQDRteAnvKz0V qmV+oBlJCOEji3uSfJRP0XrVVOfq88Sne46EwD80mSN6JkHaqKGaXDQlvk2MoBh7K8v 5us5hP8qA7cZoa2g/9f8BGTu7XjPenNhhOKlFh7g= Subject: Re: AMI building AMI To: Rafal Lukawiecki References: <085D225B-2E99-4540-B693-223087B14A27@rafal.net> <0100016099578ea7-02da1d5c-997d-47be-9cd8-dc6b75bbeda6-000000@email.amazonses.com> <8BCB67B8-DE56-491A-8E6A-95AFB83F71D6@rafal.net> <0100016099671dff-32d986bf-3979-40a3-accf-4d17c2020403-000000@email.amazonses.com> <8538BFB9-B82C-4520-ADB3-E25040EA1B30@rafal.net> <01000160a0283ad5-12b330d3-3f4b-43ea-9cdc-2524f5f42f4a-000000@email.amazonses.com> <0C1308D4-AFD6-4216-83A6-4687157EC8D3@rafal.net> Cc: freebsd-cloud@freebsd.org From: Colin Percival Message-ID: <01000160b3e11382-967ccc76-185e-434e-a28e-57741781aaaa-000000@email.amazonses.com> Date: Mon, 1 Jan 2018 22:39:20 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SES-Outgoing: 2018.01.01-54.240.8.237 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 22:46:10 -0000 On 01/01/18 11:00, Rafal Lukawiecki wrote: > On 1 Jan 2018, at 17:42, Rafal Lukawiecki wrote: >> PS. Could it be as easy as make DESTDIR=/mnt installkernel in the config init? That is indeed how to install the kernel you built into the right place. > I went ahead and tried the script. [...] Maybe a dumb question, but do you really need to use a configinit script for this? I know I showed that as an example in my blog post, but I expected that the main way the AMI builder would be used would be by SSHing in and setting things up "manually". -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid