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
d9ccf3e3
Commit
d9ccf3e3
authored
Jul 28, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
included recipe name in the warning message
parent
f291514e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
elphel-misc-functions.bbclass
classes/elphel-misc-functions.bbclass
+1
-1
No files found.
classes/elphel-misc-functions.bbclass
View file @
d9ccf3e3
...
@@ -27,7 +27,7 @@ def revision_update(path,file):
...
@@ -27,7 +27,7 @@ def revision_update(path,file):
# import getpass
# import getpass
pef = None # , preexec_fn=pefuid
pef = None # , preexec_fn=pefuid
if (os.getuid() == 0):
if (os.getuid() == 0):
bb.warn(
"Tried to access '"+path+
"' as root, demoting to a normal user")
bb.warn(
BB_FILENAME + " tried to access '" + path +
"' as root, demoting to a normal user")
#uname = os.getlogin()
#uname = os.getlogin()
# uname = getpass.getuser()
# uname = getpass.getuser()
# with open("/etc/passwd") as f:
# 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