Bug 10126

Summary: Cannot run bash from Buildroot 2017.08-git image prompt
Product: buildroot Reporter: Paul Tomov <ptomov>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: critical CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Paul Tomov 2017-07-24 21:22:53 UTC
Hi,

I just built a Raspberry Pi3 headless image from https://github.com/raspberrypi/linux.git and when I ran 

cat /etc/os-release 

it shows:

PRETTY_NAME=Buildroot 2017.08-git

But when try to run bash from command prompt, it reports:

# bash
-sh: bash: not found

I need to run bash for testing of my scripts.Please advise me if I have to make some settings in menuconfig or something else to make the bash work. Also, how to make sure that the bash works for my scripts? 

The other question is: how I can change the PRETTY_NAME to be a custom one?

Thanks,

   Paul
Comment 1 Paul Tomov 2017-07-24 21:26:51 UTC
The Buildroot version is buildroot-2017.05.1.
Comment 2 Thomas Petazzoni 2018-01-14 13:43:40 UTC
How this is a bug ?

If Bash is not built as part of your Buildroot system, then you don't have bash. Enable bash in your Buildroot configuration and rebuild.

The os-release file is generated by the main Buildroot Makefile. You can tweak the os-release file in a post-build script.