[Buildroot] [Bug 7016] Git issues in resulting buildroot tar

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Apr 22 20:02:46 UTC 2014


Hi Brian,

On Mon, Apr 7, 2014 at 8:59 PM, brianclements <brian at brianclements.net> wrote:
> Hi Thomas,
>
[..]

> Let me ask you this, can you possibly just compile a version of busybox with
> x86_64, largefile, and git and link me up with the resulting tar? (only
> probably around 10mb). That might be a quicker way to duplicate this error
> then me trying to learn my way through qemu and introduce another set of
> variables for me to mess up. That way I can see if a working version is even
> possible when implemented with Docker and we can possibly get rid of that
> variable as well, especially if your image works for you.
>

I now took the time to generate such an image.
I started from the qemu_x86_64 defconfig, and changed:
- use of external toolchain rather than buildroot-built toolchain (to
save built time). This external toolchain includes largefile support.
- add git, dhcpcd (I needed this to get proper networking from qemu)

When running the image, I did:
- login (root)
- dhcpcd (get ip address)
- echo 'nameserver 8.8.8.8' > /etc/resolv.conf  (set up DNS with
Google's public DNS)
- git clone git://github.com/EllisLab/CodeIgniter

This works fine. I had to increase the size of the ext2 rootfs (used
in qemu instead of rootfs.tar) to get enough space, but other than
that no problems.

The rootfs.tar is 15M, the bzImage (kernel) is 2.2M. If you have a
place where I can upload it to, let me know.

The defconfig is as below:

BR2_x86_64=y
BR2_DL_DIR="/home/tdescham/repo/contrib/dl"
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.5"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.13.config"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_GIT=y
BR2_PACKAGE_DHCPCD=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_BLOCKS=200000

Best regards,
Thomas


More information about the buildroot mailing list