Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
65caddc4
Commit
65caddc4
authored
Jul 28, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed BB_FILENAME
parent
6a307825
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
elphel-misc-functions.bbclass
classes/elphel-misc-functions.bbclass
+2
-1
No files found.
classes/elphel-misc-functions.bbclass
View file @
65caddc4
...
...
@@ -27,7 +27,8 @@ def revision_update(path,file):
# import getpass
pef = None # , preexec_fn=pefuid
if (os.getuid() == 0):
bb.warn(d.getVar("BB_FILENAME") + " tried to access '" + path + "' as root, demoting to a normal user")
# bb.warn(d.getVar("BB_FILENAME") + " tried to access '" + path + "' as root, demoting to a normal user")
bb.warn("Tried to access '" + path + "' as root, demoting to a normal user")
#uname = os.getlogin()
# uname = getpass.getuser()
# with open("/etc/passwd") as f:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment