Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
B
br-bangBMC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • BangBMC Firmware
  • br-bangBMC
  • Issues
  • #1

Closed
Open
Opened Mar 25, 2020 by Merlin Büge@mx08
  • Report abuse
  • New issue
Report abuse New issue

Target hostnames contain underscores

Hi,

I was just reading the buildroot defconfigs configs/blackbird-bmc_defconfig and configs/talos-bmc_defconfig and noticed that the option BR2_TARGET_GENERIC_HOSTNAME contains an underscore in both files:

  • BR2_TARGET_GENERIC_HOSTNAME="blackbird_bangbmc"
  • BR2_TARGET_GENERIC_HOSTNAME="talos_bangbmc"

As far as I'm aware, underscores are not allowed in hostnames, see e.g. https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames or the man page hostname(7).

I'm still learning buildroot and I don't know exactly what the option BR2_TARGET_GENERIC_HOSTNAME does, but its name suggests it's used to specify the hostname on the target platform :)

If that's the case, what do you think about replacing the underscore with a hyphen, so that the hostnames become:

  • blackbird-bangbmc
  • talos-bangbmc
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: bangbmc-firmware/br-bangbmc#1

Powered by Integricloud