Code Monkey home page Code Monkey logo

sd-factory's Introduction

SD-Factory
==========

Build one, or build many root filesystem SD cards for your Bug.

Prepimage
---------
The first thing you do is run the prepimage command. prepimage with no args
will look at the Bug internal and external build stores and tell you what the
latest Subversion revision is included. Then prepimage will either be run in
buildbot mode for external downloads, or you specify which revision to pull and
which build tree to pull it from (incremental, full or accenture).

You have to run prepimage with root privledges. Sudo works fine. The reason is
the tarball is expanded to get the md5sum of every file for later verification
and when it is untarred, you have to be root for everything to get written
properly

prepimage [Build Number] [full|incr|acct]
prepimage with no arguments will tell you the latest build number for each tree
	full will pull from the full builds
	incr will pull from the incremental builds
	acct will pull from the Accenture specific builds
prepimage --bbot
	will pull the latest from the external site

# Examples
sudo ./prepimage 12280
sudo ./prepimage 12280 incr
sudo ./prepimage --bbot

sd_write.sh
-----------
sd_write.sh is the writing engine of SD-Factory. This script takes the target
device, the name of the file downloaded by prepimage ([revision #].rootfs.tar)
and a volume label prefix.

sudo ./sd_write.sh /dev/sdb 12106.rootfs.tar FULL12106

if sd_write encounters any issues, errorlognotify.sh will be called

I'm tired, so I'm stopping here for now. #buglabs on freenode for problems

Coming Soon

sd_factory.sh
sd_write-ext3.sh
errorlognotify.sh
irc_message.sh

sd-factory's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.