diff options
author | Jimmy Ho <jimmy.ho@sifive.com> | 2025-06-24 08:14:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-26 11:02:34 +0100 |
commit | 43339218961079edc477e8c54a6b90423a88e4c9 (patch) | |
tree | f22420ded92dfb272291efe23103d6fb6bd5198e /bitbake/lib/bb/fetch2/git.py | |
parent | 6b81d5c64ecff2383a463270f22405351868668a (diff) | |
download | poky-43339218961079edc477e8c54a6b90423a88e4c9.tar.gz |
nfsrootfs: disable warning message if bootargs root parameter have not been defined
we have case that don't define root in bootargs,
if [ ${bootparam_root} != "/dev/nfs" ] will output warning "/init.d/85-nfsrootfs: line 4: [: !=: unary operator expected"
let variable expension result become string to solve this problem
(From OE-Core rev: d50e12e5ae6a72535cacd0f767b1be1f89278f79)
Signed-off-by: Jimmy Ho <jimmy.ho@sifive.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions