$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}
Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain:
| # Knife Configuration File. | |
| # | |
| # This is a Ruby DSL to set configuration parameters for Knife's | |
| # general options. The default location for this file is | |
| # ~/.chef/knife.rb. If multiple Chef repositories are used, | |
| # per-repository configuration files can be created. A per repository | |
| # configuration file must be .chef/knife.rb in the base directory of | |
| # the Chef repository. For example, | |
| # | |
| # ~/Development/chef-repo/.chef/knife.rb |
| #!/bin/bash | |
| set -e # exit on error | |
| ### README | |
| # * installs your desired ruby versions using rbenv | |
| # ** including openssl (needed by bundler) | |
| # ** including sqlite (probably needed for rails apps) | |
| # | |
| # Before you start: | |
| # * put ssh-keys in place |
| $ brew install libmagic | |
| $ brew link libmagic (if the link is already created is going to fail, don't worry about that) | |
| $ env ARCHFLAGS="-arch x86_64" gem install ruby-filemagic -- --with-magic-include=/usr/local/include --with-magic-lib=/usr/local/lib/ |
| #!/bin/bash | |
| # CentOS rbenv system wide installation script | |
| # Forked from https://gist.github.com/1237417 | |
| # Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
| # Install pre-requirements | |
| yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
| make bzip2 autoconf automake libtool bison iconv-devel git-core |
| #!/usr/bin/env ruby | |
| # An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's | |
| # HTTP implementation. | |
| # | |
| # Author: Jon Maken | |
| # License: 3-clause BSD | |
| # Revision: 2012-03-25 23:01:19 -0600 | |
| require 'net/http' | |
| require 'net/https' if RUBY_VERSION < '1.9' |
| fetch_with_curl() { | |
| local url=$1 | |
| local timeout=${2:-10} | |
| url="$url?q=$(date +'%s')" | |
| curl -s -w "%{http_code} %{speed_download} %{size_download} %{time_namelookup} %{time_connect} %{time_total}\n" \ | |
| -H "Pragma: no-cache" -H "Cache-Control: no-cache" -H "Expires: 0" \ | |
| -o /dev/null --connect-timeout $timeout $url | |
| } |
| # Put this in ~/chef-repo/data_bags/aws/main.rb | |
| # Upload it to the Chef Server with: | |
| # | |
| # knife data bag item rb aws main.rb | |
| # | |
| # Export the two AWS values for your account. | |
| { | |
| 'id' => "main", | |
| 'aws_access_key_id' => ENV['AWS_ACCESS_KEY_ID'], |
(The below text is licensed with CC0, which means that if you want to use or translate it, that is OK by me.)
Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺
Locally, I'm at this commit:
$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <[email protected]>
Date: Sun Apr 15 16:35:03 2012 +0200
| #include <ftw.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int callback(const char *name, const struct stat *status, int type); | |
| int main(int argc, char *argv[]) | |
| { | |
| char *root = "."; |