Skip to content

busybox build giving problems #2

@protectivedad

Description

@protectivedad

I built just the kernel, mtdutils and busybox (as static) for use as an initramfs that switch roots to my network rootfs. I did this no problem using the RidgeRun tools the leapster and busybox source 1.20.2 from busybox.net.

I was porting this over to use OpenLF (great work by the way). I find that at the point that the init script, using my init ram busybox, hands off to the network share busybox as the "real" init it resets. Doesn't even get to the inittab.

The net busybox is the same compiled version as the initram busybox retrieved from the output/target directory. Exact same. And it was compiled statically. In fact the network share is a copy of the build/target.

After some digging I found the file
output/build/busybox-1.20.2/busybox
is not the same as
output/target/bin/busybox

If I use the output/build/busybox-1.20.2/busybox on my netshare the system boot correctly, replace with output/target/bin/busybox it busts. Very reproducible.

Out of OpenLF-Buildroot the make install goes through strips crypt and produces:
busybox_unstripped (large)
busybox (smaller) = busybox (installed)

In OpenLF-Buildroot make busybox-rebuild goes through strips crypt (well says it does anyway) and produces:
busybox_unstripped (large) = busybox
busybox (installed smaller)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions