[Buildroot] [PATCH 2/2] cdebootstrap: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 30 19:02:25 UTC 2016


Hello,

On Fri, 18 Mar 2016 12:00:43 +0100, Benoît Allard wrote:

> diff --git a/package/cdebootstrap/cdebootstrap.mk b/package/cdebootstrap/cdebootstrap.mk
> new file mode 100644
> index 0000000..ca140da
> --- /dev/null
> +++ b/package/cdebootstrap/cdebootstrap.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# cdebootstrap
> +#
> +################################################################################
> +
> +# Not the latest version, rather from debian-stable
> +CDEBOOTSTRAP_VERSION = 0.6.4
> +CDEBOOTSTRAP_SOURCE = cdebootstrap_$(CDEBOOTSTRAP_VERSION).tar.gz
> +CDEBOOTSTRAP_SITE = http://snapshot.debian.org/archive/debian/20141116T035859Z/pool/main/c/cdebootstrap/
> +CDEBOOTSTRAP_LICENSE = GPLv2

License is GPLv2+.

> +CDEBOOTSTRAP_LICENSE_FILES = debian/copyright
> +CDEBOOTSTRAP_DEPENDENCIES = libcurl libdebian-installer zlib bzip2 host-pkgconf xz

I think you should pass --with-debian-architecture=NAME, otherwise it
will use dpkg-architecture.

To make sure that it works fine, I think you should try to build
libdebian-installer + cdebootstrap targetting an ARM architecture, on a
Linux machine that doesn't use Debian. You can for example use an Arch
Linux or Gentoo chroot to that effect.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list