From patchwork Wed Sep 9 22:01:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 516049 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 9590614028F for ; Thu, 10 Sep 2015 08:02:02 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=AlQAb420; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B85E694D7A; Wed, 9 Sep 2015 22:02:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RyYlXQQaOy3r; Wed, 9 Sep 2015 22:02:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CD07394D58; Wed, 9 Sep 2015 22:02:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0BA651C1606 for ; Wed, 9 Sep 2015 22:01:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 04185918BD for ; Wed, 9 Sep 2015 22:01:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u+5TZXJwpfGY for ; Wed, 9 Sep 2015 22:01:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1D1ED8AFF7 for ; Wed, 9 Sep 2015 22:01:58 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so6958832wic.1 for ; Wed, 09 Sep 2015 15:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=sisygaQrn9LkEjl5MOrpmT/KRu4Y8Syc42AfQSUUod4=; b=AlQAb420AFJvm/+etmDSNxLOWIAf0xmHxrouTqPKuuj+5JI5TCpyuDZ7ijVI7x2gTn dMPfnzo9orxipTJq36cXUIIl5sszS6q+i4uGAI2Fr0FAhZgcQH3aLMfpcAdhUGCTsVlv 3uE6ovWV9ogqpOLcoO9wG8fmXp/z0UplGjT/mU1+60O7C54TxgSqkcmwbXs7Kz1ua0Qw rwLWY4cswOGgWlRxxvWBzv/ZJdYP9C58zmum+ilu0pl0OTXZhXsEFF5Avfwoodl7YWDI CgaALyBfJ0M2XKYej0la0hUcM1VnUXcDsLRPgGQiLJDNHUh6W8LaIq0CDFoSH6JcXzPl BLVA== X-Received: by 10.180.87.71 with SMTP id v7mr57852913wiz.21.1441836116786; Wed, 09 Sep 2015 15:01:56 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id fn8sm5962026wib.2.2015.09.09.15.01.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Sep 2015 15:01:55 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 10 Sep 2015 00:01:47 +0200 Message-Id: <1441836107-17689-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] RFC: Adding Vagrant file for provisioning X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds a Vagrant file to buildroot. With this file you can provision a complete buildroot developing environment in minutes on all major platforms. Signed-off-by: Angelo Compagnucci --- This patch is a tentative approach to add a standard and official Vagrant file to buildroot. With this file you can setup an isolated build environment based on Vagrant on all major platforms. The file is fairly basic right now, it sets up correct Ubuntu version to download and install required packages for buildroot. I'm open to suggestions and critics! docs/manual/getting.txt | 7 +++++++ docs/website/download.html | 9 +++++++++ support/misc/Vagrantfile | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 support/misc/Vagrantfile diff --git a/docs/manual/getting.txt b/docs/manual/getting.txt index 3437f93..5b96928 100644 --- a/docs/manual/getting.txt +++ b/docs/manual/getting.txt @@ -10,6 +10,13 @@ November. Release numbers are in the format YYYY.MM, so for example Release tarballs are available at http://buildroot.org/downloads/[]. +If you want an isolated developing environment with Vagrant, paste this +line in your terminal: + +-------------------- +wget http://git.buildroot.net/buildroot/tree/support/misc/Vagrantfile; vagrant up +-------------------- + If you want to follow development, you can use the daily snapshots or make a clone of the Git repository. Refer to the http://buildroot.org/download[Download page] of the Buildroot website diff --git a/docs/website/download.html b/docs/website/download.html index ef87b1c..ece0f19 100644 --- a/docs/website/download.html +++ b/docs/website/download.html @@ -32,6 +32,15 @@ This and earlier releases (and their PGP signatures) can always be downloaded fr

+

+If you want an isolated developing environment with Vagrant, paste this +line in your terminal: + +-------------------- +wget http://git.buildroot.net/buildroot/tree/support/misc/Vagrantfile; vagrant up +-------------------- +

+ You can also obtain daily snapshots of the latest Buildroot source tree if you want to follow development, but cannot or do not wish to use Git. diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile new file mode 100644 index 0000000..e8162f9 --- /dev/null +++ b/support/misc/Vagrantfile @@ -0,0 +1,42 @@ +################################################################################ +# +# Vagrant file +# +################################################################################ + +### Change here for more memory/cores or different version ### +VM_MEMORY=1024 +VM_CORES=1 +BUILDROOT_VERSION="2015.08.1" + +$sudo_script = <