Bug 10036 - Buildroot builds Raspbian Jessie headless image presenting incorrect prompt
Summary: Buildroot builds Raspbian Jessie headless image presenting incorrect prompt
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.05
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 20:45 UTC by Paul Tomov
Modified: 2017-07-12 07:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tomov 2017-07-11 20:45:28 UTC
Hi,

After building a new headless raspbian Jessie image from the original Buildroot clone, I flashed it into a CD card and started my Rasberry Pi 3 board with this card. But the prompt in the login stage was "buidroot login:" and not as I expected "rpi3 login:". Please advise me how to define the correct prompt name before building my image.

Thanks,

   Pavel
Comment 1 Paul Tomov 2017-07-11 21:29:17 UTC
In addition when I try to run "sudo" command it reports- sh- sudo not found. Please explain.
Comment 2 Arnout Vandecappelle 2017-07-11 21:49:27 UTC
Please use the mailing list or IRC for questions. The bug tracker is for reporting bugs.

The "buildroot login:" prompt appears because your system is configured with "buildroot" as hostname - this is the default. If you want to change this, look for the BR2_TARGET_GENERIC_HOSTNAME in "make menuconfig".

sudo is not found because you have not installed it. Look for BR2_PACKAGE_SUDO in "make menuconfig".

If all this is not clear, you may want to consult http://buildroot.org/manual.html

By the way, you can't build a raspbian image from Buildroot, there are quite a few Required packages missing and the skeleton is different.
Comment 3 Paul Tomov 2017-07-11 22:48:32 UTC
Hi,

Please explain what packages I need to add to Buildroot image in order to build a full-fledged (including "sudo" available) Rasbian headless image or raspberry Pi 3 and the places to download them from.

The other question is how to add my application files to the Buildroot image and make my application a startup one.

Thank you,

   Pavel
Comment 4 Thomas Petazzoni 2017-07-12 07:51:47 UTC
Paul, I think you are very confused about what Buildroot and what Raspbian are. Buildroot and Raspbian have nothing in common, and trying to "build" Raspbian with Buildroot doesn't make any sense at all.

Buildroot is an embedded Linux build system, to build highly customized Linux systems by cross-compilation. It does not build Linux distributions with binary packages, but just a root filesystem image, with no package management system at all.

Raspbian is based on Debian, and provides a full-featured Linux distribution, with a package management system.

There is simply no way Buildroot can be used to "produce" Raspbian.