Packaging problems with armel-cross-toolchain-base
Loïc Minier
loic.minier at linaro.org
Mon Aug 30 15:52:06 BST 2010
On Mon, Aug 30, 2010, Marcin Juszkiewicz wrote:
> sed -i -e "s/^binutils/armel-cross-toolchain-base/g" debian/changelog; \
> sed -i -e "s/^Source: binutils/Source: armel-cross-toolchain-base/g" debian/control.in; \
> sed -i -e "s/^Source: binutils/Source: armel-cross-toolchain-base/g" debian/control; \
>
> But this does not look right for me and require more changes in linux
> packaging as it uses changelog name as base for package names.
>
> So help me please if you have ideas.
Hmm that's not easy indeed
I guess you could extend the cross-compilation logic in
binutils/gcc-4.5/eglibc/linux etc. to allow outputting the binary
packages with "Source: armel-cross-toolchain-base (x.y-z)" instead of
the default.
You can probably achieve that by creating a control file and a
changelog file which have the right information and passing -c + -l to
dpkg-gencontrol.
Another way, probably less complex, is to extract and repack the .debs
with the proper control information.
Note that because the version of the binaries and the version of your
source differ, your source field needs to be "Source: armel-cross
(yourversion goes here)"
Cheers
--
Loïc Minier
More information about the Linaro-dev
mailing list