Skip to content

Commit

Permalink
Make ifnames possible to override
Browse files Browse the repository at this point in the history
Signed-off-by: alperak <[email protected]>
  • Loading branch information
alperak committed Apr 10, 2024
1 parent 3f4ceff commit 9f0ddee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes-bsp/bootfiles/rpi-cmdline.bb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ CMDLINE_ISOL_CPUS ?= "${@setup_isolcpus(d)}"
# if the MAC addresses are omitted, random values will be used
CMDLINE_RNDIS ?= ""

# That allows to keep the traditional network interface names
CMDLINE_IFNAMES ?= "net.ifnames=0"

CMDLINE = " \
${CMDLINE_ISOL_CPUS} \
${CMDLINE_DWC_OTG} \
Expand All @@ -57,7 +60,7 @@ CMDLINE = " \
${CMDLINE_PITFT} \
${CMDLINE_DEBUG} \
${CMDLINE_RNDIS} \
net.ifnames=0 \
${CMDLINE_IFNAMES} \
"

do_compile() {
Expand Down

0 comments on commit 9f0ddee

Please sign in to comment.