Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev and qlist/qfile
Date: Tue, 20 Dec 2011 15:42:37
Message-Id: 201112201042.02941.vapier@gentoo.org
In Reply to: Re: [gentoo-embedded] crossdev and qlist/qfile by Joakim Tjernlund
On Tuesday 20 December 2011 03:31:37 Joakim Tjernlund wrote:
> I am trying to create a binary package of my cross env, inkluding the > sysroot so I can install it on all dev. machines without needing to > rebuild everything. This is what I got so far: > TARGET="powerpc-tmp_softfloat-linux-gnu" > MY_ROOT="/usr/${TARGET}" > mkdir -p /tmp/${TARGET} > qlist --quiet --all ${TARGET} > /tmp/${TARGET}/cross-tools > ROOT=${MY_ROOT} qlist --quiet --all > /tmp/${TARGET}/pkgs > #prefix all paths with our target root prefix > sed -i s:/:${MY_ROOT}/: /tmp/${TARGET}/pkgs > tar czf ${TARGET}.tgz -T /tmp/${TARGET}/cross-tools \ > -T /tmp/${TARGET}/pkgs > > This will create a .tgz with the whole cross env. which can be installed > on all our dev. machines. > > If you konw a better way, please let me know.
export ROOT=/ PKGDIR=/pkgs/${CTARGET}/cross-tools quickpkg `qlist -IC cross-${CTARGET}` export ROOT=/usr/${CTARGET} PKGDIR=/pkgs/${CTARGET}/pkgs quickpkg `qlist -IC` -mike

Attachments

File name MIME type
signature.asc application/pgp-signature