3099
Comment: Test
|
3563
|
Deletions are marked like this. | Additions are marked like this. |
Line 91: | Line 91: |
== Using usbfoo on Debian == === What is USBfoo? === * Its a small board with an AVR AT90USB162 and a USB interface (kernel concepts: http://shop.kernelconcepts.de/product_info.php?cPath=1_27&products_id=102). * Programmable with LUFA (Lightweight USB Framework for AVRs, formerly known as MyUSB) http://www.fourwalledcubicle.com/LUFA.php. * Note to myself: file rfp / itp for lufa. * Needs: {{{ aptitude install avr-gcc dfu-programmer avr-libc }}} |
howto build the build environment
- install cowbuilder / git-buildpackage / debootstrap
apt-get install cowbuilder git-buildpackage debootstrap
- Create cowbuilder image
sudo cowbuilder --create --basepath=/var/cache/pbuilder/base-sid.cow --mirror http://ftp.de.debian.org/debian --distribution sid
- Try to login (and out if it works):
sudo cowbuilder --login --basepath=/var/cache/pbuilder/base-sid.cow
- Copy gbp-cowbuilder-sid from the docs to the /usr/local/bin/. (And copy it as gbp-cowbuilder-lenny as well)
sudo cp /usr/share/doc/git-buildpackage/examples/gbp-cowbuilder-sid /usr/local/bin/
- Create pbuilder configuration as needed from gbp-cowbuilder-XXX. I want to build for sid and lenny, so i create two configurations. Copy the original pbuilderrc and add a BASEPATH=
cp /etc/pbuilder/pbuilderrc /etc/pbuilder/pbuilderrc.sid
# /etc/pbuilder/pbuilderrc.sid ... BASEPATH=/var/cache/pbuilder/base-sid.cow
# /etc/pbuilder/pbuilderrc.lenny ... BASEPATH=/var/cache/pbuilder/base-lenny.cow
- Configure git-build-package in ~/.gbp.conf (fetch Guido's gbp.conf and change the keyid)
wget https://honk.sigxcpu.org/piki/projects/git-buildpackage/gbp.conf mv gbp.conf ~/.gbp.conf
- Add aliases to the .bashrc
alias gbp-lenny='nice -19 git-buildpackage --git-builder=gbp-cowbuilder-lenny' alias gbp-sid='nice -19 git-buildpackage --git-builder=gbp-cowbuilder-sid'
Schmierzettel for jboss-packaging
Notiz
* Im Master fehlen: antlr, aopalliance * Im Master zuviel: apache-xmlsec, commons-logging, console, log4j, sun-servlet, xml-apis (allerdings alles nur component-info.xml, keine jars in den Verzeichnissen)
package jbosass5
- Importing the new upstream tarball to the branch "upstream_jboss.org"
$ git-import-orig --upstream-branch=upstream_jboss.org --debian-branch=upstream_jboss.org --upstream-tag=upstream_jboss.org/5.1.0.GA --upstream-version=5.1.0.GA ../jboss-5.1.0.GA-src.tar.gz
Checkout branch "upstream", merge the "upstream_jboss.org" and move the thirdparty/ directory out (we need this later )
git checkout upstream git merge upstream_jboss.org cp thirdparty/ ../ git rm -r thirdparty
- Tag the "upstream_jboss.org" and "upstream"
Wissenschon'
- Merge upstream to master and build package
git checkout master git merge upstream git-buildpackage
package jbosass5-libs
- Rename and pack the copied thirdparty-directory
mkdir jbossas-libs mv thirdparty jbossas-libs/libs tar -czf jbossas5-libs_5.1.0.GA.tar.gz jbossas-libs/
- Import the tarball to the branch "upstream_jboss.org"
git-import-orig --debian-branch=upstream_jboss.org --upstream-branch=upstream_jboss.org --upstream-tag=upstream_jboss.org/5.1.0.GA --upstream-version=5.1.0.GA ../jbossas5-libs_5.1.0.GA.tar.gz
- Merge "upstream_jboss.org" to "upstream"
git checkout upstream git merge upstream_jboss.org
Using usbfoo on Debian
=== What is USBfoo? === * Its a small board with an AVR AT90USB162 and a USB interface (kernel concepts: http://shop.kernelconcepts.de/product_info.php?cPath=1_27&products_id=102). * Programmable with LUFA (Lightweight USB Framework for AVRs, formerly known as MyUSB) http://www.fourwalledcubicle.com/LUFA.php. * Note to myself: file rfp / itp for lufa. * Needs:
aptitude install avr-gcc dfu-programmer avr-libc